html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #1a1a2e;
}

/* Navbar for consistency */
nav.navbar {
    width: 100%;
    background-color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(17, 24, 39, 0.1);
    flex-wrap: wrap;
}

nav .brand {
    font-size: 1.6rem;
    font-weight: 700;
}

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

/* Login card */
.login-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 380px;
    margin: 60px auto;
    text-align: left;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.header img {
    height: 40px;
    margin-right: 10px;
}

.header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
}

label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
    color: #1a1a2e;
    background-color: #ffffff;
}

input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
    margin: 10px 0 20px 0;
    color: #1a1a2e;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #111827;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

button[type="submit"]:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(17, 24, 39, 0.1);
}

.error-message {
    color: red;
    font-size: 0.9rem;
    width: 100%;
}

@media (max-width: 500px) {
    .auth-panel { width: 90%; padding: 1.5rem; }
    nav .brand { font-size: 1.4rem; }
}
