/* Cookie / tracking consent banner (Views/Shared/_CookieConsent.cshtml, js/cookie-consent.js) */

.sm-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    padding: 14px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    pointer-events: none;
}

.sm-cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sm-cookie-banner-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #f0ece0;
    border-radius: 16px;
    padding: 19px 20px 16px;
    box-shadow: 0 -6px 30px rgba(26, 26, 26, 0.14), 0 10px 30px rgba(26, 26, 26, 0.1);
    overflow: hidden;
}

.sm-cookie-banner-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #89216b, #da4453, #f6af04);
}

.sm-cookie-banner-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #89216b, #da4453);
    color: #fff;
    font-size: 18px;
}

.sm-cookie-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}

.sm-cookie-banner-text strong {
    display: block;
    font-size: 14.5px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.sm-cookie-banner-text p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #777;
}

.sm-cookie-banner-text a {
    color: #da4453;
    font-weight: 600;
    text-decoration: underline;
}

.sm-cookie-banner-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
}

.sm-cookie-banner-actions .btn {
    white-space: nowrap;
    font-size: 12.5px;
    padding: 8px 14px;
}

@media (max-width: 767px) {
    .sm-cookie-banner-inner {
        flex-wrap: wrap;
    }

    .sm-cookie-banner-icon {
        display: none;
    }

    .sm-cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .sm-cookie-banner-actions .btn {
        flex: 1 1 0;
    }
}
