body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    background: #f8fafc; 
    color: #334155; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100vh; 
    margin: 0; 
}

.login-card { 
    background: #ffffff; 
    padding: 40px; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); 
    text-align: center; 
    max-width: 400px; 
    width: 100%; 
    box-sizing: border-box; 
    border-top: 5px solid #dc2626; 
}

.logo-img { 
    max-width: 100px; 
    margin-bottom: 20px; 
    height: auto; 
}

h1 { 
    margin-top: 0; 
    font-size: 22px; 
    color: #0f172a; 
}

p { 
    color: #64748b; 
    font-size: 14px; 
    margin-bottom: 30px; 
    line-height: 1.5; 
}

.msg-box { 
    padding: 12px; 
    border-radius: 6px; 
    font-size: 13px; 
    margin-bottom: 20px; 
    text-align: left; 
    word-break: break-all; 
}

.error { 
    background: #fef2f2; 
    color: #991b1b; 
    border: 1px solid #f87171; 
}

.success { 
    background: #f0fdf4; 
    color: #166534; 
    border: 1px solid #86efac; 
    text-align: center; 
}

.form-group { 
    text-align: left; 
    margin-bottom: 20px; 
}

label { 
    display: block; 
    font-size: 13px; 
    color: #475569; 
    margin-bottom: 6px; 
    font-weight: 600; 
}

/* Grouped Input Styles */
input[type="email"],
input[type="password"] { 
    width: 100%; 
    padding: 10px; 
    border-radius: 6px; 
    border: 1px solid #cbd5e1; 
    background: #ffffff; 
    color: #0f172a; 
    box-sizing: border-box; 
    outline: none; 
    transition: all 0.2s ease; 
}

input[type="email"]:focus,
input[type="password"]:focus { 
    border-color: #dc2626; 
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1); 
}

button { 
    width: 100%; 
    background: #dc2626; 
    color: white; 
    border: none; 
    padding: 12px; 
    border-radius: 6px; 
    font-size: 15px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.2s; 
}

button:hover { 
    background: #b91c1c; 
}

.auth-link { 
    color: #dc2626; 
    text-decoration: none; 
    font-weight: 600; 
    display: inline-block; 
    margin-top: 20px; 
    font-size: 14px; 
}

.auth-link:hover { 
    text-decoration: underline; 
}