/* Custom Styles for OA System */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #1a1d20;
}

/* Layout */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background-color: #ffffff;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.main-content {
    padding-top: 1.5rem;
}

/* Sidebar Navigation */
.sidebar .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    margin: 0.2rem 0.75rem;
    transition: all 0.2s ease-in-out;
}

.sidebar .nav-link:hover {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.sidebar .nav-link.active {
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    font-weight: 600;
}

.sidebar .nav-link .bi {
    margin-right: 8px;
    font-size: 1.1em;
    vertical-align: -0.125em;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Tables */
.table {
    vertical-align: middle;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
    background-color: #f8f9fa;
    border-bottom-width: 1px;
}

.table td {
    font-size: 0.9rem;
}

/* Utilities */
.bg-gradient-primary {
    background: linear-gradient(45deg, #0d6efd, #0a58ca);
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

/* Footer */
.footer {
    padding: 2rem 0;
    margin-top: 3rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}
