/* cookie_manager.css - Ultra-thin, Light Premium Strip */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

.bp-cookie-overlay {
    display: none;
}

.bp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    color: #333;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 20px;
}

.bp-cookie-banner.active {
    transform: translateY(0);
}

#bp-cookie-banner .bp-cookie-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

#bp-cookie-banner .bp-cookie-title {
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

#bp-cookie-banner .bp-cookie-desc {
    font-size: 0.8rem !important;
    color: #555 !important;
    margin: 0 !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

#bp-cookie-banner .bp-cookie-desc a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

#bp-cookie-banner .bp-cookie-desc a:hover {
    text-decoration: underline;
}

#bp-cookie-banner .bp-cookie-options {
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 16px;
}

#bp-cookie-banner .bp-cookie-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

#bp-cookie-banner .bp-cookie-toggle-name {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #444 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    margin: 0 !important;
}

/* Switch UI - Ultra Slim */
#bp-cookie-banner .bp-switch {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 16px;
}

#bp-cookie-banner .bp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#bp-cookie-banner .bp-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .3s;
    border-radius: 24px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.bp-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

#bp-cookie-banner input:checked + .bp-slider {
    background-color: #007aff;
}

#bp-cookie-banner input:checked + .bp-slider:before {
    transform: translateX(12px);
}

#bp-cookie-banner input:disabled + .bp-slider {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

#bp-cookie-banner input:disabled + .bp-slider:before {
    background-color: #ccc;
    box-shadow: none;
}

#bp-cookie-banner .bp-cookie-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#bp-cookie-banner .bp-btn-cookie {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    white-space: nowrap;
}

#bp-cookie-banner .bp-btn-cookie-outline {
    background: transparent;
    color: #555;
    border: 1px solid #ddd;
}

#bp-cookie-banner .bp-btn-cookie-outline:hover {
    background: #f5f5f5;
    color: #111;
}

#bp-cookie-banner .bp-btn-cookie-solid {
    background: #111;
    color: #fff;
}

#bp-cookie-banner .bp-btn-cookie-solid:hover {
    background: #333;
}

@media (max-width: 900px) {
    #bp-cookie-banner.bp-cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 18px;
        gap: 12px;
        border-radius: 14px 14px 0 0;
    }
    #bp-cookie-banner .bp-cookie-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 4px;
    }
    #bp-cookie-banner .bp-cookie-title {
        font-size: 1rem !important;
    }
    #bp-cookie-banner .bp-cookie-options {
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        padding-bottom: 12px;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    #bp-cookie-banner .bp-cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    #bp-cookie-banner .bp-btn-cookie {
        padding: 10px;
        font-size: 0.85rem !important;
    }
}
