:root {
    --primary: #0056b3;
    --primary-hover: #004494;
    --bg-dark: #f4f7f6;
    --bg-card: #ffffff;
    --bg-input: #ffffff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.glass-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.025em;
}

p.subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out;
}

input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-primary {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.error-msg {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    background: #f8d7da;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

/* Dashboard Specific */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    width: 100%;
    height: 100vh;
    align-items: stretch;
}

.sidebar {
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.main-content {
    padding: 2rem 3rem;
    overflow-y: auto;
    background: var(--bg-dark);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.file-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.file-list th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--border-color);
}

.file-list tr {
    transition: background 0.2s;
    background: #ffffff;
    cursor: default;
}

.file-list tr:hover {
    background: #f8f9fa;
}

.file-list td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e6f4ea;
    color: #1e8e3e;
    border: 1px solid #ceead6;
}

/* Animations */
.hover-scale {
    transition: color 0.2s ease-in-out;
}

.hover-scale:hover {
    color: var(--primary);
}