* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.card {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.header {
    margin-bottom: 28px;
}

h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

p {
    margin: 0 0 16px;
    color: #4b5563;
    line-height: 1.5;
}

.upload-form {
    display: grid;
    gap: 12px;
}

label {
    font-weight: 700;
    margin-top: 8px;
}

input,
select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    background: #ffffff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.hint {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

button {
    margin-top: 18px;
    border: 0;
    border-radius: 10px;
    padding: 14px 18px;
    background: #111827;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #374151;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin: 16px 0;
    line-height: 1.5;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.saved-name {
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow-wrap: anywhere;
}

.back-link {
    color: #111827;
    font-weight: 700;
}
