body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url('/static/images/background.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f9f9f9;
}

.container {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 32px 28px;
    width: min(400px, 90%);
    text-align: center;
    color: #222;
    position: relative;
}

h1 {
    margin-top: 0;
    color: #1a1a1a;
}

h2 {
    color: #444;
    margin-bottom: 18px;
}

.files-section {
    margin-bottom: 24px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

label {
    font-size: 0.95rem;
    text-align: left;
}

input {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
}

input:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.file-upload-label {
    display: inline-block;
    background-color: #4caf50;
    color: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: min(220px, 100%);
    box-sizing: border-box;
}

.file-upload-label:hover {
    background-color: #3a9b3f;
}

.file-upload-name {
    font-size: 0.95rem;
    color: #555;
    word-break: break-word;
    min-height: 1.2em;
}

button {
    padding: 12px 18px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    width: min(220px, 100%);
}

button:hover {
    background-color: #3a9b3f;
}

.file-list,
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.file-list li,
li {
    margin: 10px 0;
}

.empty-state {
    color: #666;
    margin: 0 0 8px;
}

a {
    text-decoration: none;
    color: #4caf50;
    font-weight: 600;
}

a:hover {
    text-decoration: underline;
}

.logout {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #4caf50;
    font-weight: 600;
}

.flash-list {
    margin: 0 0 18px;
    padding: 0;
}

.flash-list li {
    color: #b91c1c;
    font-size: 0.95rem;
}
