:root {
    --primary-blue: #4F46E5;
    --sidebar-bg: #F9FAFB;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #F3F4F6;
    color: var(--text-dark);
}

.sidebar {
    background-color: var(--sidebar-bg);
    min-height: 100vh;
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
}

.sidebar-header {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-header h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.program-info {
    background-color: white;
    border-radius: 8px;
    padding: 0rem;
    margin: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.program-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.progress-bar-custom {
    height: 6px;
    border-radius: 3px;
    background-color: #E5E7EB;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    width: 33%;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 0.25rem;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link-custom {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.nav-link-custom:hover {
    background-color: #F3F4F6;
    color: var(--text-dark);
}

.nav-link-custom.active {
    background-color: #EEF2FF;
    color: var(--primary-blue);
    font-weight: 600;
    border-right: 3px solid var(--primary-blue);
}

.nav-link-custom i {
    width: 20px;
    margin-right: 0.75rem;
}

.quick-stats {
    padding: 0 1.5rem;
}

.quick-stats h6 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.stat-label {
    color: var(--text-muted);
}

.stat-value {
    font-weight: 600;
    color: var(--text-dark);
}

.main-content {
    padding: 1rem 2rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-details h6 {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.user-details p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.top-bar-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.day-indicator {
    font-size: 0.875rem;
    color: var(--success-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.greeting-section {
    background: white;
    border-radius: 5px;
    padding: 0px 0rem;
    box-shadow: none;
}

.greeting-section h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.greeting-section p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.tasks-section {
    background: white;
    border-radius: 12px;
    padding: 15px 0rem;
    margin-bottom: 1rem;
    box-shadow: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.section-date {
    font-size: 0.875rem;
    color: var(--primary-blue);
}

.task-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.task-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.task-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


.task-checkbox.checked {
    border-color: var(--success-green);
    background-color: var(--success-green);
    position: relative;
}

.task-checkbox.checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.task-content {
    flex: 1;
}

.task-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.task-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.task-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.task-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-module {
    background-color: #F3F4F6;
    color: var(--text-dark);
}

.task-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-high {
    background-color: #FEF3C7;
    color: #92400E;
}

.priority-medium {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.priority-low {
    background-color: #F3F4F6;
    color: var(--text-muted);
}

.btn-start {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background-color: var(--primary-blue);
    color: white;
}

.btn-start:hover {
    background-color: #4338CA;
}

.sidebar-right {
    background: white;
    padding: 2rem 1.5rem;
}

.widget {
    margin-bottom: 2.5rem;
}

.widget h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.progress-widget {
    text-align: center;
    background: #e4eefd;
    padding: 25px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.progress-widget .stat {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.progress-widget p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.progress-detail {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.deadline-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border-left: 3px solid transparent;
}

.deadline-item.urgent {
    background-color: #FEF2F2;
    border-left-color: var(--danger-red);
}

.deadline-item.warning {
    background-color: #FFFBEB;
    border-left-color: var(--warning-orange);
}

.deadline-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.deadline-icon.red {
    background-color: var(--danger-red);
}

.deadline-icon.orange {
    background-color: var(--warning-orange);
}

.deadline-content h6 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.deadline-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.mentor-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.mentor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.mentor-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.mentor-info p {
    margin: 0;
    font-size: 0.8125rem;
    opacity: 0.9;
}

.btn-send-message {
    width: 100%;
    margin-top: 1rem;
    padding: 0.625rem;
    background: white;
    color: var(--primary-blue);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.activity-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success-green);
    margin-top: 6px;
    flex-shrink: 0;
}

.activity-content h6 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.activity-content p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.module-card {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-card.completed {
    background-color: #F0FDF4;
    border: 1px solid #86EFAC;
}

.module-card.in-progress {
    background-color: #EEF2FF;
    border: 1px solid #C7D2FE;
}

.module-card.locked {
    background-color: #F9FAFB;
    border: 1px solid var(--border-color);
}

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-icon.completed {
    background-color: var(--success-green);
    color: white;
}

.module-icon.in-progress {
    background-color: var(--primary-blue);
    color: white;
}

.module-icon.locked {
    background-color: #E5E7EB;
    color: var(--text-muted);
}

.module-info {
    flex: 1;
}

.module-info h6 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9375rem;
    font-weight: 600;
}

.module-info p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.module-progress {
    width: 120px;
}

.program-overview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mtt0 {
    margin-top: 0px !important;
}

.sidebar-right {
    padding-right: 20px !important;
}

.program-header h1 {
    font-size: 25px;
    font-weight: 400;
}