/* Shared LINE popup; sourced from website.css to preserve original appearance. */
/* ============================
   NK LINE PACKAGE POPUP
============================ */

.nk-line-overlay[hidden] {
    display: none !important;
}

.nk-line-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nk-line-modal {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.nk-line-modal h3 {
    margin: 0 0 10px;
    font-size: 23px;
    font-weight: 700;
    color: #17212f;
}

.nk-line-description {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 18px;
}

.nk-line-qr {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

.nk-line-add,
.nk-line-login {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.nk-line-add {
    background: #06c755;
    color: #fff;
}

.nk-line-add:hover {
    background: #05b34c;
    color: #fff;
}

.nk-line-login {
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #17212f;
}

.nk-line-login:hover {
    background: #f8fafc;
    color: #17212f;
}

.nk-line-note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #94a3b8;
}

.nk-line-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    color: #64748b;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .nk-line-modal {
        max-width: 360px;
        padding: 26px 20px;
    }

    .nk-line-qr {
        width: 180px;
    }

    .nk-line-modal h3 {
        font-size: 21px;
    }
}

/* ==========================================
   NK LINE POPUP — DEVICE BUTTON
========================================== */

/* Desktop */
#nkLinePopup .nk-line-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
}

#nkLinePopup .nk-line-mobile {
    display: none;
}

/* Mobile */
@media (max-width: 767px) {

    #nkLinePopup .nk-line-desktop {
        display: none;
    }

    #nkLinePopup .nk-line-mobile {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        min-height: 52px;
        padding: 14px 20px;

        background: #06c755;
        color: #ffffff;

        border: none;
        border-radius: 10px;

        font-size: 16px;
        font-weight: 700;
        text-align: center;
        text-decoration: none;

        box-sizing: border-box;
        cursor: pointer;
    }

    #nkLinePopup .nk-line-note {
        display: none;
    }
}
