/* Deposit Page Styles - Dark Gaming Theme */
.deposit-section {
    padding: 60px 0;
}

.deposit-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.deposit-header {
    background: linear-gradient(135deg, var(--primary-dark), rgba(6, 182, 212, 0.5));
    padding: 22px 30px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.deposit-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--neon-cyan));
}

.deposit-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.deposit-balance {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.06);
    border-bottom: 1px solid var(--glass-border);
    gap: 12px;
}

.balance-label {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-right: 6px;
}

.balance-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--neon-cyan);
}

/* Form Styles */
.deposit-form {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.deposit-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-select,
.form-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    font-size: 1.4rem;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: "Fz Poppins", sans-serif;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-select:focus,
.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.05);
}

.form-select:hover,
.form-input:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.receive-amount {
    flex: 1;
    padding: 12px 15px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.captcha-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.captcha-image {
    margin-bottom: 10px;
    cursor: pointer;
}

.captcha-image img {
    border-radius: var(--border-radius-sm);
    max-width: 100%;
    height: auto;
    border: 1px solid var(--glass-border);
}

.deposit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--neon-cyan));
    color: white;
    border: none;
    border-radius: var(--border-radius-pill);
    padding: 14px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.35);
    font-family: "Fz Poppins", sans-serif;
    position: relative;
    overflow: hidden;
}

.deposit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.deposit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.5);
    color: white;
}

.deposit-btn:hover::before {
    left: 100%;
}

/* Notice Styles */
.deposit-notice {
    margin: 20px 0;
    padding: 18px 20px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.notice-header {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.notice-content {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.notice-warning {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f87171;
}

/* History Styles */
.deposit-history {
    margin: 30px 0;
    padding-bottom: 30px;
}

.history-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 0.5px;
}

.history-table-container {
    overflow-x: auto;
}

.history-table th {
    background: rgba(139, 92, 246, 0.1);
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: 1.3rem;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.history-table td {
    font-size: 1.4rem;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-bottom: 1px solid var(--glass-border);
}

.history-table tr:hover td {
    background: rgba(139, 92, 246, 0.05);
}

/* Bank Account Cards */
.bank-accounts-container {
    margin-bottom: 30px;
}

.bank-accounts-title {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.7rem;
    color: var(--primary-light);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bank-accounts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bank-account-item {
    display: flex;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.bank-account-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-md), 0 0 20px rgba(139, 92, 246, 0.1);
}

.bank-account-info {
    flex: 1;
    padding: 20px;
}

.bank-details {
    flex: 1;
}

.bank-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.account-number,
.branch,
.note,
.auto-confirm {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 1.4rem;
}

.label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 110px;
}

.value {
    font-weight: 500;
    color: var(--text-secondary);
}

.auto-confirm .value.auto {
    color: var(--neon-green);
    font-weight: 700;
}

.auto-confirm .value.manual {
    color: var(--neon-yellow);
    font-weight: 700;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--neon-cyan);
    cursor: pointer;
    padding: 2px 6px;
    transition: all 0.2s;
    font-size: 1.3rem;
}

.copy-btn:hover {
    color: var(--primary-light);
}

.bank-qr-code {
    width: 250px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--glass-border);
}

.bank-qr-code img {
    width: 210px;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    background: white;
    border-radius: var(--border-radius-sm);
    padding: 4px;
}

.qr-image-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qr-note {
    margin-top: 10px;
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Buttons */
.btn--card {
    background: linear-gradient(135deg, var(--primary-color), var(--neon-cyan));
    color: white;
}

.btn--google {
    background: linear-gradient(135deg, #ea4335, #c5341e);
    color: white;
}

.btn--google:hover {
    background: linear-gradient(135deg, #c5341e, #a02b17);
    color: white;
}

.btn--rejected {
    background: linear-gradient(135deg, var(--danger), var(--danger-dark));
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .deposit-section { padding: 40px 0; }
    .deposit-header { padding: 15px 20px; }
    .deposit-title { font-size: 1.9rem; }
    .deposit-form { padding: 20px; }
    .form-row { flex-direction: column; align-items: flex-start; }
    .history-table th, .history-table td { padding: 10px; font-size: 1.3rem; }
    .bank-account-item { flex-direction: column; }
    .bank-account-info { padding: 15px; }
    .bank-qr-code { width: 100%; border-left: none; border-top: 1px solid var(--glass-border); }
    .bank-qr-code img { width: min(78vw, 260px); max-height: 320px; }
}

@media (max-width: 480px) {
    .deposit-section { padding: 30px 0; }
    .deposit-header { padding: 12px 15px; }
    .deposit-title { font-size: 1.7rem; }
    .balance-label, .balance-value { font-size: 1.4rem; }
    .deposit-form { padding: 15px; }
    .form-select, .form-input, .receive-amount { padding: 10px; font-size: 1.4rem; }
    .deposit-btn { padding: 12px; font-size: 1.5rem; }
    .notice-header { font-size: 1.5rem; }
    .notice-content, .notice-warning { font-size: 1.4rem; }
    .history-header { font-size: 1.6rem; }
}
