/* ============================================
   COOKIE CONSENT POPUP - GDPR Compliance
   ============================================ */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1A1A1A;
    border-top: 1px solid #333;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-text h4::before {
    content: '🍪';
    font-size: 1.2rem;
}

.cookie-consent-text p {
    color: #AAAAAA;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-text a {
    color: #D4A835;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #F7E7B0;
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #D4A835 0%, #C9A227 100%);
    color: #0A0A0A;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

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

.cookie-btn-settings:hover {
    background: #333;
    border-color: #666;
}

/* Cookie Settings Modal */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.cookie-settings-modal {
    background: #1A1A1A;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #333;
}

.cookie-settings-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #333;
}

.cookie-settings-header h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

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

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

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

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

.cookie-category-header h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cookie-category p {
    color: #AAAAAA;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #D4A835 0%, #C9A227 100%);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px;
    }

    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .cookie-settings-modal {
        max-height: 90vh;
    }
}
