/* ============================================================
   BƯỚC 2 (enrichment) — hộp thoại hỏi thêm sau khi điền form ngắn.
   Tự chứa: không phụ thuộc CSS sẵn có của trang nào, để dùng được
   trên cả 4 trang có bố cục khác nhau.
   ============================================================ */
.ct-s2 {
    position: fixed;
    inset: 0;
    z-index: 10050;            /* trên popup (9999) và sticky bar (10000) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 24, 48, 0.62);
    opacity: 0;
    transition: opacity .25s ease;
    overflow-y: auto;
}

.ct-s2.is-open { opacity: 1; }
.ct-s2[hidden] { display: none; }

body.ct-s2-open { overflow: hidden; }

.ct-s2-box {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px 28px 26px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(10, 24, 48, .34);
    transform: translateY(16px);
    transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.ct-s2.is-open .ct-s2-box { transform: none; }

.ct-s2-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .07);
    color: #14213d;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ct-s2-close:hover { background: rgba(0, 0, 0, .14); }

.ct-s2-title {
    margin: 0 36px 6px 0;
    font-family: 'Brauer NeueVN', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #2667e0;
}

.ct-s2-sub {
    margin: 0 0 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #4a5b6e;
}

.ct-s2-label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #14213d;
}

.ct-s2-input {
    width: 100%;
    height: 50px;
    margin: 0 0 16px;
    padding: 0 16px;
    border: 1.5px solid rgba(37, 118, 185, .3);
    border-radius: 12px;
    background: #fff;
    color: #1a3b5c;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;      /* >=16px để iOS không tự phóng to trang */
    box-sizing: border-box;
    outline: none;
}

.ct-s2-input::placeholder { color: rgba(26, 59, 92, .5); }

.ct-s2-input:focus {
    border-color: #2576B9;
    box-shadow: 0 0 0 4px rgba(37, 118, 185, .16);
}

.ct-s2-area {
    height: auto;
    padding: 12px 16px;
    line-height: 1.5;
    resize: vertical;
}

.ct-s2-err {
    margin: -10px 0 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: #d92d20;
}

.ct-s2-submit,
.ct-s2-skip {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.ct-s2-submit {
    background: #ffce1f;
    color: #14213d;
    box-shadow: 0 8px 20px rgba(254, 204, 0, .32);
}

.ct-s2-submit:hover { background: #f5c40f; }

.ct-s2-skip {
    margin-top: 10px;
    background: transparent;
    color: #4a5b6e;
    font-weight: 700;
    text-decoration: underline;
    min-height: 40px;
}

.ct-s2-done {
    margin: 0;
    padding: 26px 0;
    text-align: center;
    font-family: 'Brauer NeueVN', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: #2667e0;
}

@media (max-width: 600px) {
    .ct-s2 { padding: 0; align-items: flex-start; }

    .ct-s2-box {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        padding: 58px 20px 28px;
    }

    .ct-s2-title { font-size: 22px; }
}
