/* ============================================
   DASHBOARD PAGES - COMMON STYLES
   All history pages, referrals, edit account, security
   ============================================ */

/* Page Header - Modern Design */
.page-header-modern {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.page-icon-wrapper.withdraw {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.page-icon-wrapper.earnings {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.page-icon-wrapper.referrals {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-color: rgba(124, 58, 237, 0.3);
    color: #7c3aed;
}

.page-icon-wrapper.edit {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.page-icon-wrapper.security {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .page-header-modern {
        padding: 20px;
    }
    
    .page-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}






















/* ============================================
   DEPOSIT LIST PAGE - MODERN DESIGN
   ============================================ */

/* Page Header */
.page-header-modern {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

.page-header-stats {
    display: flex;
    gap: 20px;
}

.header-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
}

.header-stat-item i {
    font-size: 28px;
    color: #00d4ff;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #00d4ff;
}

/* Deposits Container */
.deposits-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Deposit Plan Card */
.deposit-plan-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

.plan-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.plan-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.plan-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    font-size: 28px;
    color: #00d4ff;
}

.plan-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.plan-period {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

.plan-total-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
}

/* Plan Options Section */
.plan-options-section {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0 0 20px 0;
}

.section-subtitle i {
    font-size: 20px;
}

.plan-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.plan-option-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.plan-option-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.option-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.option-details {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.option-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
}

.detail-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.profit-value {
    color: #10b981;
}

/* User Deposits Section */
.user-deposits-section {
    padding: 30px;
}

/* No Deposits Message */
.no-deposits-message {
    text-align: center;
    padding: 60px 30px;
}

.no-data-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    font-size: 48px;
    color: #00d4ff;
}

.no-deposits-message h4 {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.no-deposits-message p {
    color: #9ca3af;
    margin: 0 0 25px 0;
}

.btn-make-deposit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-make-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Deposits Table */
.deposits-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.deposits-table {
    width: 100%;
    border-collapse: collapse;
}

.deposits-table thead {
    background: rgba(0, 212, 255, 0.1);
}

.deposits-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.deposits-table th i {
    margin-right: 8px;
}

.deposit-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.deposit-row:hover {
    background: rgba(0, 212, 255, 0.05);
}

.deposits-table td {
    padding: 20px;
}

.date-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deposit-date {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.expire-info {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
}

.amount-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amount-value {
    font-size: 18px;
    font-weight: 800;
    color: #00d4ff;
}

.payment-icon {
    height: 20px;
    border-radius: 4px;
}

.compound-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.compound-value {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.btn-change-compound {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-change-compound:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.btn-release {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-release:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pending-duration,
.not-available {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}

/* Plan Statistics */
.plan-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.4);
}

.stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
}

.stat-icon.deposited {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.stat-icon.today {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.stat-icon.total {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-info .stat-label {
    font-size: 12px;
    color: #9ca3af;
}

.stat-info .stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .plan-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .plan-options-grid {
        grid-template-columns: 1fr;
    }
    
    .deposits-table-wrapper {
        overflow-x: scroll;
    }
    
    .plan-statistics {
        grid-template-columns: 1fr;
    }
}















/* ============================================
   DEPOSIT HISTORY PAGE - MODERN DESIGN
   ============================================ */

/* Page Header - Reusing from deposit_list */
.page-header-modern {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Filter Card */
.filter-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideUp 0.5s ease-out;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-header i {
    font-size: 22px;
    color: #00d4ff;
}

.filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.filter-form {
    width: 100%;
}

.date-range-container {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 25px;
    align-items: end;
}

.date-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #00d4ff;
}

.date-label i {
    font-size: 16px;
}

.date-selects {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 10px;
}

.date-select {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-select:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
}

.date-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-filter {
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-filter i {
    font-size: 16px;
}

/* History Card */
.history-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.history-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.history-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0;
}

.history-header h3 i {
    font-size: 22px;
}

/* History Table */
.history-table-wrapper {
    overflow-x: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: rgba(0, 212, 255, 0.1);
}

.history-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #00d4ff;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    white-space: nowrap;
}

.history-table th i {
    margin-right: 8px;
}

.history-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.history-row:hover {
    background: rgba(0, 212, 255, 0.05);
}

.history-table td {
    padding: 20px;
}

.trans-date {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.trans-type-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trans-type {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.trans-desc {
    font-size: 13px;
    color: #9ca3af;
}

.amount-credit {
    font-size: 16px;
    font-weight: 800;
    color: #10b981;
}

.amount-debit {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
}

.amount-balance {
    font-size: 16px;
    font-weight: 800;
    color: #00d4ff;
}

.amount-empty {
    color: #6b7280;
    font-size: 18px;
}

.payment-icon {
    height: 20px;
    border-radius: 4px;
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 60px 30px;
}

.no-data-message i {
    font-size: 64px;
    color: #00d4ff;
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-data-message p {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
}

/* History Summary */
.history-summary {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.summary-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0 0 15px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.4);
}

.summary-item i {
    font-size: 28px;
}

.summary-item.credit i {
    color: #10b981;
}

.summary-item.debit i {
    color: #ef4444;
}

.summary-item.balance i {
    color: #00d4ff;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Transactions List (Standard Mode) */
.transactions-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.transaction-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.transaction-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.transaction-type i {
    color: #00d4ff;
    font-size: 18px;
}

.transaction-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}

.transaction-amount .amount {
    font-size: 20px;
    font-weight: 800;
    color: #00d4ff;
}

.transaction-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.transaction-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    flex: 1;
}

.transaction-desc i {
    color: #00d4ff;
}

.transaction-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

.transaction-date i {
    color: #00d4ff;
}

/* Simple Summary */
.history-summary-simple {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
}

.summary-row.total {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-color: rgba(0, 212, 255, 0.4);
}

.summary-row .summary-label {
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
}

.summary-row .summary-value {
    font-size: 22px;
    font-weight: 800;
    color: #00d4ff;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .date-range-container {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .filter-card {
        padding: 20px;
    }
    
    .date-selects {
        grid-template-columns: 1fr;
    }
    
    .history-table-wrapper {
        overflow-x: scroll;
    }
    
    .transaction-details {
        flex-direction: column;
        align-items: flex-start;
    }
}










/* Withdrawal History Page - Modern Design */
.page-header-modern {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper.withdraw {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Filter Card */
.filter-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideUp 0.5s ease-out;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-header i {
    font-size: 22px;
    color: #00d4ff;
}

.filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.filter-form {
    width: 100%;
}

.date-range-container {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 25px;
    align-items: end;
}

.date-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #00d4ff;
}

.date-selects {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 10px;
}

.date-select {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-select:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
}

.date-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-filter {
    padding: 12px 30px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Withdrawal Card */
.withdrawal-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.withdrawal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-bottom: 1px solid rgba(239, 68, 68, 0.2);
}

.withdrawal-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #ef4444;
    margin: 0;
}

/* Withdrawal Table */
.withdrawal-table-wrapper {
    overflow-x: auto;
}

.withdrawal-table {
    width: 100%;
    border-collapse: collapse;
}

.withdrawal-table thead {
    background: rgba(239, 68, 68, 0.1);
}

.withdrawal-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

.withdrawal-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.withdrawal-row:hover {
    background: rgba(239, 68, 68, 0.05);
}

.withdrawal-table td {
    padding: 20px;
}

.trans-date {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.trans-type-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trans-type {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.trans-desc {
    font-size: 13px;
    color: #9ca3af;
}

.debit-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amount-credit {
    font-size: 16px;
    font-weight: 800;
    color: #10b981;
}

.amount-debit {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
}

.amount-balance {
    font-size: 16px;
    font-weight: 800;
    color: #00d4ff;
}

.amount-empty {
    color: #6b7280;
    font-size: 18px;
}

.payment-icon {
    height: 20px;
    border-radius: 4px;
}

.btn-cancel-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    color: #ef4444;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel-small:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 60px 30px;
}

.no-data-message i {
    font-size: 64px;
    color: #ef4444;
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-data-message p {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
}

/* Withdrawal Summary */
.withdrawal-summary {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.summary-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 15px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 68, 68, 0.4);
}

.summary-item i {
    font-size: 28px;
}

.summary-item.credit i {
    color: #10b981;
}

.summary-item.debit i {
    color: #ef4444;
}

.summary-item.balance i {
    color: #00d4ff;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Withdrawals List (Standard Mode) */
.withdrawals-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.withdrawal-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.withdrawal-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

.withdrawal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdrawal-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.withdrawal-type i {
    color: #ef4444;
    font-size: 18px;
}

.withdrawal-amount-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.withdrawal-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}

.withdrawal-amount .amount {
    font-size: 20px;
    font-weight: 800;
    color: #ef4444;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.withdrawal-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.withdrawal-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    flex: 1;
}

.withdrawal-desc i {
    color: #ef4444;
}

.withdrawal-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

.withdrawal-date i {
    color: #ef4444;
}

/* Simple Summary */
.withdrawal-summary-simple {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
}

.summary-row.total {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(239, 68, 68, 0.4);
}

.summary-row .summary-label {
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
}

.summary-row .summary-value {
    font-size: 22px;
    font-weight: 800;
    color: #ef4444;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .date-range-container {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .filter-card {
        padding: 20px;
    }
    
    .date-selects {
        grid-template-columns: 1fr;
    }
    
    .withdrawal-table-wrapper {
        overflow-x: scroll;
    }
    
    .withdrawal-details {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .withdrawal-amount-section {
        flex-direction: column;
        align-items: flex-end;
    }
}














/* Referrals Page - Modern Design */
.page-header-modern {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper.referrals {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #7c3aed;
    border: 2px solid rgba(124, 58, 237, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Upline Card */
.upline-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    margin-bottom: 30px;
    animation: slideUp 0.5s ease-out;
}

.upline-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    font-size: 24px;
    color: #7c3aed;
}

.upline-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.upline-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
}

.upline-name {
    font-size: 18px;
    font-weight: 700;
    color: #7c3aed;
    text-decoration: none;
    transition: all 0.3s ease;
}

.upline-name:hover {
    color: #00d4ff;
}

/* Referral Stats Grid */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-ref {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: slideUp 0.6s ease-out;
}

.stat-card-ref:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-card-ref.total {
    border-color: rgba(124, 58, 237, 0.3);
}

.stat-card-ref.active {
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-card-ref.commission {
    border-color: rgba(251, 191, 36, 0.3);
}

.stat-card-ref .stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
}

.stat-card-ref.total .stat-icon {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.stat-card-ref.active .stat-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.stat-card-ref.commission .stat-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.stat-card-ref .stat-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-card-ref .stat-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 600;
}

.stat-card-ref .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

/* Referral Section Card */
.referral-section-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    animation: slideUp 0.7s ease-out;
}

.section-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #7c3aed;
    margin: 0;
}

/* Date Filter Section */
.date-filter-section {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-form-inline {
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    white-space: nowrap;
}

.date-selects-inline {
    display: flex;
    gap: 8px;
}

.date-select-small {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-select-small:hover {
    border-color: rgba(0, 212, 255, 0.5);
}

.date-select-small:focus {
    outline: none;
    border-color: #00d4ff;
}

.btn-filter-small {
    padding: 8px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-filter-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

/* Stats Table */
.stats-table-wrapper {
    padding: 20px 30px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table thead {
    background: rgba(124, 58, 237, 0.1);
}

.stats-table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(124, 58, 237, 0.3);
}

.stats-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stats-row:hover {
    background: rgba(124, 58, 237, 0.05);
}

.stats-table td {
    padding: 15px;
}

.stat-date {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.stat-number {
    font-size: 15px;
    font-weight: 700;
    color: #9ca3af;
}

.stat-number.highlight {
    color: #7c3aed;
}

.no-data-message-small {
    text-align: center;
    padding: 40px 20px;
}

.no-data-message-small i {
    font-size: 48px;
    color: #7c3aed;
    opacity: 0.3;
    margin-bottom: 15px;
}

.no-data-message-small p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Referrals List */
.referrals-list {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.referral-item-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.referral-item-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.referral-main-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.referral-avatar {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    font-size: 32px;
    color: #7c3aed;
    flex-shrink: 0;
}

.referral-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.referral-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.referral-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.referral-email:hover {
    color: #7c3aed;
}

.referral-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.status-badge.inactive {
    background: rgba(156, 163, 175, 0.2);
    border: 1px solid rgba(156, 163, 175, 0.4);
    color: #9ca3af;
}

.referral-sub-stats {
    padding: 15px;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.sub-stats-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 10px;
}

.sub-stats-items {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

.sub-stat-item strong {
    color: #ffffff;
}

.referral-source {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.source-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.source-link:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* Multilevel Summary */
.multilevel-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item-ref {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
}

.summary-item-ref i {
    font-size: 24px;
    color: #7c3aed;
}

.summary-label-ref {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.summary-value-ref {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #7c3aed;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .referral-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group-inline {
        flex-direction: column;
        align-items: stretch;
    }
    
    .date-selects-inline {
        flex-direction: column;
    }
    
    .btn-filter-small {
        width: 100%;
        justify-content: center;
    }
    
    .referral-main-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .multilevel-summary {
        grid-template-columns: 1fr;
    }
}



















/* Edit Account Page - Modern Form Design */
.page-header-modern {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper.edit {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Alert Messages */
.alert-success {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.alert-success i {
    font-size: 24px;
    color: #10b981;
}

.alert-success span {
    font-size: 15px;
    font-weight: 600;
    color: #10b981;
}

.alert-error {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.alert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    font-size: 20px;
    color: #ef4444;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 10px 0;
}

.alert-content ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.alert-content li {
    font-size: 14px;
    color: #fca5a5;
    margin-bottom: 5px;
}

/* Form Sections */
.edit-account-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.form-section-header i {
    font-size: 20px;
    color: #3b82f6;
}

.form-section-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    margin: 0;
}

.form-section-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #00d4ff;
}

.form-label.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 4px;
}

.form-label i {
    font-size: 14px;
}

.form-input,
.form-select {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:hover,
.form-select:hover {
    border-color: rgba(0, 212, 255, 0.5);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-value-display {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #9ca3af;
    font-size: 14px;
}

.form-hint {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}

/* Checkbox */
.form-checkbox-group {
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.checkbox-text i {
    color: #00d4ff;
}

/* Input with Action */
.input-with-action {
    display: flex;
    gap: 10px;
}

.input-with-action .form-input {
    flex: 1;
}

.btn-delete-wap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-delete-wap:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

/* Captcha */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-image {
    border-radius: 8px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.captcha-group .form-input {
    max-width: 200px;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-submit i {
    font-size: 18px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


















/* Security Page - Modern Design */
.page-header-modern {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper.security {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Security Form */
.security-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Security Section Card */
.security-section-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.security-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.section-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    flex-shrink: 0;
}

.section-icon.ip {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.section-icon.browser {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.section-info {
    flex: 1;
}

.section-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 5px 0;
}

.section-info p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Security Options */
.security-options {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.security-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.security-option:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.option-radio {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.option-header i {
    font-size: 18px;
    color: #00d4ff;
}

.option-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.recommended {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.option-description {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

.option-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.security-option:has(.option-radio:checked) {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.05);
}

.security-option:has(.option-radio:checked) .option-indicator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.security-option:has(.option-radio:checked) .option-indicator::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
}

/* Security Tips Card */
.security-tips-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    padding: 30px;
    animation: slideUp 0.7s ease-out;
}

.tips-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tips-header i {
    font-size: 24px;
    color: #fbbf24;
}

.tips-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
    margin: 0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(251, 191, 36, 0.05);
    border-left: 3px solid #fbbf24;
    border-radius: 6px;
}

.tips-list li i {
    font-size: 16px;
    color: #fbbf24;
    flex-shrink: 0;
}

.tips-list li span {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.btn-save-security {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-save-security:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-save-security i {
    font-size: 18px;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }
    
    .security-section-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .security-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .option-indicator {
        position: absolute;
        top: 20px;
        right: 25px;
    }
}




/* Two Column Grid for IP & Browser Cards */
.security-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

/* 2FA Section Card */
.tfa-section-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.7s ease-out;
    margin-bottom: 25px;
}

.tfa-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.section-icon.tfa {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.tfa-section-body {
    padding: 30px;
}

/* Alert Messages */
.alert-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* 2FA Enabled Section */
.tfa-enabled-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tfa-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    color: #10b981;
    font-size: 16px;
    font-weight: 700;
}

.tfa-status-badge i {
    font-size: 20px;
}

.tfa-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tfa-checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tfa-checkbox-option:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.tfa-checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.checkbox-content i {
    color: #00d4ff;
    font-size: 16px;
}

.tfa-disable-section {
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
}

.tfa-disable-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.tfa-disable-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.disable-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #ef4444;
}

.disable-content i {
    font-size: 18px;
}

.tfa-verify-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tfa-input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #00d4ff;
}

.tfa-input-label i {
    font-size: 16px;
}

.tfa-input-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tfa-input {
    flex: 1;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 5px;
    transition: all 0.3s ease;
}

.tfa-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.btn-tfa-update,
.btn-tfa-enable {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-tfa-update:hover,
.btn-tfa-enable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

/* 2FA Setup Section */
.tfa-setup-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tfa-setup-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tfa-step {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
}

.step-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.step-content p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.tfa-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tfa-link:hover {
    color: #7c3aed;
}

.qr-code-section {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.qr-code-image {
    border-radius: 12px;
    border: 3px solid rgba(124, 58, 237, 0.3);
    background: #ffffff;
    padding: 10px;
}

.secret-code-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.secret-code-box label {
    font-size: 14px;
    font-weight: 600;
    color: #9ca3af;
}

.secret-code {
    padding: 15px 20px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #7c3aed;
    letter-spacing: 3px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .security-grid-2col {
        grid-template-columns: 1fr;
    }
    
    .tfa-options-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .tfa-input-group {
        flex-direction: column;
    }
    
    .btn-tfa-update,
    .btn-tfa-enable {
        width: 100%;
        justify-content: center;
    }
    
    .qr-code-section {
        flex-direction: column;
    }
    
    .tfa-step {
        flex-direction: column;
    }
}












/* Reuse styles from deposit_history with earnings-specific modifications */
.page-header-modern {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideDown 0.5s ease-out;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Advanced Filter Card */
.filter-card-advanced {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    animation: slideUp 0.5s ease-out;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.filter-header i {
    font-size: 22px;
    color: #00d4ff;
}

.filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.filter-form-advanced {
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    text-transform: uppercase;
}

.filter-select,
.date-select {
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover,
.date-select:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
}

.filter-select:focus,
.date-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.date-selects {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 8px;
}

.filter-button-group {
    display: flex;
    align-items: flex-end;
}

.btn-filter-apply {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Earnings Card */
.earnings-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
    margin-bottom: 30px;
}

.earnings-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.earnings-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #10b981;
    margin: 0;
}

/* Earnings Table */
.earnings-table-wrapper {
    overflow-x: auto;
}

.earnings-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table thead {
    background: rgba(16, 185, 129, 0.1);
}

.earnings-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.earnings-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.earnings-row:hover {
    background: rgba(16, 185, 129, 0.05);
}

.earnings-table td {
    padding: 20px;
}

.trans-date {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.trans-type-cell {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trans-type {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.trans-desc {
    font-size: 13px;
    color: #9ca3af;
}

.amount-credit {
    font-size: 16px;
    font-weight: 800;
    color: #10b981;
}

.amount-debit {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
}

.amount-balance {
    font-size: 16px;
    font-weight: 800;
    color: #00d4ff;
}

.amount-empty {
    color: #6b7280;
    font-size: 18px;
}

.payment-icon {
    height: 20px;
    border-radius: 4px;
}

/* No Data Message */
.no-data-message {
    text-align: center;
    padding: 60px 30px;
}

.no-data-message i {
    font-size: 64px;
    color: #10b981;
    opacity: 0.3;
    margin-bottom: 20px;
}

.no-data-message p {
    font-size: 16px;
    color: #9ca3af;
    margin: 0;
}

/* Earnings Summary */
.earnings-summary {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.summary-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 15px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.4);
}

.summary-item i {
    font-size: 28px;
}

.summary-item.credit i {
    color: #10b981;
}

.summary-item.debit i {
    color: #ef4444;
}

.summary-item.balance i {
    color: #00d4ff;
}

.summary-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

/* Earnings List (Standard Mode) */
.earnings-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.earning-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.earning-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.earning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.earning-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.earning-type i {
    color: #10b981;
    font-size: 18px;
}

.earning-amount {
    display: flex;
    align-items: center;
    gap: 12px;
}

.earning-amount .amount {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
}

.earning-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.earning-desc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
    flex: 1;
}

.earning-desc i {
    color: #10b981;
}

.earning-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
    white-space: nowrap;
}

.earning-date i {
    color: #10b981;
}

/* Simple Summary */
.earnings-summary-simple {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

.summary-row.total {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.4);
}

.summary-row .summary-label {
    font-size: 15px;
    font-weight: 600;
    color: #9ca3af;
}

.summary-row .summary-value {
    font-size: 22px;
    font-weight: 800;
    color: #10b981;
}

/* Pagination */
.pagination-container {
    margin-top: 30px;
    animation: slideUp 0.7s ease-out;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration
}




























/* ============================================
   DEPOSIT PAGE - MODERN DESIGN
   ============================================ */

/* Page Container */
.deposit-page-container {
    padding: 40px 0;
    min-height: 100vh;
}

/* Page Header */
.deposit-page-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    animation: slideDown 0.5s ease-out;
}

.deposit-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.deposit-title-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.deposit-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 16px;
    font-size: 32px;
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.deposit-page-title {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 5px 0;
}

.deposit-page-subtitle {
    color: #9ca3af;
    font-size: 15px;
    margin: 0;
}

/* Balance Display */
.balance-display {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
}

.balance-display i {
    font-size: 24px;
    color: #00d4ff;
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.balance-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
}

.balance-value {
    font-size: 20px;
    font-weight: 800;
    color: #00d4ff;
}

/* Success/Error Messages */
.deposit-message {
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideDown 0.5s ease-out;
}

.deposit-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.deposit-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.deposit-message i {
    font-size: 24px;
}

.deposit-message span {
    font-size: 15px;
    font-weight: 600;
}

/* Deposit Form */
.deposit-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Card */
.deposit-section-card {
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

.deposit-section-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.deposit-section-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0;
}

.deposit-section-header h3 i {
    font-size: 22px;
}

.deposit-section-body {
    padding: 30px;
}

/* ============================================
   PLAN SELECTION CARDS
   ============================================ */

.plans-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.deposit-plan-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
}

.deposit-plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* Selected State */
.deposit-plan-card.selected {
    border-color: rgba(0, 212, 255, 0.8);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.deposit-plan-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

/* Selection Indicator - HIDDEN */
.plan-selection-indicator {
    display: none !important;
}

/* Featured Badge */
.plan-featured-badge {
    position: absolute;
    top: -1px;
    left: 30px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 0 0 12px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    z-index: 10;
}

/* Plan Header */
.deposit-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-plan-badge {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 1.5px;
}

.deposit-plan-badge.premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.deposit-plan-roi {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.deposit-roi-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 1px;
}

.deposit-roi-value {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Saira', sans-serif;
}

/* Plan Body */
.deposit-plan-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.deposit-plan-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    gap: 15px;
}

.deposit-hourly-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.deposit-rate-number {
    font-size: 52px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
    font-family: 'Saira', sans-serif;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.deposit-rate-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 600;
    margin-top: 8px;
}

.deposit-plan-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.deposit-duration-number {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'Saira', sans-serif;
}

.deposit-duration-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 600;
}

/* Plan Details */
.deposit-plan-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deposit-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #d1d5db;
}

.deposit-detail-item i {
    color: #00d4ff;
    font-size: 14px;
    min-width: 16px;
}

/* Hidden Radio Input */
.deposit-plan-card input[type="radio"],
.deposit-plan-card input[type="hidden"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   AMOUNT INPUT SECTION
   ============================================ */

.amount-input-section {
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
}

.amount-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.amount-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #00d4ff;
}

.amount-label i {
    font-size: 18px;
}

.amount-input-wrapper {
    position: relative;
}

.amount-currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
}

.amount-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    transition: all 0.3s ease;
    font-family: 'Saira', sans-serif;
}

.amount-input:hover {
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 212, 255, 0.05);
}

.amount-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.amount-hint {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}

/* ============================================
   PAYMENT METHOD BLOCKS
   ============================================ */

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.payment-method-block {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.payment-method-block:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.2);
}

.payment-method-block.selected {
    border-color: rgba(0, 212, 255, 0.8);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.payment-method-block.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

/* Payment Method Header */
.payment-method-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.payment-method-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 28px;
    transition: all 0.3s ease;
}

.payment-method-block.account-balance .payment-method-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.payment-method-block.external-wallet .payment-method-icon {
    background: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.payment-method-block.selected .payment-method-icon {
    transform: scale(1.1);
}

.payment-method-info {
    flex: 1;
}

.payment-method-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.payment-method-desc {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}

/* Payment Selection Indicator */
.payment-selection-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.payment-method-block.selected .payment-selection-indicator {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.payment-selection-indicator i {
    font-size: 14px;
    color: transparent;
    transition: all 0.3s ease;
}

.payment-method-block.selected .payment-selection-indicator i {
    color: #ffffff;
}

/* Payment Options List - HORIZONTAL LAYOUT */
.payment-options-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.payment-option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.payment-option-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(0, 212, 255, 0.6);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.3);
}

.payment-option-item:hover::before {
    opacity: 1;
}

.payment-option-item.selected {
    border-color: rgba(0, 212, 255, 0.9);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
}

.payment-option-item.selected::before {
    opacity: 1;
}

.payment-option-radio {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0.7;
}

.payment-option-item:hover .payment-option-radio {
    opacity: 1;
    border-color: rgba(0, 212, 255, 0.6);
}

.payment-option-item.selected .payment-option-radio {
    border-color: #00d4ff;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    opacity: 1;
}

.payment-option-item.selected .payment-option-radio::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 11px;
    color: #ffffff;
}

.payment-icon {
    height: 40px;
    width: auto;
    max-width: 80px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.payment-option-item:hover .payment-icon {
    filter: brightness(1.1);
    transform: scale(1.1);
}

.payment-option-item.selected .payment-icon {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.payment-option-label {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.payment-option-item:hover .payment-option-label {
    color: #00d4ff;
}

.payment-option-item.selected .payment-option-label {
    color: #00d4ff;
    font-weight: 700;
}

.payment-option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.deposit-submit-section {
    display: flex;
    justify-content: center;
    padding: 40px 30px;
}

.btn-deposit-submit {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 60px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-deposit-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-deposit-submit:hover::before {
    left: 100%;
}

.btn-deposit-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6);
}

.btn-deposit-submit:active {
    transform: translateY(-1px);
}

.btn-deposit-submit i {
    font-size: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

.deposit-plan-card.selected,
.payment-method-block.selected {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
    .plans-selection-grid {
        gap: 20px;
    }
    
    .deposit-rate-number {
        font-size: 42px;
    }
}

@media screen and (max-width: 1024px) {
    .plans-selection-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .deposit-page-title {
        font-size: 24px;
    }
    
    .deposit-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .deposit-plan-card {
        padding: 25px;
    }
    
    .deposit-rate-number {
        font-size: 36px;
    }
    
    .amount-input {
        font-size: 20px;
        padding: 16px 20px 16px 45px;
    }
    
    .btn-deposit-submit {
        width: 100%;
        justify-content: center;
        padding: 18px 40px;
    }
    
    .payment-options-list {
        gap: 12px;
    }
    
    .payment-option-item {
        min-width: 100px;
        padding: 15px 10px;
    }
    
    .payment-icon {
        height: 32px;
    }
    
    .payment-option-label {
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .deposit-section-body {
        padding: 20px;
    }
    
    .deposit-plan-card {
        padding: 20px;
    }
    
    .deposit-rate-number {
        font-size: 32px;
    }
    
    .payment-method-block {
        padding: 20px;
    }
    
    .payment-options-list {
        gap: 10px;
    }
    
    .payment-option-item {
        min-width: 80px;
        padding: 12px 8px;
    }
    
    .payment-icon {
        height: 28px;
    }
    
    .payment-option-label {
        font-size: 10px;
    }
}
