/**
 * Custom CSS for Neutrons Project Management & Attendance Tracker
 */

/* General Styles */
body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: #f8f9fc;
}

.content-wrapper {
    min-height: calc(100vh - 60px);
    padding-bottom: 20px;
}

/* Sidebar Styles */
.sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: #2c3e50;
    color: #fff;
    transition: all 0.3s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.sidebar.collapsed {
    margin-left: -250px;
}

.sidebar .sidebar-header {
    padding: 20px;
    background: #1a2733;
}

.sidebar ul.components {
    padding: 0;
}

.sidebar ul li {
    border-bottom: 1px solid #3c5060;
}

.sidebar ul li a {
    padding: 15px 20px;
    display: block;
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: #3d5a72;
    color: #fff;
}

.sidebar ul li a i {
    margin-right: 10px;
}

.sidebar ul.collapse li a {
    padding-left: 40px;
}

/* Main Content Styles */
.main-content {
    width: calc(100% - 250px);
    margin-left: 250px;
    transition: all 0.3s;
}

.main-content.expanded {
    width: 100%;
    margin-left: 0;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: bold;
}

.card-header-tabs {
    margin-right: 0;
    margin-bottom: -0.75rem;
    margin-left: 0;
    border-bottom: 0;
}

/* Dashboard Widgets */
.dashboard-widget {
    border-left: 4px solid;
    border-radius: 5px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    background-color: #fff;
    padding: 20px;
    transition: transform 0.2s;
}

.dashboard-widget:hover {
    transform: translateY(-3px);
}

.dashboard-widget .widget-icon {
    font-size: 24px;
}

.dashboard-widget .widget-count {
    font-size: 28px;
    font-weight: bold;
}

.dashboard-widget.widget-primary {
    border-left-color: #4e73df;
}

.dashboard-widget.widget-success {
    border-left-color: #1cc88a;
}

.dashboard-widget.widget-info {
    border-left-color: #36b9cc;
}

.dashboard-widget.widget-warning {
    border-left-color: #f6c23e;
}

.dashboard-widget.widget-danger {
    border-left-color: #e74a3b;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: #f8f9fc;
    font-weight: 600;
}

.action-buttons .btn {
    margin: 0 2px;
}

/* Status Colors */
.status-not-started {
    background-color: #eaecf4;
}

.status-in-progress {
    background-color: #cfe2ff;
}

.status-on-hold {
    background-color: #fff3cd;
}

.status-completed {
    background-color: #d1e7dd;
}

.status-cancelled {
    background-color: #f8d7da;
}

/* Priority Colors */
.priority-low {
    color: #1cc88a;
}

.priority-medium {
    color: #f6c23e;
}

.priority-high {
    color: #e74a3b;
}

.priority-urgent {
    color: #e74a3b;
    font-weight: bold;
}

/* Form Styles */
.form-label {
    font-weight: 500;
}

.required-field::after {
    content: " *";
    color: #e74a3b;
}

/* Attendance Status */
.checkin-status {
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    width: 10px;
    margin-right: 5px;
}

.checked-in {
    background-color: #1cc88a;
}

.checked-out {
    background-color: #e74a3b;
}

/* Login Page */
.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profiles */
.profile-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.profile-header {
    background: linear-gradient(to right, #4e73df, #224abe);
    color: white;
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Project Details */
.project-progress {
    height: 10px;
    border-radius: 10px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ddd;
    left: 50px;
    margin-left: -1.5px;
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
}

.timeline-point {
    width: 20px;
    height: 20px;
    left: 50px;
    top: 15px;
    margin-left: -10px;
    border-radius: 50%;
    position: absolute;
    background: #4e73df;
}

.timeline-content {
    margin-left: 70px;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        margin-left: -250px;
    }
    
    .sidebar.active {
        margin-left: 0;
    }
    
    .main-content {
        width: 100%;
        margin-left: 0;
    }
    
    .main-content.active {
        width: calc(100% - 250px);
        margin-left: 250px;
    }
    
    .dashboard-widget {
        margin-bottom: 15px;
    }
} 