* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    color: #1f2937;
}

.container {
    max-width: 780px;
    margin: 2rem auto;
    padding: 0 1rem 2rem;
}

h1, h2 {
    margin: 0 0 1rem;
}

.lead {
    margin: 0 0 1.5rem;
    color: #4b5563;
}

.actions {
    margin-bottom: 1rem;
}

.actions a {
    color: #2563eb;
    text-decoration: none;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.muted {
    background: #f9fafb;
}

label {
    display: block;
    font-weight: 600;
    margin: 0.6rem 0 0.3rem;
}

.form-note {
    margin: 0 0 0.8rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.95rem;
}

input,
select,
textarea,
button {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 96px;
}

button {
    margin-top: 1rem;
    background: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

.secondary-btn {
    background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
    color: #1e3a8a;
    border: 1px solid #c7d2fe;
    font-weight: 600;
}

.secondary-btn:hover {
    background: #dbeafe;
}

.uploader-shell {
    margin-top: 0.3rem;
    background: #f8faff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 0.9rem;
}

.file-inputs input[type="file"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.picker-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 120px;
    border: 2px dashed #93c5fd;
    border-radius: 12px;
    background: #f0f7ff;
    color: #1e3a8a;
    font-weight: 600;
    margin-top: 0;
}

.picker-dropzone:hover {
    background: #e0efff;
}

.picker-dropzone small {
    font-weight: 400;
    color: #475569;
}

.dropzone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #dbeafe;
    font-size: 1.2rem;
    line-height: 1;
}

.file-list {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    color: #374151;
}

.file-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #ffffff;
}

.file-name {
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

.file-chip + .file-chip {
    margin-top: 0.45rem;
}

.file-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    flex: 0 0 auto;
}

.remove-file-btn {
    width: auto;
    margin-top: 0;
    padding: 0.35rem 0.65rem;
    border-radius: 7px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #be123c;
    font-size: 0.85rem;
}

.remove-file-btn:hover {
    background: #ffe4e6;
}

.alert {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.alert li {
    margin-bottom: 0.35rem;
}

.alert a {
    display: block;
    margin-top: 0.2rem;
    word-break: break-all;
    color: #2563eb;
}

small {
    color: #6b7280;
}

