* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f5f7;
    color: #17212b;
}

.container {
    width: min(820px, calc(100% - 32px));
    margin: 60px auto;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

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

.dropzone {
    display: flex;
    min-height: 210px;
    margin: 28px 0 18px;
    padding: 28px;
    border: 2px dashed #8b98a5;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.dropzone:hover,
.dropzone.dragging {
    border-color: #1261a0;
    background: #f1f7fc;
}

.dropzone input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.file-list ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.file-list li {
    margin: 6px 0;
}

button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    background: #1261a0;
    color: #ffffff;
    cursor: pointer;
}

button:hover:not(:disabled) {
    background: #0d4e82;
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.status {
    min-height: 24px;
    margin-top: 14px;
}

.hint {
    margin: 22px 0 0;
    font-size: 0.9rem;
    color: #5b6773;
}

@media (max-width: 600px) {
    .container {
        margin: 20px auto;
    }

    .card {
        padding: 22px;
    }
}
