/* Path: assets/css/mahasiswa.css */

:root {
    /* Primary colors for mahasiswa theme - teal/blue */
    --bs-primary: #0093ad;
    --bs-primary-rgb: 0, 147, 173;
    --bs-primary-text-emphasis: #007a8c;
    --bs-primary-bg-subtle: #e6f7fa;
    --bs-primary-border-subtle: #b8e5ed;
  }
  
  /* Override primary button styles */
  .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #007a8c;
    --bs-btn-hover-border-color: #006e7f;
    --bs-btn-focus-shadow-rgb: 0, 147, 173;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #006e7f;
    --bs-btn-active-border-color: #006272;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0093ad;
    --bs-btn-disabled-border-color: #0093ad;
  }
  
  /* Outline primary button */
  .btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 0, 147, 173;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
  }
  
  /* Timeline style for history */
  .timeline {
    position: relative;
    padding-left: 30px;
  }
  
  .timeline:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--bs-border-color);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 20px;
  }
  
  .timeline-icon {
    position: absolute;
    left: -30px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bs-body-bg);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .timeline-content {
    background-color: var(--bs-body-bg);
    border-radius: 0.5rem;
    padding: 15px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
  }
  
  .timeline-date {
    font-size: 0.875rem;
    color: var(--bs-secondary);
    margin-bottom: 5px;
  }
  
  /* Avatar and profile elements */
  .avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
  }
  
  /* Progress bar custom styles */
  .progress-thin {
    height: 6px;
  }
  
  .status-badge {
    padding: 0.5em 0.75em;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  /* Custom card styles */
  .card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease;
  }
  
  .card {
    transition: all 0.3s ease;
  }
  
  /* Page section styles */
  .page-section {
    margin-bottom: 2rem;
  }
  
  .page-section-title {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--bs-primary-border-subtle);
    padding-bottom: 0.5rem;
  }
  
  /* Dark theme adjustments */
  [data-bs-theme="dark"] .timeline:before {
    background-color: #495057;
  }
  
  [data-bs-theme="dark"] .timeline-content {
    background-color: #2b3035;
  }
  
  [data-bs-theme="dark"] .card-hover:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5) !important;
  }
  
  /* File upload area */
  .upload-area {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .upload-area:hover {
    border-color: var(--bs-primary);
    background-color: var(--bs-primary-bg-subtle);
  }
  
  .upload-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
  }
  
  /* File type indicators */
  .file-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
  }
  
  .file-icon.pdf {
    color: #dc3545;
  }
  
  .file-icon.doc, .file-icon.docx {
    color: #0d6efd;
  }
  
  .file-icon.xls, .file-icon.xlsx {
    color: #198754;
  }
  
  /* Chapter progress indicator */
  .chapter-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  
  .chapter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
  }
  
  .chapter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--bs-border-color);
    z-index: 0;
  }
  
  .chapter-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bs-white);
    border: 2px solid var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
  }
  
  .chapter-circle.active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
  }
  
  .chapter-circle.completed {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
    color: white;
  }
  
  .chapter-label {
    font-size: 0.75rem;
    text-align: center;
  }