body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
}

/* Navbar */
.app-navbar {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border-bottom: none;
}

/* Sidebar */
.sidebar {
    width: 230px;
    min-height: calc(100vh - 60px);
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.03);
}

.sidebar .nav-link {
    color: #4a5568;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    background-color: #edf2f7;
    color: #1e3a5f;
}

.sidebar .nav-link.active {
    background-color: #1e3a5f;
    color: #fff;
}

/* Main Content */
.main-content {
    background-color: #f4f6f9;
    min-height: calc(100vh - 60px);
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #4a5568;
}

.table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-radius: 10px;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #3182ce 100%);
}

.login-card {
    width: 400px;
    border-radius: 16px;
    overflow: hidden;
}

.login-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f, #3182ce);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* Buttons */
.btn-primary {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
}

.btn-primary:hover {
    background-color: #2c5282;
    border-color: #2c5282;
}

.btn-outline-primary {
    color: #1e3a5f;
    border-color: #1e3a5f;
}

.btn-outline-primary:hover {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
}

/* Alerts */
.alert {
    border-radius: 8px;
}

/* Form controls focus */
.form-control:focus, .form-select:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.15);
}
