* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3 !important;
    font-family: system-ui, sans-serif;
}

.auth {
    width: 100%;
    display: flex;
    justify-content: center;
}

.card {
    width: 360px;
    padding: 32px;
    background: #fff;
    border-radius: 6px;
}

h1 {
    margin: 0;
    text-align: center;
    font-size: 1.4rem;
}

.subtitle {
    margin: 4px 0 24px;
    text-align: center;
    color: #666;
    font-size: .9rem;
}

form {
    margin-top: 10px;
}

input,
button {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    font-size: .95rem;
    border-radius: 4px;
}

input {
    border: 1px solid #ccc;
}

input:focus {
    outline: 0;
    border-color: #999;
}

button {
    border: 0;
    background: #222;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background: #000;
}

.alert {
    margin-bottom: 16px;
    padding: 10px;
    font-size: .9rem;
}

.alert.error,
.alert-danger {
    background: #f8f8f8;
    color: #900;
}

.small-text {
    font-size: .8rem;
    color: #666;
    margin-bottom: 14px;
}

.link {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: .85rem;
    color: #666;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.dev {
    margin-top: 20px;
    font-size: .8rem;
    color: #666;
}

.dev code {
    display: block;
    margin-top: 4px;
}
