/* Banner de consimțământ cookie + honeypot formular. */

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 32px);
    max-width: 900px;
    background: #fff;
    border: 1px solid rgba(22, 50, 67, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(22, 50, 67, 0.22);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, transform 300ms ease, visibility 300ms ease;
}

.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.cookie-consent__inner {
    padding: 26px 28px;
}

.cookie-consent__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #163243;
}

.cookie-consent__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #6d7c90;
}

.cookie-consent__link {
    color: #7f9f3d;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-consent__link + .cookie-consent__link {
    margin-left: 10px;
}

.cookie-consent__options {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.cookie-option {
    display: block;
    padding: 14px 16px;
    border: 1px solid #e2ebef;
    border-radius: 14px;
    background: #f9fbfc;
    cursor: pointer;
}

.cookie-option__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #163243;
}

.cookie-option__head input {
    width: 18px;
    height: 18px;
    accent-color: #7f9f3d;
}

.cookie-option__badge {
    margin-left: auto;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: #57bec9;
    background: rgba(87, 190, 201, 0.12);
    padding: 3px 10px;
    border-radius: 999px;
}

.cookie-option__desc {
    display: block;
    margin-top: 6px;
    padding-left: 28px;
    font-size: 13px;
    line-height: 1.5;
    color: #8494a5;
}

.cookie-consent__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cookie-btn {
    cursor: pointer;
}

.cookie-consent__actions .theme-btn {
    min-width: 140px;
    min-height: 48px;
}

.cookie-btn--ghost {
    background: #fff !important;
    color: #163243 !important;
    border: 2px solid #163243 !important;
    box-shadow: none !important;
}

.cookie-btn--ghost:before {
    display: none !important;
}

.cookie-btn--ghost:hover,
.cookie-btn--ghost:focus {
    background: #fff !important;
    color: #7f9f3d !important;
    border-color: #7f9f3d !important;
}

@media (max-width: 991px) {
    .cookie-consent__inner {
        padding: 20px;
    }

    .cookie-consent__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent__actions .theme-btn {
        width: 100%;
        min-width: 0;
    }
}
