/* Cookie Consent Styles */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1c1c1e;
    border-top: 1px solid #38383a;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

.cookie-consent-text h3 {
    margin: 0 0 8px 0;
    color: #f5f5f7;
    font-size: 1.1em;
}

.cookie-consent-text p {
    margin: 0 0 8px 0;
    color: #86868b;
    font-size: 0.95em;
    line-height: 1.4;
}

.cookie-link {
    color: #0A84FF;
    text-decoration: none;
    font-size: 0.9em;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-primary {
    background-color: #0A84FF;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #0077ED;
}

.cookie-btn-secondary {
    background-color: #38383a;
    color: #f5f5f7;
    border: 1px solid #38383a;
}

.cookie-btn-secondary:hover {
    background-color: #252527;
    border-color: #252527;
}

/* Cookie Manager Modal */

#cookie-manager-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-manager-content {
    background-color: #1c1c1e;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.cookie-manager-content h3 {
    margin: 0 0 20px 0;
    color: #f5f5f7;
    font-size: 1.3em;
}

.cookie-categories {
    margin: 20px 0 30px 0;
}

.cookie-category {
    margin: 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #38383a;
}

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

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #f5f5f7;
    font-size: 1em;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category p {
    margin: 8px 0 0 28px;
    color: #86868b;
    font-size: 0.9em;
    line-height: 1.4;
}

.cookie-manager-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.cookie-manager-buttons .cookie-btn {
    flex: 1;
}

/* Responsive */

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    #cookie-consent-banner {
        padding: 15px;
    }

    .cookie-manager-content {
        padding: 20px;
    }
}
