/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background: #1f2937;
    padding: 15px 0;
    color: white;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.btn-login {
    padding: 6px 14px;
    background: #10b981;
    border-radius: 4px;
}

/* HERO */
.hero {
    background: linear-gradient(to right, #1f2937, #111827);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #10b981;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* FEATURES */
.features {
    padding: 80px 0;
    background: #f9fafb;
    text-align: center;
}

.features h2 {
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ABOUT */
.about {
    padding: 80px 0;
    text-align: center;
}

/* FOOTER */
footer {
    background: #111827;
    color: white;
    padding: 20px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer a {
    color: #10b981;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .nav-flex {
        flex-direction: column;
        gap: 10px;
    }

    .footer-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================= */
/* LOGIN PAGE */
/* ============================= */

.login-body {
    background: #f4f6f9;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* LEFT SIDE */
.login-left {
    flex: 1;
    background: linear-gradient(to right, #1f2937, #111827);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.login-left h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.login-left p {
    max-width: 400px;
}

/* RIGHT SIDE */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.login-card h2 {
    margin-bottom: 25px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.full-width {
    width: 100%;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.login-footer a {
    color: #10b981;
    text-decoration: none;
}

.message {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        text-align: center;
        padding: 40px 20px;
    }
}
/* ============================= */
/* DASHBOARD LAYOUT */
/* ============================= */

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f4f6f9;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: #111827;
    color: white;
    padding: 20px;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.sidebar-nav a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 14px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #10b981;
    color: white;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 30px;
}

/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.dashboard-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.dashboard-card p {
    font-size: 20px;
    font-weight: bold;
}

.dashboard-card.highlight {
    background: #10b981;
    color: white;
}

/* TRANSACTION TABLE */
.recent-transactions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.recent-transactions table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.recent-transactions th,
.recent-transactions td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.recent-transactions th {
    font-size: 13px;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 15px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ============================= */
/* MAKE PAYMENT PAGE */
/* ============================= */

.payment-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.account-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.account-box h3 {
    margin-bottom: 15px;
}

.payment-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-group small {
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .payment-section {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* CASHOUT PAGE */
/* ============================= */

.cashout-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.balance-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.balance-amount {
    font-size: 28px;
    font-weight: bold;
    margin: 15px 0;
    color: #10b981;
}

.cashout-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.warning-box {
    background: #fff4e5;
    border-left: 4px solid #f59e0b;
    padding: 15px;
    font-size: 14px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 900px) {
    .cashout-section {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* TRANSACTION HISTORY PAGE */
/* ============================= */

.history-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.summary-item h4 {
    font-size: 13px;
    margin-bottom: 8px;
}

.summary-item p {
    font-size: 18px;
    font-weight: bold;
}

.summary-item.highlight {
    background: #10b981;
    color: white;
}

/* FILTER BAR */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-bar select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.small-btn {
    padding: 8px 15px;
    font-size: 13px;
}

/* TABLE */
.transaction-table-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.transaction-table-card table {
    width: 100%;
    border-collapse: collapse;
}

.transaction-table-card th,
.transaction-table-card td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.transaction-table-card th {
    color: #555;
    font-size: 13px;
}

/* BADGES */
.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
}

.badge.approved {
    background: #10b981;
}

.badge.pending {
    background: #f59e0b;
}

/* Responsive */
@media (max-width: 768px) {

    .filter-bar {
        flex-direction: column;
    }

    .transaction-table-card {
        overflow-x: auto;
    }
}

/* ============================= */
/* PROFILE PAGE */
/* ============================= */

.profile-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.profile-card,
.password-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.profile-picture {
    text-align: center;
    margin-bottom: 20px;
}

.profile-picture img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.profile-card h3,
.password-card h3 {
    margin: 20px 0 15px;
}

/* Responsive */
@media (max-width: 900px) {
    .profile-section {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}