
/* =========================================================
   HOSTFAST SUPPORT WIDGET STYLES
========================================================= */
#hf-support-widget {
    --hf-blue: #0c1670;
    --hf-blue-dark: #070d4d;
    --hf-blue-light: #eef0ff;
    --hf-orange: #ff4800;
    --hf-text: #151a35;
    --hf-muted: #626b83;
    --hf-border: #e4e7ef;
    --hf-green: #16a34a;

    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 999999;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

#hf-support-widget *,
#hf-support-widget a,
#hf-support-widget button,
#hf-support-widget h3,
#hf-support-widget p,
#hf-support-widget span,
#hf-support-widget strong {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}

.hf-support-button {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(145deg, #0c1670, #18278f);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 15px 38px rgba(12,22,112,.30);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hf-support-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(12,22,112,.38);
}

.hf-support-button svg {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
}

.hf-whatsapp-main-icon {
    width: 30px !important;
    height: 30px !important;
}

.hf-close-icon {
    display: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-pulse {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    border: 2px solid rgba(12,22,112,.55);
    animation: hfPulse 2.4s infinite;
    pointer-events: none;
}

@keyframes hfPulse {
    0% { transform: scale(1); opacity: .65; }
    70%, 100% { transform: scale(1.35); opacity: 0; }
}

.hf-support-popup {
    position: absolute;
    right: 0;
    bottom: 80px;
    width: 420px;
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(12,22,112,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.97);
    transform-origin: bottom right;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.hf-support-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hf-support-header {
    padding: 26px 25px 23px;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    border-bottom: 1px solid var(--hf-border);
}

.hf-support-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.hf-support-main-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(12,22,112,.075);
    color: var(--hf-blue);
}

.hf-support-main-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-support-online {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 100px;
    background: rgba(22,163,74,.08);
    color: var(--hf-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.hf-support-online span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hf-green);
    box-shadow: 0 0 0 4px rgba(22,163,74,.10);
}

.hf-support-header h3 {
    margin: 0 0 8px;
    color: var(--hf-blue);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.7px;
    font-weight: 800;
}

.hf-support-header p {
    margin: 0;
    color: var(--hf-muted);
    font-size: 12px;
    line-height: 1.65;
    font-weight: 500;
}

.hf-support-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 13px;
}

.hf-support-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 13px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hf-support-option:hover {
    background: #fafbff;
    border-color: var(--hf-border);
    transform: translateY(-1px);
    box-shadow: 0 9px 25px rgba(12,22,112,.06);
}

.hf-option-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.hf-option-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-whatsapp {
    background: linear-gradient(145deg, #e9fff1, #d8fbe6);
    color: #16a34a;
}

.hf-whatsapp svg {
    fill: currentColor;
    stroke: none;
}

.hf-ticket {
    background: linear-gradient(145deg, #eef0ff, #e1e6ff);
    color: var(--hf-blue);
}

.hf-email {
    background: linear-gradient(145deg, #fff0e9, #ffe4d9);
    color: var(--hf-orange);
}

.hf-option-content {
    flex: 1;
    min-width: 0;
}

.hf-option-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--hf-text);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
}

.hf-option-subtitle {
    margin-bottom: 6px;
    color: var(--hf-muted);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
}

.hf-option-detail {
    color: var(--hf-blue);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.hf-live {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 100px;
    background: rgba(22,163,74,.09);
    color: var(--hf-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .5px;
}

.hf-option-arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #9ba2b5;
    transition: color .2s ease, transform .2s ease;
}

.hf-option-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-support-option:hover .hf-option-arrow {
    color: var(--hf-orange);
    transform: translateX(3px);
}

.hf-support-footer {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 21px;
    background: #fafbfe;
    border-top: 1px solid var(--hf-border);
}

.hf-footer-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(12,22,112,.06);
    color: var(--hf-blue);
}

.hf-footer-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hf-support-footer strong {
    display: block;
    margin-bottom: 3px;
    color: var(--hf-text);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.hf-support-footer span {
    display: block;
    color: var(--hf-muted);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
}

/* =========================================================
   MOBILE WITH ELEVATED BOTTOM POSITION
========================================================= */
@media (max-width: 600px) {
    #hf-support-widget {
        right: 15px;
        bottom: calc(75px + env(safe-area-inset-bottom, 0px));
    }

    .hf-support-button {
        width: 59px;
        height: 59px;
        border-radius: 16px;
    }

    .hf-support-button svg {
        width: 27px;
        height: 27px;
    }

    .hf-pulse {
        border-radius: 16px;
    }

    .hf-support-popup {
        right: 0;
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        width: calc(100vw - 30px);
        max-width: 420px;
        border-radius: 20px;
    }

    .hf-support-header {
        padding: 21px 19px;
    }

    .hf-support-header h3 {
        font-size: 21px;
    }

    .hf-support-header p {
        font-size: 11px;
    }

    .hf-support-options {
        padding: 10px;
    }

    .hf-support-option {
        padding: 13px 10px;
    }

    .hf-option-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .hf-option-icon svg {
        width: 24px;
        height: 24px;
    }

    .hf-option-title {
        font-size: 13px;
    }

    .hf-option-subtitle {
        font-size: 10px;
    }

    .hf-option-detail {
        font-size: 9.5px;
    }
}

#hf-support-widget{bottom:var(--sw-bottom);z-index:100;box-sizing:border-box}#hf-support-widget *{box-sizing:border-box}#hf-support-widget .hf-support-button{width:var(--sw-button);height:var(--sw-button);background:linear-gradient(145deg,var(--hf-blue),#18278f)}#hf-support-widget .hf-support-popup{width:min(var(--sw-width),calc(100vw - 30px));bottom:calc(var(--sw-button) + 16px);border-radius:var(--sw-radius);max-height:calc(100dvh - var(--sw-bottom) - var(--sw-button) - 32px);overflow:auto}#hf-support-widget.hf-sw-left{left:28px;right:auto}#hf-support-widget.hf-sw-left .hf-support-popup{left:0;right:auto;transform-origin:bottom left}#hf-support-widget.hf-sw-no-pulse .hf-pulse{display:none!important}#hf-support-widget.hf-sw-offline .hf-support-online{color:#626b83;background:#eef0f4}#hf-support-widget.hf-sw-offline .hf-support-online span{background:#626b83;box-shadow:none}#hf-support-widget :focus-visible{outline:2px solid var(--hf-blue);outline-offset:3px}body.hf-drawer-open #hf-support-widget{visibility:hidden}@media(min-width:601px){#hf-support-widget.hf-sw-no-desktop{display:none}}@media(max-width:600px){#hf-support-widget.hf-sw-no-mobile{display:none}#hf-support-widget{bottom:calc(var(--sw-mobile-bottom) + env(safe-area-inset-bottom,0px))}#hf-support-widget.hf-sw-left{left:15px}#hf-support-widget .hf-support-button{width:var(--sw-mobile-button);height:var(--sw-mobile-button)}#hf-support-widget .hf-support-popup{bottom:calc(var(--sw-mobile-button) + 11px);max-height:calc(100dvh - var(--sw-mobile-bottom) - var(--sw-mobile-button) - env(safe-area-inset-bottom,0px) - 26px)}}@media(prefers-reduced-motion:reduce){#hf-support-widget *{animation:none!important;transition:none!important}}@media print{#hf-support-widget{display:none!important}}
