/* 服務終止公告 - 浮動按鈕與彈出視窗（消費者版） */

.siir-stn-fab {
    /* bottom 拉高以避開既有的客服／留言浮動 ICON（聯絡我們、留言給我們） */
    position: fixed;
    right: 24px;
    bottom: 180px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    z-index: 1040;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease-in-out, box-shadow .15s ease-in-out;
    animation: siir-stn-pulse 2.4s ease-in-out infinite;
}

    .siir-stn-fab:hover,
    .siir-stn-fab:focus {
        transform: scale(1.08);
        box-shadow: 0 6px 18px rgba(220, 53, 69, .5);
        outline: none;
    }

    .siir-stn-fab svg {
        width: 26px;
        height: 26px;
        pointer-events: none;
    }

@keyframes siir-stn-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25), 0 0 0 0 rgba(220, 53, 69, .55);
    }

    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, .25), 0 0 0 12px rgba(220, 53, 69, 0);
    }
}

.siir-stn-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1050;
    overflow-y: auto;
    padding: 24px 16px;
    box-sizing: border-box;
}

    .siir-stn-overlay.is-open {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

.siir-stn-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    margin: auto;
    color: #333;
    line-height: 1.75;
    overflow: hidden;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei", "微軟正黑體", "PingFang TC", "Helvetica Neue", Arial, sans-serif;
}

.siir-stn-body {
    padding: 36px 32px 28px;
    text-align: center;
}

.siir-stn-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffe6d2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

    .siir-stn-icon-circle svg {
        width: 34px;
        height: 34px;
        color: #ff8a3d;
    }

.siir-stn-title {
    font-size: 22px;
    font-weight: bold;
    color: #1f2937;
    margin: 0 0 22px;
    line-height: 1.4;
}

.siir-stn-body p {
    margin: 0 0 18px;
    font-size: 15px;
    color: #4b5563;
}

.siir-stn-highlight-date {
    color: #e74c3c;
    font-weight: bold;
}

.siir-stn-info-box {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 22px 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

.siir-stn-thanks {
    color: #6b7280;
    font-size: 14px;
    margin: 18px 0 6px;
}

.siir-stn-confirm {
    display: block;
    width: 100%;
    background: #1f2937;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background .15s ease-in-out;
    font-family: inherit;
}

    .siir-stn-confirm:hover,
    .siir-stn-confirm:focus {
        background: #111827;
        outline: none;
    }

@media (max-width: 576px) {
    .siir-stn-modal {
        max-width: 100%;
    }

    .siir-stn-body {
        padding: 28px 22px 22px;
    }

    .siir-stn-title {
        font-size: 19px;
    }

    .siir-stn-body p,
    .siir-stn-info-box {
        font-size: 14px;
    }

    .siir-stn-fab {
        right: 16px;
        bottom: 160px;
        width: 50px;
        height: 50px;
    }

        .siir-stn-fab svg {
            width: 24px;
            height: 24px;
        }
}
