* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f5f7;
    color: #222;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    padding: 2rem 2rem 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin: 1rem;
}

h1 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.subtitle {
    margin: 0 0 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #444;
}

input {
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    transition: border-color 0.15s;
}

input:focus {
    outline: none;
    border-color: #ff3e00;
}

button {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background: #ff3e00;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s;
}

button:hover:not(:disabled) {
    background: #e63600;
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.error {
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: #fee;
    border: 1px solid #fbb;
    border-radius: 6px;
    color: #c00;
    font-size: 0.875rem;
}
