/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(26, 31, 46, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-title::before {
    content: "🍪";
    font-size: 20px;
}

.cookie-consent-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.cookie-consent-details {
    margin-top: 8px;
}

.cookie-details-toggle {
    background: none;
    border: none;
    color: #4a6cf7;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-details-toggle:hover {
    color: #6b8cff;
}

.cookie-details-content {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-details-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin: 0 0 8px 0;
}

.cookie-details-content ul {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.cookie-details-content li {
    margin-bottom: 4px;
}

.cookie-details-content .cookie-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #4a6cf7 0%, #3a5bd9 100%);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #5a7cff 0%, #4a6be9 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-title {
        font-size: 16px;
    }

    .cookie-consent-description {
        font-size: 13px;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column-reverse;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .cookie-consent-banner {
        background: #000000;
        border-top: 2px solid #ffffff;
    }

    .cookie-consent-description,
    .cookie-details-content p,
    .cookie-details-content ul {
        color: #ffffff;
    }

    .cookie-btn-reject {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }

    .cookie-btn {
        transition: none;
    }
}
