* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
h1 { color: #1e3a5f; margin-bottom: 8px; text-align: center; font-size: 22px; }
.subtitle { color: #6b7280; text-align: center; margin-bottom: 24px; font-size: 14px; }
.error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
    font-size: 14px;
}
.success {
    background: #d1fae5;
    color: #065f46;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #a7f3d0;
    font-size: 14px;
    word-break: break-all;
}
.success strong { display: block; margin-bottom: 8px; }
.reset-link {
    display: block;
    background: #f3f4f6;
    padding: 12px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 13px;
    margin-top: 8px;
    word-break: break-all;
}
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; color: #374151; font-weight: 500; }
input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
input:focus { outline: none; border-color: #2563eb; }
button {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
button:hover { background: #1d4ed8; }
.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 14px;
}
.back-link a { color: #2563eb; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }