/* Main Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

/* Landing Page */
.landing-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.hero-section {
    padding: 100px 0;
    color: white;
}

.hero-section h1 {
    font-weight: 700;
    line-height: 1.2;
}

.feature-icon {
    color: var(--primary-color);
}

/* Login Page */
.login-page {
    background: linear-gradient(135deg, #ffffff 0%, #d4edda 50%, #c3e6cb 100%);
    min-height: 100vh;
}

/* Dashboard Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, var(--primary-color) 0%, #4a6cf7 100%);
    z-index: 1000;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.sidebar.collapsed {
    margin-left: -250px;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.sidebar-menu .nav-link:hover,
.sidebar-menu .nav-link.active {
    color: white;
    background-color: rgba(255,255,255,0.1);
    border-left-color: white;
}

.sidebar-menu .nav-link i {
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}

.main-content.expanded {
    margin-left: 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Statistics Cards */
.border-left-primary {
    border-left: .25rem solid var(--primary-color) !important;
}

.border-left-success {
    border-left: .25rem solid var(--success-color) !important;
}

.border-left-danger {
    border-left: .25rem solid var(--danger-color) !important;
}

.border-left-warning {
    border-left: .25rem solid var(--warning-color) !important;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Buttons */
.btn {
    border-radius: 6px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

/* Tables */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    font-weight: 600;
    border: none;
    background-color: #f8f9fa;
}

.table td {
    vertical-align: middle;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 6px;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alerts */
.alert {
    border-radius: 6px;
    border: none;
}

/* Modal */
.modal-content {
    border-radius: 10px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.collapsed {
        margin-left: 0;
    }
}