* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0b2b26 0%, #1a4a42 100%);
    min-height: 100vh;
}

/* Landing Page */
.file-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.file-header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.file-header h1 {
    font-size: 2.5rem;
    margin: 20px 0 10px;
}

.role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.role-card {
    background: white;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.role-card:hover {
    transform: translateY(-10px);
}

.role-card i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.admin-card i {
    color: #c17b2e;
}

.staff-card i {
    color: #0b2b26;
}

.role-card h2 {
    margin-bottom: 15px;
    color: #1a2a3a;
}

.role-card p {
    color: #666;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.btn-admin {
    background: #c17b2e;
    color: white;
}

.btn-staff {
    background: #0b2b26;
    color: white;
}

.btn-admin:hover, .btn-staff:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.upload-link {
    text-align: center;
    margin-top: 20px;
}

.upload-link a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.upload-link a:hover {
    text-decoration: underline;
}

/* Login Pages */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    border-radius: 28px;
    padding: 50px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.login-icon {
    font-size: 4rem;
    color: #c17b2e;
    margin-bottom: 20px;
}

.login-box h2 {
    margin-bottom: 10px;
    color: #0b2b26;
}

.password-input {
    position: relative;
    margin: 25px 0;
}

.password-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.password-input input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
}

.password-hint {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #c17b2e;
    text-decoration: none;
}

/* Upload Page */
.upload-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.upload-header {
    background: white;
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.password-form {
    background: white;
    border-radius: 28px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.password-form i {
    font-size: 3rem;
    color: #c17b2e;
}

.upload-section, .files-section {
    background: white;
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 12px;
}

.radio-group {
    display: flex;
    gap: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* File Table */
.file-table {
    width: 100%;
    border-collapse: collapse;
}

.file-table th, .file-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.file-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.btn-small {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 0 3px;
}

.btn-download {
    background: #28a745;
    color: white;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.empty {
    text-align: center;
    padding: 40px;
    color: #999;
}

.logout-link {
    display: block;
    text-align: center;
    color: white;
    margin-top: 20px;
}

/* Dashboard */
.file-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dashboard-header {
    background: white;
    border-radius: 28px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.dashboard-header i {
    font-size: 3rem;
    color: #c17b2e;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    color: #c17b2e;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.action-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary {
    background: #c17b2e;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .role-selection {
        grid-template-columns: 1fr;
    }
    
    .file-table {
        font-size: 0.8rem;
    }
    
    .btn-small {
        display: inline-block;
        margin: 3px;
    }
}