/* KVV Timelister - Custom Styles */

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container-fluid {
    max-width: 1400px;
}

/* Avatar circle */
.avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Stat cards */
.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.15s, box-shadow 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Tables */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 600;
}

.table > tbody > tr {
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

/* Login page */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
    font-size: 3rem;
    color: #0d6efd;
}

/* Timesheet entry table */
.entry-table td {
    padding: 0.4rem 0.5rem;
}

.entry-table input,
.entry-table select {
    font-size: 0.9rem;
}

.hours-total {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
}

/* Buttons */
.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Page title */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

/* Empty state */
.empty-state {
    padding: 3rem;
    text-align: center;
    color: #adb5bd;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* Navbar active */
.navbar-dark .navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
}

/* Footer */
.footer {
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }
    .container-fluid {
        padding: 1rem;
    }
}
