* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f0f2f5;
    color: #333;
}

/* Login Page */
.login-box {
    width: 360px;
    margin: 120px auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 24px;
    font-size: 28px;
    color: #2c3e50;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.login-box button:hover {
    background: #3d5166;
}

.error {
    color: red;
    margin-bottom: 14px;
    font-size: 14px;
}

/* Dashboard */
.dashboard {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.dashboard header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard header h1 {
    font-size: 26px;
    color: #2c3e50;
}

.dashboard header a {
    text-decoration: none;
    color: #888;
    font-size: 14px;
}

.dashboard header a:hover {
    color: #333;
}

/* Upload Box */
.upload-box {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.upload-box h3 {
    margin-bottom: 16px;
    color: #2c3e50;
}

.upload-box input[type="file"] {
    margin-bottom: 12px;
    font-size: 14px;
}

.upload-box button {
    padding: 10px 24px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.upload-box button:hover {
    background: #3d5166;
}

/* File List */
.file-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.file-list h3 {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    color: #2c3e50;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid #f5f5f5;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item span {
    font-size: 14px;
    color: #555;
}

.file-actions a {
    text-decoration: none;
    font-size: 13px;
    margin-left: 16px;
    color: #2c3e50;
}

.file-actions a:hover {
    text-decoration: underline;
}

.file-actions a.delete {
    color: #e74c3c;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}