* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    background: #111;
    color: white;
}

.container {
    width: 100%;
    padding: 20px;
}

.card {
    width: min(420px, 100%);
    margin: auto;
    padding: 40px;
    text-align: center;
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

h1 {
    margin: 0 0 10px;
    font-size: 32px;
}

p {
    color: #aaa;
    margin-bottom: 25px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input,
button {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
}

input {
    border: 1px solid #444;
    background: #111;
    color: white;
    outline: none;
}

input:focus {
    border-color: #777;
}

button {
border: none;
background: white;
color: #111;
font-weight: bold;
cursor: pointer;

/* Smooth animations */
transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

button:hover {
background: #ddd;


/* Glow */
box-shadow:
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.25);

transform: translateY(-1px);
}

button:active {
/* Smooth click/press effect */
transform: scale(0.96);
box-shadow:
0 0 5px rgba(255, 255, 255, 0.3);
}

.error {
    display: none;
    margin: 18px 0 0;
    color: #ff6b6b;
}
