:root {
    --primary-color: #2a5f9e;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --text-light: #777;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.logo span {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
}

.header-right {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: 20px;
}

.search-box input {
    padding: 8px 15px 8px 35px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: 200px;
    outline: none;
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.notifications {
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

.notifications i {
    font-size: 20px;
    color: var(--text-light);
}

.notifications .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.app-sidebar {
    width: 250px;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    transition: all 0.3s;
    z-index: 999;
}

.app-sidebar.collapsed {
    left: -250px;
}

.sidebar-menu {
    padding: 20px 0;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-menu li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.sidebar-menu li.active a {
    background-color: var(--primary-color);
    color: white;
}

.main-content {
    flex: 1;
    margin-left: 250px;
    margin-top: 60px;
    padding: 20px;
    transition: all 0.3s;
}

.app-container.sidebar-collapsed .main-content {
    margin-left: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 8px;
    color: white;
    margin-bottom: 20px;
}

.stat-card-primary {
    background-color: var(--primary-color);
}

.stat-card-success {
    background-color: var(--success-color);
}

.stat-card-info {
    background-color: var(--info-color);
}

.stat-icon {
    font-size: 30px;
    margin-right: 20px;
}

.stat-content h3 {
    font-size: 28px;
    margin: 0;
}

.stat-content p {
    margin: 5px 0 0;
    opacity: 0.9;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
}

.card-body {
    padding: 20px;
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--primary-color);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.login-logo {
    max-width: 100px;
    margin-bottom: 10px;
}

.assignee-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    padding: 10px;
    border-radius: 4px;
}

.badge {
    padding: 6px 10px;
    font-weight: 500;
    font-size: 12px;
}

.dropdown-menu {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.dropdown-item {
    padding: 8px 15px;
}

.dropdown-item i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-light);
    padding: 10px 15px;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background: none;
}

.tab-content {
    padding: 15px 0;
}

@media (max-width: 768px) {
    .app-sidebar {
        left: -250px;
    }
    
    .app-sidebar.collapsed {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header-right .search-box {
        display: none;
    }
}