/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

/* Center wrapper */
.login-wrapper { width: 100%; max-width: 400px; padding: 20px; }

/* Glassmorphic card */
.login-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
    transition: transform 0.3s;
}

.login-card:hover { transform: scale(1.02); }

h2 {
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 28px;
    color: #00e5ff;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 600;
    margin-top: 15px;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 12px;
    margin-bottom: 10px;
    outline: none;
    font-size: 16px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    transition: background 0.3s;
}

input::placeholder { color: rgba(255,255,255,0.7); }
input:focus { background: rgba(255,255,255,0.25); }

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    background: #00e5ff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0d1b2a;
}

button:hover {
    background: #00c0e0;
    transform: translateY(-2px);
}

#errorMessage {
    margin-top: 10px;
    font-weight: 600;
    color: #ff6b6b;
    font-size: 14px;
}

@media(max-width:450px){
    .login-card { padding:30px 20px; }
}