
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f4f8;
    color: #202938;
}

header {
    background: #172b4d;
    color: white;
    text-align: center;
    padding: 28px 15px;
}

header h1 {
    margin: 0;
}

header p {
    color: #cbd5e1;
}

main {
    width: min(700px, 94%);
    margin: 25px auto;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px #0000000d;
}

h2 {
    margin-top: 0;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ccd3dd;
    border-radius: 7px;
}

button {
    border: 0;
    padding: 11px 17px;
    border-radius: 7px;
    background: #2563eb;
    color: white;
    cursor: pointer;
}

button:hover {
    opacity: 0.85;
}

.secondary {
    background: #64748b;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.tabs button {
    flex: 1;
    background: #e2e8f0;
    color: #334155;
}

.tabs button.active {
    background: #2563eb;
    color: white;
}

form button {
    width: 100%;
    margin-top: 8px;
}

.hidden {
    display: none;
}

.message {
    font-size: 14px;
    overflow-wrap: anywhere;
}

.user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.file {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.file:last-child {
    border-bottom: 0;
}

.file-name {
    font-weight: bold;
    overflow-wrap: anywhere;
}

.file-info {
    color: #64748b;
    font-size: 13px;
    margin: 6px 0;
}

.file-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.file-actions a,
.file-actions button {
    text-decoration: none;
    font-size: 13px;
    padding: 9px 13px;
    border-radius: 6px;
}

.file-actions a {
    background: #2563eb;
    color: white;
}

.delete-button {
    background: #dc2626;
}

progress {
    width: 100%;
    height: 16px;
    margin-top: 12px;
}

footer {
    text-align: center;
    color: #64748b;
    padding: 20px;
}

@media (max-width: 480px) {
    .user-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
