/**
 * LUNICAR - Cookie Consent Banner Styles
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0F172A;
    color: #ffffff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #CBD5E1;
}

.cookie-banner-text a {
    color: #F59E0B;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #FBBF24;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.cookie-btn-accept {
    background: #F59E0B;
    color: #0F172A;
}

.cookie-btn-accept:hover {
    background: #FBBF24;
}

.cookie-btn-refuse {
    background: transparent;
    color: #ffffff;
    border: 1px solid #475569;
}

.cookie-btn-refuse:hover {
    background: #1E293B;
    border-color: #64748B;
}

.cookie-btn-customize {
    background: transparent;
    color: #94A3B8;
    border: 1px solid #334155;
}

.cookie-btn-customize:hover {
    background: #1E293B;
    color: #ffffff;
}

.cookie-btn-save {
    background: #F59E0B;
    color: #0F172A;
}

.cookie-btn-save:hover {
    background: #FBBF24;
}

/* Customize panel */
.cookie-banner-customize {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #F59E0B;
    cursor: pointer;
}

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

.cookie-option span {
    font-weight: 600;
    color: #ffffff;
    display: block;
}

.cookie-option small {
    display: block;
    color: #94A3B8;
    font-size: 0.85rem;
    margin-top: 2px;
}

.cookie-customize-actions {
    margin-top: 15px;
}

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

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

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

    .cookie-option label {
        text-align: left;
    }

    .cookie-customize-actions {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
