* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f0fdf4;
    color: #333;
    line-height: 1.6;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.login-box h1 {
    text-align: center;
    color: #059669;
    margin-bottom: 5px;
    font-size: 24px;
}

.login-box h2 {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    font-weight: normal;
}

.alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: #fefce8;
    color: #ca8a04;
    border: 1px solid #fef08a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.btn-primary {
    background: #059669;
    color: white;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-block {
    width: 100%;
}

.btn-logout {
    background: #dc2626;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
}

.btn-logout:hover {
    background: #b91c1c;
}

.btn-download {
    background: #059669;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
}

.btn-download:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-header {
    background: linear-gradient(135deg, #059669, #047857);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.dashboard-header h1 {
    color: white;
    font-size: 22px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right span {
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

.stats-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex: 1;
    text-align: center;
    border-left: 4px solid #059669;
}

.stat-label {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    color: #059669;
    font-size: 24px;
    font-weight: bold;
}

.files-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.files-section h2 {
    color: #059669;
    margin-bottom: 10px;
    font-size: 20px;
}

.files-section p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 14px;
}

.no-files {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
}

.no-files p {
    font-size: 16px;
}

.table-responsive {
    overflow-x: auto;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
}

.files-table th {
    background: #f0fdf4;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #065f46;
    border-bottom: 2px solid #059669;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.files-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.files-table tr:hover {
    background: #f0fdf4;
}

.files-table tr:last-child td {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 10px;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
    }
}