Files
shencaisuan/public/css/finance.css
T
2026-07-07 12:06:31 +08:00

1629 lines
28 KiB
CSS

/* ============================================================
finance.css - Financial Pages Styles
(chongzhi.html, jine.html, tixian.html, tixianlist.html)
============================================================ */
/* ============================
CHONGZHI - Recharge Page (chongzhi.html)
============================ */
/* Page wrapper */
.cz-page {
max-width: 900px;
margin: 0 auto;
padding: 20px 16px;
min-height: 100vh;
background: var(--bg-light);
}
/* Card container */
.cz-card {
background: #fff;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
overflow: hidden;
margin-bottom: 20px;
}
.cz-card-header {
background: linear-gradient(135deg, var(--primary) 0%, #1a3f8f 100%);
padding: 24px 28px;
text-align: center;
}
.cz-card-title {
font-size: 20px;
font-weight: 700;
color: #fff;
margin: 0;
}
/* Balance display */
.cz-balance-display {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 28px;
background: linear-gradient(90deg, rgba(16, 43, 106, 0.04) 0%, rgba(241, 90, 34, 0.04) 100%);
border-bottom: 1px solid var(--border-light);
}
.cz-balance-label {
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
}
.cz-balance-value {
font-size: 24px;
font-weight: 700;
color: var(--orange);
}
/* Amount grid (6 items, 3 columns) */
.cz-amount-grid {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
padding: 24px 28px 8px;
}
.cz-amount-item {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 18px 12px;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
background: var(--bg-light);
cursor: pointer;
transition: all 0.25s ease;
user-select: none;
}
.cz-amount-item:hover {
border-color: var(--primary);
background: #f0f3fa;
transform: translateY(-1px);
}
.cz-amount-item.active {
border-color: var(--primary);
background: #f0f3fa;
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.15);
}
.cz-amount-item.active::after {
content: '\2713';
position: absolute;
top: -1px;
right: -1px;
width: 22px;
height: 22px;
background: var(--primary);
color: #fff;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0 var(--radius-md) 0 var(--radius-md);
}
.cz-amount-item .amount-value {
font-size: 22px;
font-weight: 700;
color: var(--primary);
line-height: 1.2;
}
.cz-amount-item .amount-gift {
font-size: 12px;
color: var(--orange);
margin-top: 4px;
font-weight: 600;
}
.cz-amount-item.active .amount-value {
color: var(--primary);
}
/* Custom amount input */
.cz-custom-amount {
padding: 8px 28px 20px;
}
.cz-custom-amount .cz-custom-label {
font-size: 14px;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 8px;
}
.cz-custom-input {
width: 100%;
height: 48px;
padding: 0 16px;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
font-size: 15px;
outline: none;
transition: all 0.25s ease;
background: var(--bg-light);
color: var(--text-dark);
box-sizing: border-box;
}
.cz-custom-input::placeholder {
color: var(--text-muted);
font-size: 14px;
}
.cz-custom-input:focus {
border-color: var(--primary);
background: #fff;
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.1);
}
/* Payment methods */
.cz-pay-methods {
padding: 0 28px 24px;
}
.cz-pay-methods .cz-pay-label {
font-size: 14px;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 12px;
}
.cz-pay-method {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 16px;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
cursor: pointer;
transition: all 0.25s ease;
background: var(--bg-light);
margin-bottom: 10px;
user-select: none;
}
.cz-pay-method:last-child {
margin-bottom: 0;
}
.cz-pay-method:hover {
border-color: var(--primary);
background: #f0f3fa;
}
.cz-pay-method.active {
border-color: var(--primary);
background: #f0f3fa;
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.15);
}
.cz-pay-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
flex-shrink: 0;
}
.cz-pay-icon.alipay {
background: #1677ff;
color: #fff;
}
.cz-pay-icon.wechat {
background: #07c160;
color: #fff;
}
.cz-pay-icon.bank {
background: var(--primary);
color: #fff;
}
.cz-pay-name {
font-size: 15px;
font-weight: 600;
color: var(--text-dark);
}
.cz-pay-method .cz-pay-check {
margin-left: auto;
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid var(--border-light);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.25s ease;
flex-shrink: 0;
}
.cz-pay-method.active .cz-pay-check {
border-color: var(--primary);
background: var(--primary);
color: #fff;
font-size: 11px;
}
/* Submit button */
.cz-btn-submit {
display: block;
width: calc(100% - 56px);
margin: 0 28px 28px;
padding: 14px;
border: none;
border-radius: var(--radius-md);
font-size: 16px;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), #1a3f8f);
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
letter-spacing: 1px;
}
.cz-btn-submit::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.cz-btn-submit:hover::before {
left: 100%;
}
.cz-btn-submit:hover {
box-shadow: 0 6px 20px rgba(16, 43, 106, 0.4);
transform: translateY(-2px);
}
.cz-btn-submit:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(16, 43, 106, 0.3);
}
.cz-btn-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
/* ============================
JINE - Balance Details Page (jine.html)
============================ */
/* Page wrapper */
.je-container {
max-width: 900px;
margin: 0 auto;
padding: 20px 16px;
/* min-height: 100vh; */
}
/* Card container */
.je-card {
background: var(--white);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
overflow: hidden;
animation: fade-in-up 0.35s ease-out;
}
/* Tabs */
.je-tabs {
display: flex;
gap: 0;
background: linear-gradient(180deg, #f8f9fc, #fff);
border-bottom: 1px solid var(--border-light);
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.je-tabs::-webkit-scrollbar {
display: none;
}
.je-tab {
display: flex;
align-items: center;
gap: 8px;
padding: 16px 24px;
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
cursor: pointer;
border-bottom: 3px solid transparent;
margin-bottom: -1px;
transition: all 0.25s ease;
white-space: nowrap;
flex-shrink: 0;
text-align: center;
position: relative;
}
.je-tab:hover {
color: var(--primary);
background: rgba(16, 43, 106, 0.03);
}
.je-tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
background: rgba(16, 43, 106, 0.04);
}
.je-tab.active::before {
content: '';
position: absolute;
bottom: -1px;
left: 50%;
transform: translateX(-50%);
width: 40px;
height: 3px;
background: linear-gradient(90deg, var(--gold), var(--orange));
border-radius: 2px;
}
/* Tab icons */
.tab-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 8px;
font-size: 13px;
font-weight: 800;
flex-shrink: 0;
transition: all 0.25s ease;
}
.icon-points {
background: rgba(253, 185, 51, 0.12);
color: var(--gold-dark);
}
.icon-balance {
background: rgba(16, 43, 106, 0.12);
color: var(--primary);
}
.icon-sales {
background: rgba(39, 174, 96, 0.12);
color: var(--green);
}
.icon-expert {
background: rgba(123, 45, 142, 0.12);
color: var(--purple);
}
.je-tab.active .icon-points {
background: rgba(253, 185, 51, 0.2);
color: var(--gold-dark);
}
.je-tab.active .icon-balance {
background: rgba(16, 43, 106, 0.18);
color: var(--primary);
}
.je-tab.active .icon-sales {
background: rgba(39, 174, 96, 0.18);
color: var(--green);
}
.je-tab.active .icon-expert {
background: rgba(123, 45, 142, 0.18);
color: var(--purple);
}
/* Balance Summary */
.je-summary {
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 28px;
background:
radial-gradient(circle at top right, rgba(253, 185, 51, 0.08), transparent 18%),
radial-gradient(circle at bottom left, rgba(16, 43, 106, 0.06), transparent 22%),
linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
border-bottom: 1px solid var(--border-light);
position: relative;
}
.je-summary::after {
content: '';
position: absolute;
bottom: 0;
left: 28px;
right: 28px;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(16, 43, 106, 0.08), transparent);
}
.je-summary-label {
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
}
.je-summary-label span {
color: var(--primary);
font-weight: 700;
}
.je-summary-value {
font-size: 32px;
font-weight: 800;
color: var(--primary);
line-height: 1;
letter-spacing: -0.5px;
}
.je-summary-value span {
font-size: 16px;
font-weight: 600;
color: var(--text-muted);
margin-left: 4px;
}
.je-summary-actions {
display: flex;
align-items: center;
gap: 10px;
}
.je-btn-recharge,
.je-btn-withdraw {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 10px 22px;
border-radius: 999px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: all 0.25s ease;
border: none;
text-decoration: none;
}
.je-btn-recharge {
color: var(--navy-deep);
background: linear-gradient(135deg, #ffd26b, var(--gold));
box-shadow: 0 10px 22px rgba(253, 185, 51, 0.24);
}
.je-btn-recharge:hover {
box-shadow: 0 14px 28px rgba(253, 185, 51, 0.32);
transform: translateY(-2px);
}
.je-btn-withdraw {
color: var(--white);
background: linear-gradient(135deg, var(--primary), #1a3f8f);
box-shadow: 0 10px 22px rgba(16, 43, 106, 0.24);
}
.je-btn-withdraw:hover {
box-shadow: 0 14px 28px rgba(16, 43, 106, 0.32);
transform: translateY(-2px);
}
/* Table */
.je-table {
width: 100%;
border-collapse: collapse;
}
.je-table thead {
background: linear-gradient(180deg, #f8f9fc, #eef2fa);
}
.je-table thead th {
padding: 14px 20px;
font-size: 13px;
font-weight: 700;
color: var(--primary);
text-align: left;
border-bottom: 1px solid rgba(16, 43, 106, 0.08);
white-space: nowrap;
letter-spacing: 0.02em;
}
.je-table tbody td {
padding: 14px 20px;
font-size: 13px;
color: var(--text-dark);
border-bottom: 1px dashed rgba(16, 43, 106, 0.08);
transition: background 0.2s ease;
}
.je-table tbody tr:nth-child(even) td {
background: rgba(244, 246, 251, 0.5);
}
.je-table tbody tr:last-child td {
border-bottom: none;
}
.je-table tbody tr:hover td {
background: rgba(16, 43, 106, 0.04);
}
/* Capital type badges */
.je-capital-type {
display: inline-flex;
align-items: center;
padding: 4px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.02em;
}
.je-capital-points {
background: rgba(253, 185, 51, 0.12);
color: var(--gold-dark);
}
.je-capital-balance {
background: rgba(16, 43, 106, 0.12);
color: var(--primary);
}
.je-capital-sales {
background: rgba(39, 174, 96, 0.12);
color: var(--green);
}
.je-capital-expert {
background: rgba(123, 45, 142, 0.12);
color: var(--purple);
}
/* Amount styling */
.je-amount {
font-weight: 700;
font-size: 14px;
}
.je-amount-add {
color: var(--green);
}
.je-amount-add::before {
content: '+';
margin-right: 1px;
}
.je-amount-subtract {
color: var(--red);
}
/* Operation type badges */
.je-op-type {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 12px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
}
.je-op-type::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.je-op-add {
background: rgba(39, 174, 96, 0.12);
color: var(--green);
}
.je-op-add::before {
background: var(--green);
}
.je-op-subtract {
background: rgba(231, 76, 60, 0.12);
color: var(--red);
}
.je-op-subtract::before {
background: var(--red);
}
/* Pagination */
.je-pagination {
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
}
/* Empty state */
.je-empty {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
}
.je-empty-icon {
font-size: 48px;
margin-bottom: 12px;
opacity: 0.3;
}
.je-empty-text {
font-size: 14px;
}
/* ============================
TIXIAN - Withdraw Page (tixian.html)
============================ */
/* Page wrapper */
.tx-page {
max-width: 900px;
margin: 0 auto;
padding: 20px 16px;
min-height: 100vh;
background: var(--bg-light);
}
/* Card */
.tx-card {
background: #fff;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
overflow: hidden;
margin-bottom: 20px;
}
.tx-card-header {
background: linear-gradient(135deg, var(--primary) 0%, #1a3f8f 100%);
padding: 24px 28px;
text-align: center;
}
.tx-card-title {
font-size: 20px;
font-weight: 700;
color: #fff;
margin: 0;
}
/* Balance info */
.tx-balance-info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 24px;
background: linear-gradient(90deg, rgba(16, 43, 106, 0.04) 0%, rgba(241, 90, 34, 0.04) 100%);
border-bottom: 1px solid var(--border-light);
}
.tx-balance-label {
font-size: 14px;
font-weight: 600;
color: var(--text-muted);
}
.tx-balance-value {
font-size: 24px;
font-weight: 700;
color: var(--orange);
}
/* Amount input */
.tx-amount-input {
width: 100%;
height: 48px;
padding: 0 16px;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
font-size: 16px;
font-weight: 600;
outline: none;
transition: all 0.25s ease;
background: var(--bg-light);
color: var(--text-dark);
box-sizing: border-box;
}
.tx-amount-input::placeholder {
color: var(--text-muted);
font-size: 14px;
font-weight: 400;
}
.tx-amount-input:focus {
border-color: var(--primary);
background: #fff;
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.1);
}
/* Method select */
.tx-method-select {
display: flex;
flex-wrap: wrap;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
}
.tx-method-select .method-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 16px 12px;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
cursor: pointer;
transition: all 0.25s ease;
background: var(--bg-light);
user-select: none;
}
.tx-method-select .method-item:hover {
border-color: var(--primary);
background: #f0f3fa;
}
.tx-method-select .method-item.active {
border-color: var(--primary);
background: #f0f3fa;
box-shadow: 0 0 0 3px rgba(16, 43, 106, 0.15);
}
.tx-method-select .method-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
margin-bottom: 8px;
}
.tx-method-select .method-icon.alipay {
background: #1677ff;
color: #fff;
}
.tx-method-select .method-icon.wechat {
background: #07c160;
color: #fff;
}
.tx-method-select .method-icon.bank {
background: var(--primary);
color: #fff;
}
.tx-method-select .method-name {
font-size: 13px;
font-weight: 600;
color: var(--text-dark);
}
/* Form group inside card body */
.tx-card .tx-form-body {
padding: 24px 28px;
}
.tx-card .tx-form-group {
margin-bottom: 20px;
}
.tx-card .tx-form-group:last-child {
margin-bottom: 0;
}
.tx-card .tx-form-label {
display: block;
font-size: 14px;
font-weight: 600;
color: var(--text-dark);
margin-bottom: 8px;
}
/* Submit button */
.tx-btn-submit {
display: block;
width: 100%;
padding: 14px;
border: none;
border-radius: var(--radius-md);
font-size: 16px;
font-weight: 700;
background: linear-gradient(135deg, var(--primary), #1a3f8f);
color: #fff;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
letter-spacing: 1px;
margin-top: 24px;
}
.tx-btn-submit::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
.tx-btn-submit:hover::before {
left: 100%;
}
.tx-btn-submit:hover {
box-shadow: 0 6px 20px rgba(16, 43, 106, 0.4);
transform: translateY(-2px);
}
.tx-btn-submit:active {
transform: translateY(0);
box-shadow: 0 2px 8px rgba(16, 43, 106, 0.3);
}
.tx-btn-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
/* Tips section */
.tx-tips {
padding: 16px 28px 24px;
border-top: 1px solid var(--border-light);
background: #fafbfe;
}
.tx-tips .tx-tips-title {
font-size: 13px;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 8px;
}
.tx-tip-item {
font-size: 12px;
color: var(--text-muted);
line-height: 1.8;
padding-left: 14px;
position: relative;
}
.tx-tip-item::before {
content: '';
position: absolute;
left: 0;
top: 9px;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--primary);
opacity: 0.5;
}
/* ============================
TIXIANLIST - Withdraw Records Page (tixianlist.html)
============================ */
/* Page wrapper */
.txl-page {
max-width: 900px;
margin: 0 auto;
padding: 20px 16px;
min-height: 100vh;
background: var(--bg-light);
}
/* Table box */
.txl-table-box {
background: #fff;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
overflow: hidden;
}
.txl-table-box .txl-card-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 24px;
border-bottom: 1px solid var(--border-light);
}
.txl-table-box .txl-card-title {
font-size: 18px;
font-weight: 700;
color: var(--primary);
margin: 0;
}
/* Data table */
.txl-data-table {
width: 100%;
border-collapse: collapse;
}
.txl-data-table thead th {
padding: 14px 20px;
font-size: 13px;
font-weight: 600;
color: var(--primary);
text-align: left;
background: #f8f9fc;
border-bottom: 1px solid var(--border-light);
white-space: nowrap;
}
.txl-data-table tbody td {
padding: 14px 20px;
font-size: 13px;
color: var(--text-dark);
border-bottom: 1px solid var(--border-light);
transition: background 0.2s ease;
}
.txl-data-table tbody tr:last-child td {
border-bottom: none;
}
.txl-data-table tbody tr:hover td {
background: #fafbfe;
}
/* Amount styling */
.txl-data-table .txl-amount {
font-weight: 700;
}
.txl-data-table .txl-amount.negative {
color: var(--red);
}
.txl-data-table .txl-amount.negative::before {
content: '-';
}
/* Method badge */
.txl-data-table .txl-method {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 13px;
font-weight: 500;
}
.txl-data-table .txl-method.wechat {
color: #07c160;
}
.txl-data-table .txl-method.alipay {
color: #1677ff;
}
.txl-data-table .txl-method.bank {
color: var(--primary);
}
/* Status badges */
.txl-status {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 12px;
border-radius: 10px;
font-size: 12px;
font-weight: 600;
line-height: 1.6;
}
.txl-status::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.txl-status-success {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 12px;
border-radius: 10px;
font-size: 12px;
font-weight: 600;
background: rgba(40, 167, 69, 0.12);
color: var(--green);
line-height: 1.6;
}
.txl-status-success::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--green);
flex-shrink: 0;
}
.txl-status-pending {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 12px;
border-radius: 10px;
font-size: 12px;
font-weight: 600;
background: rgba(255, 193, 7, 0.15);
color: #b8860b;
line-height: 1.6;
}
.txl-status-pending::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: #ffc107;
flex-shrink: 0;
animation: pulse-dot 1.5s ease-in-out infinite;
}
.txl-status-fail {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 3px 12px;
border-radius: 10px;
font-size: 12px;
font-weight: 600;
background: rgba(220, 53, 69, 0.12);
color: var(--red);
line-height: 1.6;
}
.txl-status-fail::before {
content: '';
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--red);
flex-shrink: 0;
}
/* Generic status class (for dynamic class assignment) */
.txl-status.success {
background: rgba(40, 167, 69, 0.12);
color: var(--green);
}
.txl-status.success::before {
background: var(--green);
}
.txl-status.pending {
background: rgba(255, 193, 7, 0.15);
color: #b8860b;
}
.txl-status.pending::before {
background: #ffc107;
animation: pulse-dot 1.5s ease-in-out infinite;
}
.txl-status.fail,
.txl-status.failed {
background: rgba(220, 53, 69, 0.12);
color: var(--red);
}
.txl-status.fail::before,
.txl-status.failed::before {
background: var(--red);
}
/* Pagination */
.txl-pagination {
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
gap: 4px;
}
.txl-pagination .page-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 36px;
height: 36px;
padding: 0 10px;
border: 1px solid var(--border-light);
border-radius: var(--radius-md);
font-size: 13px;
font-weight: 600;
color: var(--text-dark);
background: #fff;
cursor: pointer;
transition: all 0.25s ease;
}
.txl-pagination .page-btn:hover {
border-color: var(--primary);
color: var(--primary);
}
.txl-pagination .page-btn.active {
background: var(--primary);
border-color: var(--primary);
color: #fff;
}
.txl-pagination .page-btn.disabled {
opacity: 0.4;
cursor: not-allowed;
}
/* Empty state */
.txl-empty {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
}
.txl-empty-icon {
font-size: 48px;
margin-bottom: 12px;
opacity: 0.3;
}
.txl-empty-text {
font-size: 14px;
}
/* ============================
Animations
============================ */
@keyframes pulse-dot {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.3;
}
}
@keyframes fade-in-up {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.cz-card,
.tx-card,
.je-table-box,
.txl-table-box {
animation: fade-in-up 0.35s ease-out;
}
.cz-amount-item {
animation: fade-in-up 0.3s ease-out;
animation-fill-mode: backwards;
}
.cz-amount-item:nth-child(1) { animation-delay: 0.03s; }
.cz-amount-item:nth-child(2) { animation-delay: 0.06s; }
.cz-amount-item:nth-child(3) { animation-delay: 0.09s; }
.cz-amount-item:nth-child(4) { animation-delay: 0.12s; }
.cz-amount-item:nth-child(5) { animation-delay: 0.15s; }
.cz-amount-item:nth-child(6) { animation-delay: 0.18s; }
/* ============================
QR Code Section (Recharge)
============================ */
.cz-qrcode-section {
display: none;
padding: 32px 28px;
text-align: center;
}
.cz-qrcode-section.show {
display: block;
}
.cz-qrcode-title {
font-size: 18px;
font-weight: 700;
color: var(--primary);
margin-bottom: 4px;
}
.cz-qrcode-subtitle {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 16px;
}
.cz-qrcode-amount {
font-size: 28px;
font-weight: 700;
color: var(--orange);
margin-bottom: 16px;
}
.cz-qrcode-wrap {
display: inline-block;
padding: 16px;
background: #fff;
border: 2px solid var(--border-light);
border-radius: var(--radius-md);
margin-bottom: 12px;
}
.cz-qrcode-wrap img,
.cz-qrcode-wrap canvas {
display: block;
width: 200px;
height: 200px;
}
.cz-qrcode-hint {
font-size: 13px;
color: var(--text-muted);
margin-top: 8px;
}
.cz-qrcode-timer {
font-size: 13px;
color: var(--orange);
margin-top: 8px;
font-weight: 600;
}
/* Payment status overlay */
.cz-payment-status {
text-align: center;
padding: 48px 28px;
}
.cz-payment-status .status-icon {
width: 64px;
height: 64px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
font-size: 30px;
}
.cz-payment-status .status-icon.success {
background: rgba(40, 167, 69, 0.12);
color: var(--green);
}
.cz-payment-status .status-icon.timeout {
background: rgba(255, 193, 7, 0.15);
color: #ffc107;
}
.cz-payment-status .status-icon.fail {
background: rgba(220, 53, 69, 0.12);
color: var(--red);
}
.cz-payment-status .status-title {
font-size: 20px;
font-weight: 700;
color: var(--text-dark);
margin-bottom: 8px;
}
.cz-payment-status .status-desc {
font-size: 13px;
color: var(--text-muted);
}
/* ============================
Responsive Styles
============================ */
/* Tablets and small desktops */
@media (max-width: 768px) {
.cz-page,
.je-container,
.tx-page,
.txl-page {
padding: 16px 12px;
}
.cz-card-header,
.tx-card-header {
padding: 20px;
}
.cz-card-title,
.tx-card-title {
font-size: 18px;
}
.cz-amount-grid {
padding: 20px 20px 8px;
}
.cz-custom-amount {
padding: 8px 20px 16px;
}
.cz-pay-methods {
padding: 0 20px 20px;
}
.cz-btn-submit {
width: calc(100% - 40px);
margin: 0 20px 20px;
}
.cz-balance-display,
.tx-balance-info {
padding: 14px 20px;
}
.cz-balance-value,
.tx-balance-value {
font-size: 22px;
}
.je-summary {
padding: 16px 20px;
}
.je-summary-value {
font-size: 24px;
}
.je-table thead th,
.je-table tbody td,
.txl-data-table thead th,
.txl-data-table tbody td {
padding: 12px 16px;
}
.tx-card .tx-form-body {
padding: 20px;
}
.tx-tips {
padding: 14px 20px 20px;
}
}
/* Mobile devices */
@media (max-width: 640px) {
.cz-page,
.je-container,
.tx-page,
.txl-page {
padding: 12px 8px;
}
/* Recharge: 2-column amount grid on mobile */
.cz-amount-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
padding: 16px 16px 8px;
}
.cz-amount-item {
padding: 14px 10px;
}
.cz-amount-item .amount-value {
font-size: 18px;
}
.cz-custom-amount {
padding: 8px 16px 16px;
}
.cz-pay-methods {
padding: 0 16px 16px;
}
.cz-btn-submit {
width: calc(100% - 32px);
margin: 0 16px 16px;
padding: 12px;
font-size: 15px;
}
.cz-balance-display {
padding: 12px 16px;
}
.cz-balance-label {
font-size: 13px;
}
.cz-balance-value {
font-size: 20px;
}
/* Balance details: scrollable tabs */
.je-tabs {
border-radius: 0;
}
.je-tab {
padding: 12px 16px;
font-size: 13px;
}
.je-summary {
flex-direction: column;
gap: 8px;
text-align: center;
}
.je-summary-value {
font-size: 22px;
}
/* Responsive table with horizontal scroll */
.je-card {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.je-table thead th,
.je-table tbody td,
.txl-data-table thead th,
.txl-data-table tbody td {
padding: 10px 12px;
font-size: 12px;
white-space: nowrap;
}
/* Withdraw: method select 1 column on small mobile */
.tx-method-select {
grid-template-columns: 1fr;
gap: 10px;
}
.tx-method-select .method-item {
flex-direction: row;
gap: 12px;
padding: 12px 16px;
}
.tx-method-select .method-icon {
margin-bottom: 0;
width: 36px;
height: 36px;
}
.tx-card .tx-form-body {
padding: 16px;
}
.tx-balance-info {
padding: 12px 16px;
}
.tx-balance-value {
font-size: 20px;
}
.tx-btn-submit {
padding: 12px;
font-size: 15px;
margin-top: 16px;
}
.tx-tips {
padding: 12px 16px 16px;
}
.tx-tip-item {
font-size: 11px;
}
/* Pagination compact on mobile */
.je-pagination,
.txl-pagination {
padding: 12px;
gap: 2px;
}
.je-pagination .page-btn,
.txl-pagination .page-btn {
min-width: 32px;
height: 32px;
font-size: 12px;
padding: 0 6px;
}
}
/* Very small screens */
@media (max-width: 380px) {
.cz-amount-grid {
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.cz-amount-item .amount-value {
font-size: 16px;
}
.cz-amount-item .amount-gift {
font-size: 11px;
}
.cz-card-title,
.tx-card-title {
font-size: 16px;
}
.je-summary-value,
.cz-balance-value,
.tx-balance-value {
font-size: 18px;
}
}