body#wallet {
    background: #f5f5f5;
    margin: 0;
    padding-bottom: 90px;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
}

.wallet-page {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5f5;
}

.wallet-header {
    display: flex;
    align-items: center;
    padding: 16px 16px 8px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wallet-header .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.wallet-header .info {
    margin-left: 12px;
    flex: 1;
}

.wallet-header .info .label {
    font-size: 14px;
    color: #555;
}

.wallet-header .info .number {
    font-size: 16px;
    color: #222;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.04em;
}

.wallet-header .action-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.balance-card {
    background: #1c1c1c;
    color: #ffffff;
    margin: 0 16px 12px;
    border-radius: 14px;
    padding: 20px 12px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.balance-card .amount {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
}

.balance-card .sub {
    font-size: 14px;
    color: #e6e6e6;
}

.balance-card .recent {
    margin-top: 10px;
    font-size: 13px;
    color: #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stats-row {
    display: flex;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.stats-row .stat {
    flex: 1;
    padding: 14px 12px 16px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.stats-row .stat:last-child {
    border-right: none;
}

.stats-row .title {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.stats-row .value {
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.wallet-actions {
    margin: 16px 16px 10px;
    display: flex;
    justify-content: center;
}

.primary-btn {
    width: 100%;
    padding: 14px 0;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    outline: none;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.primary-btn:active {
    opacity: 0.92;
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.section-box {
    background: #ffffff;
    margin: 12px 0 0;
    padding: 16px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 6px;
    background: #ffe79b;
    z-index: -1;
}

.account-card {
    margin-top: 12px;
    background: linear-gradient(90deg, #00b09b 0%, #35d2c5 100%);
    border-radius: 12px;
    padding: 20px 16px;
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 0.4em;
}

.desc-box {
    margin-top: 12px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    min-height: 100px;
    padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.desc-box .label {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.safety {
    margin: 14px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #1f9d4c;
    font-size: 14px;
    font-weight: 600;
}

.bottom-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 8px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bottom-nav-item {
    text-align: center;
    flex: 1;
}

.bottom-nav-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
}

.bottom-nav-text {
    font-size: 12px;
    color: #999;
}

.bottom-nav-item.active .bottom-nav-text {
    color: #333;
    font-weight: 600;
}

/* 提領彈窗樣式 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-box {
    width: 340px;
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 18px 16px 12px;
    text-align: center;
}

.modal-title {
    font-size: 20px;
    color: #444444;
    margin-bottom: 10px;
    font-weight: 500;
}

.modal-subtitle {
    font-size: 16px;
    color: #d60000;
    margin-bottom: 12px;
    font-weight: 600;
}

.modal-input {
    width: 100%;
    height: 36px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 0 10px;
    font-size: 15px;
    color: #666;
    background: #f8f8f8;
    margin-top: 4px;
}

.modal-actions {
    margin-top: 14px;
    display: flex;
    border-top: 1px solid #e5e5e5;
    background: #f7f7f7;
}

.modal-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
}

.modal-cancel {
    color: #0070c0;
    border-right: 1px solid #e5e5e5;
}

.modal-submit {
    color: #0070c0;
}

