* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 45%, #ecfeff 100%);
    color: #0f172a;
    min-height: 100vh;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

header p {
    margin: 0;
    color: #475569;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h2 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
}

form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

input[type="file"],
input[type="password"] {
    flex: 1 1 220px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font: inherit;
}

button {
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    background: #4f46e5;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

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

button:active:not(:disabled) {
    transform: translateY(1px);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status {
    min-height: 1.25rem;
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
}

.status.info {
    color: #2563eb;
}

.status.success {
    color: #15803d;
}

.status.error {
    color: #b91c1c;
}
