/* ==========================================
   Cookie Consent Banner — SanatSmile design
   ========================================== */

.cookie-consent-banner {
    background: #fff;
    border-top: 1px solid rgba(77, 92, 90, 0.2);
    bottom: 0;
    box-shadow: 0 -8px 32px rgba(77, 92, 90, 0.12);
    left: 0;
    position: fixed;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(.2, .74, .2, 1);
    z-index: 9999;
}

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

.cookie-consent-container {
    margin: 0 auto;
    max-width: 1440px;
    padding: 20px 32px;
}

.cookie-consent-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

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

.cookie-consent-title {
    color: #4d5c5a;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}

.cookie-consent-desc {
    color: #7a8a89;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

.cookie-policy-link {
    color: #029f8d;
    cursor: pointer;
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: #008777;
}

.cookie-consent-buttons {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    height: 42px;
    padding: 0 24px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn--accept {
    background: linear-gradient(180deg, #029f8d 0%, #008777 63%);
    color: #fff;
}

.cookie-btn--accept:hover {
    background: linear-gradient(180deg, #008777 0%, #006b62 100%);
    box-shadow: 0 4px 12px rgba(2, 159, 141, 0.25);
    transform: translateY(-1px);
}

.cookie-btn--necessary {
    background: transparent;
    border: 1px solid rgba(77, 92, 90, 0.4);
    color: #4d5c5a;
}

.cookie-btn--necessary:hover {
    background: rgba(77, 92, 90, 0.06);
    border-color: rgba(77, 92, 90, 0.7);
}

/* Cookie Settings Modal */
.cookie-category {
    background: #f5f7f7;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

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

.cookie-category h6 {
    color: #4d5c5a;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 4px;
}

.cookie-category .text-muted {
    font-size: 0.85rem;
}

.custom-control-label {
    cursor: pointer;
}

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

    .cookie-consent-content {
        flex-direction: column;
        gap: 14px;
    }

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

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

    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}
