/* ████████████████████████████████████████████████████████████████████████████████
   ██                                                                            ██
   ██                    ENHANCED IN-PERSON TRAINING STYLING                    ██
   ██                          COMPLETE CSS FRAMEWORK                           ██
   ██                                                                            ██
   ████████████████████████████████████████████████████████████████████████████████ */

/* ═══════════════════════════════════════════════════════════════════════════════════
   ║                                RESET & BASE STYLES                             ║
   ═══════════════════════════════════════════════════════════════════════════════════ */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                                 BREADCRUMB STYLING                             ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .breadcrumb {
    margin: 0;
    padding: 20px 5%;
    background: linear-gradient(to right, rgba(0, 33, 71, 0.05), rgba(184, 134, 11, 0.05));
    font-size: 14px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
  }
  
  .breadcrumb a {
    color: #002147;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b8860b;
    transition: width 0.3s ease;
  }
  
  .breadcrumb a:hover::after {
    width: 100%;
  }
  
  .breadcrumb span {
    color: #b8860b;
    font-weight: 600;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                                  HERO SECTION                                  ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  #hero {
    background: linear-gradient(135deg, #002147 0%, #001633 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
  }
  
  #hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
    border-radius: 50%;
  }
  
  #hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
  }
  
  .hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                             SEARCH AND FILTER BAR                              ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .filter-bar {
    background: white;
    padding: 25px;
    margin: -40px auto 40px;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
  }
  
  .search-box input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  
  .search-box input:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
  }
  
  .search-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
  }
  
  .filter-dropdown {
    min-width: 180px;
  }
  
  .filter-dropdown select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-dropdown select:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               VIEW TOGGLE BUTTONS                              ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .view-toggle {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .view-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
  }
  
  .view-btn:hover {
    border-color: #b8860b;
    color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .view-btn.active {
    background: linear-gradient(135deg, #b8860b 0%, #9a7209 100%);
    color: white;
    border-color: #b8860b;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                              USER INSTRUCTIONS                                 ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .user-instructions {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 20px;
  }
  
  .instructions-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid #b8860b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .instructions-content h3 {
    color: #002147;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .instructions-content h3 i {
    color: #b8860b;
  }
  
  .instructions-content p {
    color: #555;
    margin: 0;
    line-height: 1.6;
  }
  
  .instructions-content .highlight {
    color: #b8860b;
    font-weight: 600;
    padding: 2px 6px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 4px;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               TABLE SECTIONS                                   ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .table-view-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .table-section {
    margin-bottom: 60px;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
  }
  
  .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #002147;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  
  .section-header h2 i {
    color: #b8860b;
    font-size: 28px;
  }
  
  .section-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                            TABLE CONTAINER & STYLING                           ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               STICKY HEADERS                                   ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .courses-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  
  .courses-table thead.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #002147 0%, #003366 100%);
  }
  
  .courses-table thead.sticky-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #b8860b, transparent);
  }
  
  .courses-table th {
    padding: 20px 15px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    background: linear-gradient(135deg, #002147 0%, #003366 100%);
  }
  
  .courses-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    background: white;
  }
  
  .courses-table tbody tr:hover {
    background-color: #fefdfb;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .courses-table tbody tr.expired-course {
    opacity: 0.8;
  }
  
  .courses-table tbody tr.expired-course:hover {
    background-color: #f8f9fa;
    opacity: 1;
  }
  
  .courses-table td {
    padding: 20px 15px;
    font-size: 14px;
    vertical-align: middle;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               TABLE CELL STYLING                               ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  /* Course Title Cell */
  .course-title {
    font-weight: 600;
    color: #002147;
    line-height: 1.4;
  }
  
  /* Date Badge */
  .date-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f7ff;
    color: #002147;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e3f2fd;
  }
  
  .date-badge.expired {
    background: #f5f5f5;
    color: #666;
    border-color: #ddd;
  }
  
  /* Price Badge */
  .price-badge {
    font-weight: 700;
    color: #b8860b;
    font-size: 16px;
  }
  
  .price-badge.expired {
    color: #888;
  }
  
  /* Status Badges */
  .status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
  }
  
  .status-open {
    background: #d4f4dd;
    color: #2e7d3e;
    border: 1px solid #c3e6cb;
  }
  
  .status-limited {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
  }
  
  .status-closed {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  
  .status-completed {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
  }
  
  /* Seats Count Badge */
  .seats-count {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    border: 1px solid;
  }
  
  .seats-good {
    color: #2e7d3e;
    background: #d4f4dd;
    border-color: #c3e6cb;
  }
  
  .seats-warning {
    color: #856404;
    background: #fff3cd;
    border-color: #ffeaa7;
  }
  
  .seats-danger {
    color: #721c24;
    background: #f8d7da;
    border-color: #f5c6cb;
  }
  
  .seats-count.expired {
    color: #666;
    background: #f5f5f5;
    border-color: #ddd;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               ACTION BUTTONS                                   ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }
  
  .btn-icon {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 14px;
  }
  
  .btn-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }
  
  .btn-icon:hover::before {
    width: 50px;
    height: 50px;
  }
  
  .btn-details {
    background: #002147;
    color: white;
    border: 2px solid #002147;
  }
  
  .btn-details:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 33, 71, 0.3);
  }
  
  .btn-wishlist {
    background: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
  }
  
  .btn-wishlist:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
  }
  
  .btn-cart {
    background: #b8860b;
    color: white;
    border: 2px solid #b8860b;
  }
  
  .btn-cart:hover {
    background: #9a7209;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
  }
  
  /* Archive buttons for expired courses */
  .btn-info {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
  }
  
  .btn-info:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
  }
  
  .btn-archive {
    background: #17a2b8;
    color: white;
    border: 2px solid #17a2b8;
  }
  
  .btn-archive:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                                NO COURSES MESSAGE                              ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .no-courses {
    padding: 60px 20px !important;
    text-align: center;
    background: #f8f9fa;
  }
  
  .no-courses-message {
    color: #6c757d;
  }
  
  .no-courses-message i {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 20px;
    display: block;
  }
  
  .no-courses-message h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #495057;
  }
  
  .no-courses-message p {
    font-size: 14px;
    margin: 0;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               CALENDAR STYLING                                 ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .calendar-container {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: none;
  }
  
  .calendar-header {
    background: white;
    border-radius: 12px 12px 0 0;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .calendar-nav {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .calendar-nav button {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .calendar-nav button:hover {
    background: #b8860b;
    color: white;
    transform: scale(1.1);
  }
  
  .calendar-nav h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #002147;
    margin: 0;
    min-width: 200px;
    text-align: center;
  }
  
  .calendar-controls {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .calendar-view-options {
    display: flex;
    gap: 10px;
  }
  
  .calendar-view-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
  }
  
  .calendar-view-btn:hover {
    border-color: #b8860b;
    color: #b8860b;
  }
  
  .calendar-view-btn.active {
    background: #002147;
    color: white;
    border-color: #002147;
  }
  
  /* Calendar Legend */
  .calendar-legend {
    display: flex;
    gap: 15px;
    align-items: center;
  }
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
  }
  
  .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ddd;
  }
  
  .legend-color.available {
    background: #b8860b;
  }
  
  .legend-color.limited {
    background: #ffc107;
  }
  
  .legend-color.full {
    background: #dc3545;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                              CALENDAR GRID                                     ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .calendar-grid {
    background: white;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }
  
  .calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .weekday {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
  }
  
  .calendar-day {
    min-height: 120px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .calendar-day:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .calendar-day.other-month {
    background: #fafafa;
    opacity: 0.5;
  }
  
  .calendar-day.today {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-color: #002147;
    border-width: 2px;
  }
  
  .calendar-day.has-course {
    background: linear-gradient(135deg, #fef9f0 0%, #fdf5e8 100%);
    border-color: #b8860b;
    border-width: 2px;
  }
  
  .day-number {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
  }
  
  .day-courses {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
  }
  
  .course-badge {
    background: #b8860b;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .course-badge:hover {
    background: #9a7209;
    transform: scale(1.05);
  }
  
  .course-badge.full {
    background: #dc3545;
  }
  
  .course-badge.limited {
    background: #ffc107;
    color: #333;
  }
  
  .course-count-badge {
    background: #6c757d;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    text-align: center;
    margin-top: 2px;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                                YEAR VIEW                                       ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .year-view-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }
  
  .year-month {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
  }
  
  .year-month h4 {
    font-family: 'Playfair Display', serif;
    color: #002147;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
  }
  
  .year-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  
  .year-weekday {
    text-align: center;
    font-size: 10px;
    color: #999;
    font-weight: 600;
    padding: 5px 0;
  }
  
  .year-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border-radius: 4px;
    background: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
  }
  
  .year-day:hover {
    background: #e0e0e0;
    transform: scale(1.1);
  }
  
  .year-day.has-course {
    background: #b8860b;
    color: white;
    font-weight: 600;
  }
  
  .year-day.today {
    border: 2px solid #002147;
    font-weight: 700;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                             COURSE SUMMARY PANEL                               ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .course-summary-panel {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
  }
  
  .course-summary-panel h4 {
    color: #002147;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
  }
  
  .course-summary-panel h4 i {
    color: #b8860b;
  }
  
  .summary-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
  }
  
  .stat-item {
    text-align: center;
    flex: 1;
  }
  
  .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #b8860b;
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                                MODAL STYLING                                   ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .course-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
  }
  
  .course-modal.show {
    display: flex;
  }
  
  .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
  
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-50px) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .modal-header {
    background: linear-gradient(135deg, #002147 0%, #003366 100%);
    color: white;
    padding: 25px;
    border-radius: 12px 12px 0 0;
    position: relative;
  }
  
  .modal-header.archive-header {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  }
  
  .modal-header h3 {
    margin: 0;
    font-size: 20px;
    padding-right: 40px;
  }
  
  .modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }
  
  .modal-body {
    padding: 30px;
  }
  
  .archive-badge {
    background: #e9ecef;
    color: #6c757d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  
  .modal-course-info {
    display: grid;
    gap: 20px;
  }
  
  .modal-info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .modal-info-row:last-child {
    border-bottom: none;
  }
  
  .modal-label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
  }
  
  .modal-info-row > div:last-child {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
  }
  
  .modal-btn {
    flex: 1;
    padding: 12px 25px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
  }
  
  .modal-btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, #9a7209 100%);
    color: white;
  }
  
  .modal-btn-secondary {
    background: white;
    color: #002147;
    border: 2px solid #002147;
  }
  
  .modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                              TOOLTIPS                                          ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .tooltip {
    position: relative;
  }
  
  .tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
    z-index: 1000;
  }
  
  .tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .tooltip:hover::after,
  .tooltip:hover::before {
    opacity: 1;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                             NOTIFICATION SYSTEM                                ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .notification {
    position: fixed;
    top: 20px;
    right: -400px;
    max-width: 400px;
    padding: 20px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3000;
    border-left: 4px solid;
  }
  
  .notification.show {
    right: 20px;
  }
  
  .notification.success {
    border-left-color: #28a745;
  }
  
  .notification.error {
    border-left-color: #dc3545;
  }
  
  .notification.warning {
    border-left-color: #ffc107;
  }
  
  .notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .notification.success .notification-icon {
    background: #d4f4dd;
    color: #2e7d3e;
  }
  
  .notification.error .notification-icon {
    background: #f8d7da;
    color: #721c24;
  }
  
  .notification.warning .notification-icon {
    background: #fff3cd;
    color: #856404;
  }
  
  .notification-content h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .notification-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                              LOADING STATES                                    ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  .btn-loading {
    pointer-events: none;
    opacity: 0.7;
  }
  
  .btn-loading i {
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                               ANIMATIONS                                       ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideInFromTop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                             RESPONSIVE DESIGN                                  ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  @media (max-width: 1200px) {
    .year-view-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .summary-stats {
      flex-direction: column;
      gap: 15px;
    }
  }
  
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 32px;
    }
    
    .filter-bar {
      flex-direction: column;
      gap: 15px;
    }
    
    .search-box, .filter-dropdown {
      width: 100%;
    }
    
    .table-container {
      max-height: 70vh;
      font-size: 12px;
    }
    
    .courses-table th,
    .courses-table td {
      padding: 12px 8px;
      font-size: 12px;
    }
    
    .action-buttons {
      flex-direction: column;
      gap: 5px;
    }
    
    .btn-icon {
      width: 32px;
      height: 32px;
      font-size: 12px;
    }
    
    .calendar-header {
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }
    
    .calendar-controls {
      justify-content: center;
    }
    
    .calendar-legend {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .year-view-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
    }
    
    .modal-content {
      margin: 10px;
      max-height: 90vh;
    }
    
    .modal-info-row {
      grid-template-columns: 1fr;
      gap: 8px;
    }
    
    .modal-label {
      font-weight: 700;
      color: #002147;
    }
    
    .modal-actions {
      flex-direction: column;
    }
    
    .notification {
      left: 10px;
      right: 10px;
      max-width: none;
    }
    
    .notification.show {
      right: 10px;
    }
    
    .section-header h2 {
      font-size: 24px;
      flex-direction: column;
      gap: 10px;
    }
    
    .instructions-content {
      padding: 15px 20px;
    }
    
    .view-toggle {
      flex-direction: column;
      align-items: center;
    }
    
    .view-btn {
      width: 200px;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 24px;
    }
    
    .hero-content p {
      font-size: 16px;
    }
    
    .calendar-day {
      min-height: 80px;
      padding: 5px;
    }
    
    .day-number {
      font-size: 12px;
    }
    
    .course-badge {
      font-size: 9px;
      padding: 2px 6px;
    }
    
    .table-container {
      max-height: 60vh;
    }
    
    .courses-table th,
    .courses-table td {
      padding: 8px 4px;
      font-size: 11px;
    }
    
    .btn-icon {
      width: 28px;
      height: 28px;
      font-size: 10px;
    }
    
    .course-title {
      font-size: 12px;
    }
    
    .date-badge, .price-badge, .status-badge, .seats-count {
      font-size: 10px;
      padding: 3px 6px;
    }
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                            PRINT STYLES                                        ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  @media print {
    .filter-bar,
    .view-toggle,
    .user-instructions,
    .action-buttons,
    .calendar-container,
    .notification,
    .modal {
      display: none !important;
    }
    
    .table-container {
      max-height: none;
      overflow: visible;
      box-shadow: none;
    }
    
    .courses-table thead.sticky-header {
      position: static;
    }
    
    .courses-table tbody tr:hover {
      background: white;
      transform: none;
      box-shadow: none;
    }
    
    body {
      background: white;
    }
    
    .section-header h2 {
      color: black;
    }
  }
  
  /* ═══════════════════════════════════════════════════════════════════════════════════
     ║                            ACCESSIBILITY ENHANCEMENTS                          ║
     ═══════════════════════════════════════════════════════════════════════════════════ */
  
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  /* Focus states for accessibility */
  .btn-icon:focus,
  .view-btn:focus,
  .calendar-view-btn:focus,
  .modal-btn:focus {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
  }
  
  .search-box input:focus,
  .filter-dropdown select:focus {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
  }
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .courses-table tbody tr:hover {
      background: #f0f0f0;
      border: 2px solid #000;
    }
    
    .btn-icon {
      border: 2px solid;
    }
    
    .status-badge {
      border: 2px solid;
    }
  }
  
  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    /* This can be extended for full dark mode support if needed */
    .notification {
      background: #2d3748;
      color: white;
    }
    
    .notification-content h4 {
      color: white;
    }
    
    .notification-content p {
      color: #cbd5e0;
    }
  }

  linked-course-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    border: 1px solid rgba(25, 118, 210, 0.2);
  }
  
  .linked-course-indicator i {
    font-size: 10px;
  }