/* Cookie Consent Banner Styles */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: #0071E3;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cookie-text a:hover {
    opacity: 0.7;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.cookie-btn-accept {
    background: #0071E3;
    color: white;
}

.cookie-btn-accept:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: #6e6e73;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-btn-decline:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cookie-btn-settings {
    background: transparent;
    color: #0071E3;
    border: 1px solid #0071E3;
}

.cookie-btn-settings:hover {
    background: rgba(0, 113, 227, 0.08);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.2);
}

.cookie-settings-header {
    margin-bottom: 24px;
}

.cookie-settings-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.cookie-settings-header p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
}

.cookie-category {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.cookie-toggle {
    position: relative;
    width: 48px;
    height: 28px;
    background: #d2d2d7;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #0071E3;
}

.cookie-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(20px);
}

.cookie-category-description {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.6;
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cookie-settings-actions button {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-settings-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .cookie-text h3 {
        font-size: 16px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-settings-header h2 {
        font-size: 20px;
    }
}
