* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
h1 { font-size: 24px; margin-bottom: 8px; }
.subtitle { color: #666; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.hint { display: block; font-size: 12px; color: #888; margin-top: 6px; }
button, .button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
button:hover, .button:hover { background: #1d4ed8; }
button:disabled { background: #93c5fd; cursor: not-allowed; }
.error { color: #dc2626; font-size: 14px; margin-bottom: 12px; padding: 8px; background: #fef2f2; border-radius: 8px; }
.error-list { color: #dc2626; }
ul { margin: 12px 0 16px 20px; }
li { margin-bottom: 4px; }
.actions { margin-top: 20px; }
#progressContainer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.progress-bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: #2563eb;
    transition: width 0.2s;
    border-radius: 4px;
}
@media (max-width: 480px) {
    .container { padding: 20px; border-radius: 0; width: 100%; }
}
