
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}

body {
    background-color: #f4f6f5;
    padding: 20px;
    display: flex;
    justify-content: center;
}


.wallet-page-container {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
}


.wallet-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.back-btn-link {
    font-size: 20px;
    font-weight: 700;
    color: #112d22;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.back-btn-link:hover {
    color: #1b4332;
}


.balance-card {
    background: linear-gradient(135deg, #112d22, #1b4332);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.balance-info p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}
.balance-info h2 {
    font-size: 38px;
    font-weight: 700;
    color: #ffb703;
}
.wallet-icon i {
    font-size: 50px;
    opacity: 0.25;
}


.wallet-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}
.w-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.add-money-btn {
    background-color: #1b4332;
    color: white;
}
.add-money-btn:hover {
    background-color: #112d22;
}
.withdraw-btn {
    background-color: #ffb703;
    color: #112d22;
}
.withdraw-btn:hover {
    background-color: #e0a100;
}


.transaction-section h3 {
    margin-bottom: 15px;
    color: #112d22;
    font-size: 18px;
}
.table-responsive {
    overflow-x: auto;
}
.tx-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.tx-table th, .tx-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}
.tx-table th {
    background-color: #f8faf9;
    color: #112d22;
    font-weight: 600;
}


.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}
.status-badge.pending {
    background: #ffe3b3;
    color: #b37400;
}
.status-badge.approved {
    background: #d4edda;
    color: #155724;
}


.custom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    position: relative;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close-modal-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
}
.close-modal-btn:hover { color: #000; }

.instruction {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* মেথড কার্ড */
.payment-methods {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}
.method-card {
    flex: 1;
    padding: 12px 5px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}
.method-card:hover { border-color: #1b4332; }
.method-card.selected {
    border-color: #1b4332;
    background: #e8f5e9;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}
.form-group input:focus { border-color: #1b4332; }

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1b4332;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
.submit-btn:hover { background: #112d22; }
.withdraw-submit { background: #ffb703; color: #112d22; }
.withdraw-submit:hover { background: #e0a100; }


@media screen and (max-width: 500px) {
    .wallet-actions { flex-direction: column; gap: 10px; }
    .balance-card { padding: 20px; }
    .balance-info h2 { font-size: 30px; }
    .payment-methods { flex-direction: column; }
}