/* =========================
   AUTH POPUP
   ========================= */

#wcdf-auth-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    font-family: inherit;
}

/* Overlay nền mờ */
.wcdf-auth-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* Box popup */
.wcdf-auth-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 8vh auto;
    background: #fff;
    padding: 20px 22px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

/* Nút đóng */
.wcdf-auth-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

.wcdf-auth-close:hover {
    color: #000;
}

/* Form */
#wcdf-auth-popup form {
    margin-bottom: 15px;
    margin-bottom: 0!important;
}

#wcdf-auth-popup input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#wcdf-auth-popup button {
    width: 100%;
    padding: 10px;
    font-weight: 600;
    margin-bottom: 0!important;
    margin-right: 0!important;
}

#wcdf-auth-popup .wcdf-msg {
    margin-top: 8px;
    color: #d63638;
    font-size: 14px;
}
.wcdf-buy-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.wcdf-buy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.wcdf-buy-box {
    position: relative;
    background: #fff;
    max-width: 420px;
    margin: 10vh auto;
    padding: 20px;
    border-radius: 8px;
}
.wcdf-wallet-header {
    font-weight: 600;
    color: #ffcc00;
    white-space: nowrap;
}
.wcdf-wallet-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.wcdf-wallet-table th,
.wcdf-wallet-table td {
    border: 1px solid #ddd;
    padding: 8px;
}
.wcdf-wallet-table th {
    background: #f7f7f7;
}
.wcdf-account {
    background: #f6f7fb;
    padding: 20px;
    border-radius: 12px;
}

.wcdf-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.wcdf-tab {
    padding: 10px 16px;
    border-radius: 20px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.wcdf-tab.active {
    background: linear-gradient(90deg,#ffd500,#feaa00);
    color: #000;
}

.wcdf-tab-content {
    display: none;
}

.wcdf-tab-content.active {
    display: block;
}

.wcdf-wallet-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.wcdf-wallet-balance {
    font-size: 28px;
    font-weight: 700;
    color: #ff9900;
}
