
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #F8FAFB;
    color: #222;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden; 
}
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
    transform: translateY(-12vh); 
}

.logo {
    max-width: 80px;
    margin-bottom: 24px;
}

h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    
}

form {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

input[type="text"],
input[type="password"] {
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #D1D5DB;
    outline: none;
    transition: border 0.2s;
    background: #FAFAFA;
}

input:focus {
    border-color: #1976D2;
}

button[type="submit"] {
    margin-top: 8px;
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 6px;
    border: none;
    background: #1976D2;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #155a9b;
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
#register {
    display: block;
    margin: 5px auto 0 auto;
    width: fit-content;
    text-align: center;
    font-size: 1rem;
    color: #1976D2;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

#register:hover, #register:focus {
    background: #e3edfa;
    color: #0d3a5f;
    border: 1px solid #1976D2;
    outline: none;
}
@media (max-width: 400px) {
    .login-container {
        padding: 12px 2px;
        transform: translateY(-10vh); 
    }
    form {
        padding: 14px 4px;
    }
}
