:root {
    --primary-green: #0a4d2d;
    --dark-green-bg: #064e3b;
    --light-green-bg: #f2f7f4;
    --white: #ffffff;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-green-bg);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Mobile Container View */
.mobile-container {
    width: 100%;
    max-width: 414px;
    height: 100vh;
    max-height: 896px;
    background-color: var(--light-green-bg);
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.auth-wrapper {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-box {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.logo-box img {
    width: 32px;
}

h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

p.subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.card-box {
    background: var(--white);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.input-with-icon input:focus {
    border-color: var(--primary-green);
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-gray);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #073820;
}

.text-center {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.text-center a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

/* Dashboard Specific Styles */
.dashboard-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Standard Balance Card (Force White Text) */
.balance-card {
    background-color: var(--primary-green);
    color: var(--white) !important;
    margin: 0 20px 20px 20px;
    padding: 24px;
    border-radius: 20px;
    position: relative;
}

.balance-card h3 {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--white) !important;
    opacity: 0.9;
    margin-bottom: 8px;
}

.balance-card h1 {
    color: var(--white) !important;
    font-size: 32px;
}

/* Custom Balance Card (Screenshot Style) */
.balance-card-custom {
    background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
    color: var(--white) !important;
    border-radius: 24px;
    padding: 24px 20px 20px 20px;
    margin: 0 20px 16px 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.2);
}

.balance-card-custom h3 {
    color: var(--white) !important;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 6px;
    font-weight: 600;
}

.balance-card-custom h1 {
    color: var(--white) !important;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.action-btn {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.section-title {
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 24px;
}

.overview-item {
    background: var(--white);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
}

.overview-item span {
    font-size: 12px;
    color: var(--text-gray);
}

.overview-item h4 {
    font-size: 18px;
    margin-top: 4px;
}

/* Bottom Nav */
.bottom-nav {
    margin-top: auto;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 11px;
}

.nav-item.active {
    color: var(--primary-green);
    font-weight: 600;
}