* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100vh;
    overflow-x: hidden;
}

body {
    background: #f0f3f7;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

main {
    background: white;
    width: min(90vw, 420px);
    max-height: 500px;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 90%;
}

h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #1e293b;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    font-size: 15px;
    transition: 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.08);
}

.form-group button {
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #1e3a8a;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.form-group button:hover {
    transform: translateY(-2px);
    background: #172554;
}

a {
    text-decoration: none;
}
