/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #08100A; /* Dark background from reference */
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography & Colors */
h1 {
    font-size: 3rem;
    text-align: center;
    background: linear-gradient(90deg, #05f2c7, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

h2, h3 {
    color: #05f2c7;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Glassmorphism / Dark Cards */
.glass-panel {
    background: #0d1e15; /* Dark forest green */
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

/* Layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(8, 16, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #05f2c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #05f2c7;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Forms */
.form-container {
    width: 100%;
    max-width: 450px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #94a3b8;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="month"] {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #0C1811; /* Darker inputs */
    border: 1px solid rgba(5, 242, 199, 0.2);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #05f2c7;
    box-shadow: 0 0 10px rgba(5, 242, 199, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #05f2c7, #01d4a0);
    color: #08100A; /* Dark contrasting text */
    border: none;
    border-radius: 50px; /* Pill shape */
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(5, 242, 199, 0.4);
}

.btn:active {
    transform: translateY(0);
}

/* Links */
.auth-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #94a3b8;
    text-decoration: none;
}

.auth-link span {
    color: #05f2c7;
    font-weight: 600;
}

.auth-link:hover span {
    text-decoration: underline;
}

/* Dashboard Specifics */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin-top: 2rem;
}

.stat-card {
    background: #0d1e15;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #05f2c7;
    box-shadow: 0 10px 20px -5px rgba(5, 242, 199, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 3rem; /* Larger values corresponding to reference */
    font-weight: 800;
    color: #05f2c7; /* Cyan values */
    margin: 0.5rem 0;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.wallet-card {
    background: linear-gradient(135deg, rgba(5, 242, 199, 0.1) 0%, rgba(1, 212, 160, 0.05) 100%);
    border: 1px solid rgba(5, 242, 199, 0.3);
}

.wallet-card .stat-value {
    color: #10b981; /* Green variant */
}

/* Notification / Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    display: block;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #6ee7b7;
    display: block;
}

.notification-banner {
    background: #065f46;
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mt-4 { margin-top: 1.5rem; }
