/* ===============================
   CEK PESANAN
================================ */

.cek-order-wrapper {
    max-width: 420px;
    margin: 80px auto;
    padding: 28px 26px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    text-align: center;
}

/* TITLE */
.cek-order-wrapper h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

/* SUBTITLE */
.cek-order-wrapper p {
    margin: 0 0 22px;
    font-size: 14px;
    color: #64748b;
}

/* FORM */
#cekOrderForm {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* INPUT */
#orderCodeInput {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    outline: none;
    transition: .2s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
}

#orderCodeInput::placeholder {
    color: #94a3b8;
}

#orderCodeInput:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}

/* BUTTON */
#cekOrderForm button {
    padding: 13px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

#cekOrderForm button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(124,58,237,.35);
}

#cekOrderForm button:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(124,58,237,.25);
}

/* ===============================
   MOBILE
================================ */

@media (max-width: 480px) {
    .cek-order-wrapper {
        margin: 40px 14px;
        padding: 24px 20px;
    }

    .cek-order-wrapper h2 {
        font-size: 20px;
    }
}

/* FALLBACK POPUP */
.fp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fp-box {
    background: #fff;
    width: 90%;
    max-width: 360px;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.fp-box h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.fp-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.fp-box button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #7c3aed;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
