/* GLOBAL RESET - Removes default browser spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* BODY - Full screen dark red gradient background (eMedicare brand color) */
body {
    font-family: 'Segoe UI', Roboto, sans-serif; /* Modern, readable font */
    height: 100vh; /* Full viewport height */
    background: linear-gradient(135deg, #621a19 0%, #621a19 100%); /* Dark red gradient */
    display: flex; justify-content: center; align-items: center; /* Centers auth card */
    overflow: hidden; /* No scrollbars */
}


/* --- LOADING SCREEN (3-Second Splash) --- */
.loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; /* Full screen overlay */
    background: radial-gradient(circle, #621a19 0%, #621a19 100%); /* Logo background */
    display: flex; flex-direction: column; /* Vertical logo + text stack */
    justify-content: center; align-items: center; z-index: 3000; /* Topmost layer */
    transition: opacity 0.5s; /* Smooth fade out */
}


.loading-screen.hidden {
    opacity: 0; visibility: hidden; /* Fade effect when hidden */
}


/* LOGO CONTAINER - Custom logo styling */
.logo-inner-circle {
    width: 180px; height: auto;
    background: transparent !important;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
    border-radius: 0; border: none !important;
    display: flex; align-items: center; justify-content: center;
    overflow: visible; margin-bottom: 25px; box-shadow: none;
}


.logo-inner-circle img {
    width: 100%; height: auto;
    object-fit: contain; /* Logo maintains aspect ratio */
    background-color: transparent !important;
}


/* BRAND NAME - Glowing text effect */
.brand-name {
    color: white; font-size: 3.5rem; font-weight: bold; margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 0 10px #000000, 0 0 20px #ff5252, 0 0 30px #ff1744; /* Multi-layer glow */
}


/* TAGLINE - Subtitle below logo */
.tagline {
    color: white; font-size: 1.1rem; margin-bottom: 35px;
    font-weight: 500; text-align: center; opacity: 0.9;
}


/* YELLOW LINE - Design separator */
.yellow-line {
    width: 280px; height: 5px; background: white; border-radius: 10px;
    margin-bottom: 15px; box-shadow: 0 0 15px rgba(255,255,255,0.6); /* Glowing line */
}


/* COUNTDOWN TIMER */
.timer-text {
    color: white; font-size: 1.8rem; font-weight: bold;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}


/* --- MAIN AUTH CARD (White popup) --- */
.auth-card {
    background: rgba(255, 255, 255, 0.98); /* Semi-transparent white */
    padding: 40px 30px; border-radius: 24px; /* Rounded corners */
    width: 90%; max-width: 380px; /* Mobile + desktop responsive */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); /* Deep shadow */
    text-align: center;
}


/* USER AVATAR - Profile picture circle */
.profile-avatar {
    width: 90px; height: 90px; background: #ffebee; /* Light pink */
    border-radius: 50%; margin: 0 auto 20px; /* Perfect circle */
    display: flex; align-items: center; justify-content: center;
    color: #621a19; /* Dark red icon */
    border: 4px solid #fff; /* White border */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* PIN INPUT CONTAINER - 4 boxes side-by-side */
.pin-container {
    display: flex; gap: 10px; justify-content: center; margin-bottom: 25px;
}


/* INDIVIDUAL PIN BOXES (MPIN/OTP) */
.pin-input {
    width: 50px; height: 60px; text-align: center; font-size: 24px; /* Large touch target */
    border: 2px solid #ffcdd2; /* Light pink border */
    border-radius: 12px; background: #f9f9f9; /* Rounded, clean look */
}


/* REGULAR INPUT FIELDS (Email, Password, Name) */
.input-field {
    width: 100%; padding: 12px 15px;
    border: 2px solid #ddd; border-radius: 10px; margin-bottom: 15px;
}


/* BUTTONS - Full width, dark red */
.btn-block {
    width: 100%; padding: 14px; background: #621a19; color: white;
    border: none; border-radius: 12px; font-weight: 600; cursor: pointer;
    transition: background 0.3s; /* Smooth hover */
}


.btn-block:hover {
    background: #621a19; /* Darker red on hover */
}


/* LINKS - "Forgot MPIN?", "Create Account" */
.text-link {
    font-size: 13px; color: #621a19; cursor: pointer;
    margin-top: 20px; display: inline-block; font-weight: 600;
}


/* HIDE ELEMENTS (login/signup toggle) */
.hidden { display: none !important; }









