body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #ffffff;
    margin: 0;
    font-family: 'Quicksand', sans-serif;
}

/* Khung iPhone 16 Pro Max */
.phone {
    width: 430px;
    height: 888px;
    background: #fff;
    border-radius: 55px;
    box-shadow: 0 0 40px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
    border: 8px solid #d8c8a8; /* viền titan sa mạc */
    padding: 18px;
    box-sizing: border-box;
}

.screen-area {
    width: 100%;
    height: 100%;
    border-radius: 46px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 3px rgba(255,255,255,0.06);
}

/* Header */
.header {
    padding-top: 88px;
    text-align: center;
}

.header img {
    width: 180px;
    margin: auto;
    display: block;
}

.title {
    text-shadow: 0.5px 0 #c4c4c4, 1px 1px 1px #c9c2c2;
    font-size: 1.5rem;
    display: inline-flex;           /* ép cùng 1 hàng */
    align-items: center;            /* căn giữa icon theo chữ */
    gap: 6px;                       /* khoảng cách với tích xanh */
}

.subtitle {
    color: #666;
    margin-top: 4px;
    font-size: 15px;
}

.hotline {
    color: #0066cc;
    font-size: 18px;
    margin-top: 6px;
    font-weight: 600;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 20px 0;
}

.btn {
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-qr {
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-call {
    background: #ffcc00;
    color: #000;
}

/* List */
.list {
    padding: 10px 18px;
}

.item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 2px 0 rgb(145 158 171 / 54%), 
                0 15px 13px -4px rgb(145 158 171 / 64%);
    border-radius: 8px;
    margin: 20px 0px;
    padding: 8px;
    text-decoration: none;
        position: relative;
    overflow: hidden; /* cần cho ripple */
    transition: 0.25s;
}
.item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.item img {
    width: 46px;
    border-radius: 8px;
    box-shadow: 0 0px 1px 0 rgb(60 64 67 / 30%), 
                0 1px 3px 1px rgb(60 64 67 / 15%);
}

.item span {
    width: 100%;
    font-size: 16px;
    text-align: center;
    font-weight: 400;
    color: #003868;
    text-shadow: 0.5px 0 #e5d8d8, 1px 1px 1px #e3c8c8;
}

/* Dynamic Island */
.notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 115px;
    height: 33px;
    background: #000;
    border-radius: 30px;
}

/*đồng hồ + sóng 2 bên */
/* Status Bar iPhone */
.status-bar {
    position: absolute;
    top: 18px;
    left: 0;
    width: 90%;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    z-index: 5;
    pointer-events: none;
}

.status-left {
    margin-left: 10px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 10px;
}

.signal {
    width: 18px;
}

.wifi {
    width: 18px;
}

.battery {
    width: 28px;
}

.browser-bar {
    width: 88%;
    margin: 60px auto 0 auto;
    height: 32px;
    background: #f2f2f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    box-shadow: inset 0 0 0 1px #e0e0e0;
}
.browser-bar img {
    width: 14px;
    margin-right: 6px;
    opacity: 0.7;
}
/* Safari top bar */
.safari-bar {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    z-index: 20;
}

/* Ô URL */
.safari-url {
    background: #f2f2f7;
    border-radius: 24px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    border: 1px solid #e1e1e1;
    text-align: center;
    user-select: none;
}


/* Thanh loading Safari */
.progress-bar {
    height: 3px;
    background: #31c553;
    width: 0%;
    margin-top: 6px;
    border-radius: 10px;
    transition: width 0.15s ease;
    box-shadow: 0 0 6px rgba(0, 255, 0, 0.5);
}
.title img.verify-badge {
    height: 18px !important;       /* chuẩn cho iPhone UI */
    width: auto;
    vertical-align: -2px;          /* căn chuẩn theo chữ */
    display: inline-block;
}

/* ----- MODAL VCB ----- */
.modal-vcb {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.modal-content {
    width: 92%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    animation: zoomIn .25s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.modal-header {
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    font-size: 26px;
    cursor: pointer;
    padding: 0 10px;
}

.modal-body {
    padding: 20px 26px;
    text-align: center;
}

.bank-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.label {
    font-size: 14px;
    color: #444;
}

.acc-box {
    background: #d9e6ff;
    padding: 12px;
    border-radius: 10px;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-box span {
    font-size: 22px;
    font-weight: 700;
    color: #0033cc;
}

.copy-btn {
    background: #777;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.acc-name {
    color: #0a5;
    font-weight: 700;
    margin: 6px 0 14px 0;
}

.qr-img {
    width: 260px;
    margin: 10px 0 6px 0;
}

.napas {
    width: 85px;
    height: auto;
    
}

.footer {
    margin-top: 12px;
    display: flex;
    justify-content: center;   /* căn giữa ngang */
    align-items: center;        /* căn giữa theo chiều dọc */
    gap: 10px;                  /* khoảng cách giữa napas và link */}

.web-link {
    color: #007aff;
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;  
}

/* TOAST COPY */
.toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: rgba(0,0,0,0.78);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    pointer-events: none;
    z-index: 99999 !important;   /* ✅ Luôn nổi trên mọi lớp */
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Giữ footer cuối trang */
footer {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    opacity: 0.32;
    margin-top: 40px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}
body {
    padding-bottom: 60px;
}
