/* ======================================================= */
/* === Bet Pro Self Deposit - Final Original CSS Theme === */
/* ======================================================= */

/* --- Basic Reset and Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background-color: #eef2f5;
    color: #fff;
    padding-bottom: 80px;
    animation: pageFadeIn 0.6s ease-out;
}
@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Header Styles --- */
header {
    background-color: #1a2a47;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}
header .logo {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}
header h1 {
    font-size: 20px;
    font-weight: 500;
}

/* --- Main Content Area --- */
main {
    padding: 20px 15px;
}

/* --- Card Styles --- */
.card {
    background-color: #1f365c;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card h2 {
    font-size: 22px;
    margin-bottom: 20px;
}
.login-card, .signup-card, .download-card { text-align: center; }
.active-account-card, .deposit-card, .profile-card { text-align: left; }

/* --- Form & Input Styles --- */
form input {
    width: 100%;
    padding: 16px 15px;
    margin-bottom: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
}
form input::placeholder { color: #495057; opacity: 1; }

/* --- General Button Styles --- */
.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
}
.btn-signin { background-color: #3b71ca; color: #fff; }
.btn-create { background-color: #198754; color: #fff; }
.btn-download { background-color: #ffc107; color: #000; }
.btn-download i { margin-right: 8px; }
.btn-confirm-deposit, .btn-confirm-withdraw { background-color: #1a2a47; color: #fff; }
.button-group .btn-action { flex: 1; background-color: #fff; color: #343a40; border: 1px solid #dee2e6; }
.btn-logout { background-color: #2d3748; color: #fff; }

/* --- Deposit & Withdraw Page Styles (with THE FIX) --- */
.deposit-card hr { border: none; height: 1px; background-color: #4a5568; margin: 15px 0; }
.form-label { font-size: 14px; color: #cbd5e0; }
/* This class is for the OLD layout (2-3 columns) */
.payment-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
/* ** THE FIX IS HERE: This class is for the NEW 11-method layout ** */
.new-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns grid */
    gap: 10px;
}
.method-button { background-color: #fff; border: 2px solid transparent; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; height: 90px; text-align: center; }
.method-button.active { border-color: #28a745; }
.method-button img { height: 35px; max-width: 60px; margin-bottom: 8px; object-fit: contain; }
.method-button i { font-size: 35px; color: #1f365c; margin-bottom: 8px; }
.method-button span { font-size: 12px; color: #333; font-weight: 600; }
#deposit-form, #withdraw-form { margin-top: 20px; }
#deposit-form.hidden, #withdraw-form.hidden, #withdraw-content.hidden { display: none; }
#deposit-details-container.card, #withdraw-details-container.card { background-color: #fff; color: #1f365c; margin-bottom: 15px; padding: 20px; }
.details-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #e9ecef; padding-bottom: 15px; }
#deposit-form .form-group, #withdraw-form .form-group { margin-bottom: 20px; }
#withdraw-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: #495057;}
.account-info { background-color: #f8f9fa; border-radius: 8px; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
#deposit-form .copy-btn, #withdraw-form .copy-btn { background-color: transparent; border: none; color: #1f365c; cursor: pointer; }
#deposit-form input, #withdraw-form input { background-color: #f8f9fa; border: 1px solid #ced4da; }

/* --- Other Page Styles (Restored from memory) --- */
.history-page-bg { background-color: #eef2f5; }
main.centered-content { align-items: flex-start; }
#transaction-list { width: 100%; }
.transaction-item { background-color: #fff; color: #333; padding: 15px; border-radius: 8px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; border-left: 5px solid; }
.transaction-item.deposit { border-left-color: #28a745; }
.transaction-item.withdrawal { border-left-color: #dc3545; }
.tx-info { display: flex; flex-direction: column; }
.tx-type { font-weight: bold; font-size: 16px; margin-bottom: 5px; }
.tx-date { font-size: 12px; color: #6c757d; }
.tx-details { text-align: right; }
.tx-amount { font-weight: bold; font-size: 18px; display: block; }
.tx-status { font-size: 12px; font-weight: bold; padding: 3px 8px; border-radius: 12px; color: #fff; }
.status-pending { background-color: #ffc107; color: #000; }
.status-approved, .status-completed { background-color: #28a745; }
.status-rejected { background-color: #dc3545; }
.dialog-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 2000; display: flex; justify-content: center; align-items: center; }
.dialog-overlay.hidden { display: none; }
.dialog-box, .transaction-dialog { background-color: #1f365c; color: #fff; border-radius: 8px; width: 100%; max-width: 350px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.dialog-header, .transaction-dialog .dialog-header { padding: 15px 20px; font-size: 18px; font-weight: bold; text-align: left; }
.dialog-body, .transaction-dialog .dialog-body { border-top: 1px solid #4a5568; border-bottom: 1px solid #4a5568; padding: 20px; text-align: left; }
.dialog-footer, .transaction-dialog .dialog-footer { text-align: right; }
.dialog-footer button, .transaction-dialog .dialog-footer button { background: transparent; border: none; color: #fff; cursor: pointer; padding: 15px 20px; font-size: 16px; font-weight: bold; }

/* --- Bottom Navbar & Universal Icons --- */
.whatsapp-icon, .bottom-navbar { position: fixed; z-index: 1000; }
.whatsapp-icon { bottom: 95px; right: 20px; background-color: #25d366; color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.bottom-navbar { bottom: 0; left: 0; width: 100%; background-color: #116149; display: flex; justify-content: space-around; padding: 5px 0; height: 65px; box-shadow: 0 -2px 5px rgba(0,0,0,0.1); }
.nav-item { display: flex; flex-direction: column; justify-content: center; align-items: center; flex: 1; color: #a0aec0; text-decoration: none; font-size: 12px; }
.nav-item.active { color: #fff; }
.nav-item i { font-size: 20px; margin-bottom: 4px; }
.nav-item-center { position: relative; top: -20px; }
.nav-item-center .icon-background { background-color: #28a745; width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 4px solid #eef2f5; margin-bottom: 5px; }
.nav-item-center.active .icon-background { border-color: #116149; }
.nav-item-center .icon-background i { color: #fff; font-size: 24px; margin: 0; }
.nav-item-center span { position: relative; top: 15px; }

/* --- Social Proof Popup Styles --- */
.transaction-popup { position: fixed; bottom: 80px; left: 15px; background-color: #fff; color: #333; border-radius: 8px; padding: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); display: flex; align-items: center; gap: 15px; z-index: 9999; opacity: 0; transform: translateX(-120%); transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; }
.transaction-popup.show { opacity: 1; transform: translateX(0); }
.transaction-popup i { font-size: 20px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.transaction-popup i.fa-arrow-down { background-color: #28a745; }
.transaction-popup i.fa-arrow-up { background-color: #dc3545; }
.popup-content p { margin: 0; line-height: 1.3; font-size: 14px; }
.popup-content p.amount { font-size: 16px; font-weight: bold; color: #000; }

/* --- Original Styles (Restored) --- */
.instructions-card { background-color: #fff; color: #343a40; border-radius: 8px; padding: 20px; margin: 20px 0; text-align: left; }
.instruction-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; }
.instruction-item:last-child { margin-bottom: 0; }
.instruction-item i { font-size: 20px; color: #3b71ca; background-color: #e9ecef; padding: 8px; border-radius: 50%; width: 36px; height: 36px; text-align: center; }
.instruction-item p { flex: 1; font-size: 14px; line-height: 1.5; }
.button-group { display: flex; gap: 15px; }
.download-card .app-description { font-size: 15px; color: #cbd5e0; line-height: 1.5; margin: 15px 0; }
.video-section { text-align: center; margin-top: 30px; color: #1f365c; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; background: #000; border-radius: 10px; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.profile-card h2 { text-align: left; }
.profile-info { text-align: left; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #2d3748; }
.info-row:last-child { border-bottom: none; }
.info-row .label { color: #a0aec0; font-weight: 600; }
.info-row .value { color: #fff; font-size: 15px; }
footer { background-color: #1a2a47; padding: 30px 20px; text-align: center; }
footer h3 { margin-bottom: 20px; font-size: 18px; font-weight: 500; }
.payment-methods { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.payment-methods img { height: 25px; max-width: 80px; filter: grayscale(100%) contrast(50%) brightness(1.5); }
.copyright { color: #a0aec0; font-size: 13px; }
#notifications-container { margin-bottom: 20px; }
.notification-card { background-color: #007bff; color: #fff; padding: 15px 40px 15px 20px; border-radius: 8px; margin-bottom: 10px; position: relative; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-left: 5px solid #0056b3; }
.notification-card p { line-height: 1.6; font-size: 15px; }
.dismiss-btn { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; font-weight: bold; opacity: 0.7; padding: 0 5px; }
.dismiss-btn:hover { opacity: 1; } 
/* ============================================ */
/* === USER PANEL CSS UPDATES (PASTE AT END) === */
/* ============================================ */

/* --- Styling for Dynamic Method Lists (deposit.html & withdraw.html) --- */

/* The list container */
.method-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Individual list item (button) */
.method-list-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    font-weight: 600; /* Text ko thora mota kar diya */
    color: #34495e;   /* Text ka color dark blue-grey kar diya */
}

/* Hover effect for list items */
.method-list-item:hover {
    background-color: #f1f1f1;
}

/* Style for the selected/active list item */
.method-list-item.active {
    background-color: #3498db;
    color: #ffffff; /* Active item ka text wapas white */
    border-color: #2980b9;
}