:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}


body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-signin {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: auto;
}
.form-signin .form-floating:focus-within {
    z-index: 2;
}
.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
        
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    background-color: white;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1.1rem;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--primary-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -7px;
}

.timeline-content {
    padding-left: 15px;
}

.required:after {
    content: " *";
    color: red;
}

.stat-card {
    border-radius: 10px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Modern Card Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: 600;
    border-radius: 10px 10px 0 0 !important;
    padding: 12px 16px;
    border: none;
}

.card-header .btn {
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-header .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 20px;
}

/* Table styling */
.table {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

/* Status badges */
.badge {
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 20px;
}

/* Navbar and sidebar improvements */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    border-radius: 5px;
    margin: 3px 10px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

/* Button styling */
.btn {
    border-radius: 5px;
    font-weight: 500;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Custom status colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-info {
    background-color: var(--accent-color) !important;
}

/* Google Drive frame */
iframe {
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
}

.sort-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
}