/* Holbox Transfers Cookie Consent */
/* Upload this file to: /css/holbox-cookie-consent.css */

.ht-cookie-footer-link {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    padding: 0;
}

.ht-cookie-footer-link:hover,
.ht-cookie-footer-link:focus {
    text-decoration: underline;
}

.ht-cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
}

.ht-cookie-overlay[hidden] {
    display: none !important;
}

.ht-cookie-panel {
    width: min(620px, calc(100% - 16px));
    max-height: calc(100dvh - 34px);
    overflow-y: auto;
    background: #ffffff;
    color: #17342f;
    border: 1px solid rgba(0, 73, 63, 0.14);
    border-radius: 17px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.ht-cookie-main {
    padding: 15px 18px 12px;
}

.ht-cookie-eyebrow {
    margin: 0 0 5px;
    color: #006fae;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ht-cookie-title {
    margin: 0 0 7px;
    color: #00493f;
    font-size: clamp(1.05rem, 1.8vw, 1.34rem);
    line-height: 1.16;
    font-weight: 800;
}

.ht-cookie-text {
    margin: 0;
    max-width: 560px;
    color: #38564f;
    font-size: 0.86rem;
    line-height: 1.46;
}

.ht-cookie-text a {
    color: #006fae;
    font-weight: 700;
    text-decoration: underline;
}

.ht-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 18px 15px;
}

.ht-cookie-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    padding: 10px 14px;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ht-cookie-btn:hover {
    transform: translateY(-1px);
}

.ht-cookie-btn:focus {
    outline: 3px solid rgba(0, 111, 174, 0.2);
    outline-offset: 2px;
}

.ht-cookie-btn-primary {
    background: #00493f;
    border-color: #00493f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 73, 63, 0.20);
}

.ht-cookie-btn-secondary {
    background: #ffffff;
    border-color: rgba(0, 73, 63, 0.28);
    color: #00493f;
}

.ht-cookie-btn-link {
    background: transparent;
    color: #006fae;
    border-color: transparent;
    padding-left: 6px;
    padding-right: 6px;
}

.ht-cookie-preferences {
    border-top: 1px solid rgba(0, 73, 63, 0.12);
    background: #f7fbfa;
    padding: 14px 18px 16px;
}

.ht-cookie-preferences[hidden] {
    display: none !important;
}

.ht-cookie-options {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 10px 0 13px;
}

.ht-cookie-option {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(0, 73, 63, 0.12);
    border-radius: 13px;
    padding: 10px;
}

.ht-cookie-option input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #00493f;
    flex: 0 0 auto;
}

.ht-cookie-option strong {
    display: block;
    color: #00493f;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.ht-cookie-option span {
    display: block;
    color: #506a64;
    font-size: 0.78rem;
    line-height: 1.34;
}

.ht-cookie-option-disabled {
    opacity: 0.78;
}

.ht-cookie-preferences-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 720px) {
    .ht-cookie-overlay {
        padding: 8px;
    }

    .ht-cookie-panel {
        width: min(420px, calc(100% - 12px));
        max-height: calc(100dvh - 42px);
        border-radius: 16px;
    }

    .ht-cookie-main {
        padding: 14px 14px 11px;
    }

    .ht-cookie-eyebrow {
        font-size: 0.66rem;
        margin-bottom: 5px;
    }

    .ht-cookie-title {
        font-size: clamp(1rem, 5vw, 1.18rem);
        line-height: 1.16;
    }

    .ht-cookie-text {
        font-size: 0.82rem;
        line-height: 1.44;
    }

    .ht-cookie-actions,
    .ht-cookie-preferences {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ht-cookie-actions {
        flex-direction: column;
        padding-bottom: 13px;
    }

    .ht-cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 13px;
        font-size: 0.84rem;
    }

    .ht-cookie-btn-link {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .ht-cookie-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ht-cookie-option {
        border-radius: 12px;
        padding: 9px;
    }

    .ht-cookie-option strong {
        font-size: 0.86rem;
    }

    .ht-cookie-option span {
        font-size: 0.76rem;
    }
}
