* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e1e8ed;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.header h1 {
    font-size: 20px;
    color: #1e293b;
}

.user-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    font-size: 13px;
    color: #475569;
}

.logout-btn {
    background-color: #ef4444;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.logout-btn:hover {
    background-color: #dc2626;
}

.container {
    flex: 1;
    max-width: 650px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.card h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1e293b;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.input-group input {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background: #f8fafc;
}

.btn {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.primary-btn {
    background-color: #2563eb;
    color: white;
    padding: 10px 16px;
    font-size: 14px;
}

.primary-btn:hover {
    background-color: #1d4ed8;
}

.file-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.file-name {
    font-size: 14px;
    color: #334155;
    word-break: break-all;
    max-width: 50%;
}

.file-actions {
    display: flex;
    gap: 8px;
}

.download-btn {
    background-color: #10b981;
    color: white;
}

.download-btn:hover {
    background-color: #059669;
}

.delete-btn {
    background-color: #ef4444;
    color: white;
}

.delete-btn:hover {
    background-color: #dc2626;
}

.alert {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.alert.success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert.error {
    background-color: #fee2e2;
    color: #991b1b;
}

.empty-text {
    font-size: 14px;
    color: #64748b;
    font-style: italic;
}

.footer {
    text-align: center;
    padding: 15px;
    background: #ffffff;
    border-top: 1px solid #e1e8ed;
    font-size: 12px;
    color: #64748b;
}