body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

h1, h2 {
    margin-top: 0;
}

.subtitle {
    color: #555;
    margin-bottom: 24px;
}

.upload-form {
    display: grid;
    gap: 16px;
    margin-bottom: 28px;
}

.field {
    display: grid;
    gap: 8px;
}

input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 8px;
}

button {
    width: fit-content;
    padding: 10px 18px;
    border: none;
    background: #1e5eff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

button:hover {
    background: #164bcc;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert.error {
    background: #ffe3e3;
    color: #9b1c1c;
    border: 1px solid #ffb3b3;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px;
    background: #fafafa;
    display: grid;
    gap: 8px;
}

.card span {
    font-size: 22px;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    background: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background: #f0f0f0;
}