/* --- 1. Global Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --bg-color: #f4f7f6;
    --text-dark: #333;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0,0,0,0.1);
}

body {
    background-color: var(--bg-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* --- 2. Screen Layouts --- */
.full-screen {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: transform 0.5s ease-in-out;
}

.hidden {
    display: none !important;
}

/* --- 3. Splash Screen Styling --- */
#splash-screen {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    z-index: 100;
}

.animate-logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    animation: bounce 2s infinite;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* --- 4. Auth Cards (Login/Signup) --- */
.form-card {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

h2 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.sub-text {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    outline: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--primary-color);
    background: #f9fffb;
}

/* --- 5. Buttons --- */
.main-button {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: 0.3s;
}

.main-button:active {
    transform: scale(0.98);
}

.secondary {
    background: #34495e;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.2);
}

.link-button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
}

/* --- 6. Dashboard Styling --- */
.dashboard-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.top-bar {
    width: 90%;
    max-width: 450px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wallet-badge {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
    color: var(--text-dark);
}

.card {
    background: var(--white);
    width: 90%;
    max-width: 450px;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

/* --- 7. Animations --- */
.custom-loader {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    margin: 25px auto;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

