/* ================= ACCOUNT PAGE STYLES (v3.0.28) ================= */

.account-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 24px 40px;
    font-size: 14px;
    min-height: calc(100vh - 52px);
}

/* ================= ACCOUNT TITLE ================= */
.account-title {
    text-align: center;
    font-size: 16px;
    margin: 5px 0 18px;
    color: #fff;
}

#accountId {
    color: #33ff00;
    font-weight: bold;
}

/* ================= LINE ================= */
.account-wrap .hr {
    height: 1px;
    background: #6b6b6b;
    margin: 16px 0;
}

/* ================= ROW ================= */
.acc-row {
    display: grid;
    grid-template-columns: 110px 1fr 60px;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 0 8px;
}

.acc-row>div:first-child {
    white-space: nowrap;
    color: #aaa;
    text-align: right;
}

/* LOGIN ROWS */
.acc-login {
    grid-template-columns: 80px 1fr 60px;
}

/* ================= INPUT ================= */
.acc-input,
.wide-input {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 12px;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
}

.acc-input:focus,
.wide-input:focus {
    outline: none;
    border: 1px solid #4fd2ff;
}

/* ================= CHECK ================= */
.acc-check {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #aaa;
    font-size: 13px;
}

.acc-check input {
    width: 18px;
    height: 18px;
    accent-color: #3fd2ff;
}

/* ================= BUTTON ROW ================= */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    padding: 0 8px;
}

/* ================= BUTTON ================= */
.account-wrap .btn {
    background: linear-gradient(#2b5a4d, #1E3F36, #162f28);
    border: none;
    color: #e7fffa;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    transition: opacity 0.2s;
}

.account-wrap .btn:hover {
    opacity: 0.9;
}

.account-wrap .btn:active {
    transform: translateY(1px);
}

/* BUTTON FIT */
.btn-fit {
    display: inline-flex;
    width: auto;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
}

/* SMALL BUTTON */
.btn-small {
    padding: 10px 16px;
    font-size: 13px;
}

/* ================= AMOUNT ================= */
.amount {
    text-align: center;
    background: #000;
    padding: 12px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 16px;
    margin: 8px 0;
    color: #fff;
}

/* ================= SERVER DROPDOWN ================= */
.server-wrap {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding: 0 8px;
    position: relative;
}

.server-box {
    position: relative;
    min-width: 240px;
    padding: 12px 18px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .5);
}

.server-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid #aaa;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

.server-popup {
    position: absolute;
    left: 50%;
    bottom: 100%;
    top: auto;
    transform: translateX(-50%);
    margin-bottom: 8px;
    width: 240px;
    background: #2f2f2f;
    border-radius: 6px;
    overflow: hidden;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .7);
    z-index: 99999;
}

.server-item {
    padding: 12px;
    text-align: center;
    color: #ddd;
    cursor: pointer;
    border-bottom: 1px solid #444;
}

.server-item:hover {
    background: #1E3F36;
    color: #e7fffa;
}

.server-item.active {
    background: #1E3F36;
    color: #e7fffa;
    border-bottom: 2px solid #3fd2ff;
}

.server-item:last-child {
    border-bottom: none;
}

/* ================= MODAL ================= */
#modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#modalMsg {
    padding: 20px;
    color: #eee;
    font-size: 14px;
    text-align: center;
}

.modal-ok {
    width: 100%;
    border: none;
    background: #e53935;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
}