:root {
    --primary-color: #DB4C40;
    --secondary-color: #0F6CD9;
}

body {
  font-family: "Manrope", sans-serif !important;
}

.league-gothic {
    font-family: "League Gothic", sans-serif !important;
}

.jams-text-primary {
    color: var(--primary-color) !important;
}

.jams-text-secondary {
    color: var(--secondary-color) !important;
}

.jams-bg-primary {
    background-color: var(--primary-color) !important;
}

.jams-bg-secondary {
    background-color: var(--secondary-color) !important;
}

.jams-outline-secondary {
    border-color: var(--secondary-color) !important;
    color: var(--secondary-color) !important;
}

.auth-wrapper {
    display: flex;
    height: 100vh;
  }
  
  .auth-left {
    flex: 1;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
  }
  
  .auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #FFF;
  }
  
  .auth-form-container {
    width: 100%;
    max-width: 450px;
  }
  
  .logo-section {
    position: absolute;
    top: 30px;
    left: 30px;
    text-align: left;
  }
  
  .auth-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .form-label {
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    font-size: 14px;
  }
  
  .form-control, .form-select {
    border-radius: 6px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    background-color: #fff !important;
  }
  
  .form-control:focus, .form-select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !important;
  }
  
  .btn-auth {
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    color: white;
    font-size: 15px;
  }
  
  .btn-auth:hover {
    background: var(--primary-color);
    color: white;
  }
  
  .auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
  }
  
  .auth-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  @media (max-width: 991px) {
    .auth-right {
      display: none;
    }
  
    .auth-left {
      flex: 1;
    }
  }
  
  @media (max-width: 576px) {
    .auth-left {
      padding: 30px 20px;
    }
  
    .auth-form-container {
      max-width: 100%;
    }
  }
  :root {
    --sidebar-width: 250px;
    --header-height: 60px;
    --primary-red-dark: #DB4C40;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: white;
    overflow-y: auto;
    transition: transform 0.3s ease;
    z-index: 1050;
}

.sidebar-header {
    padding: 0 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #fff;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--primary-red);
    font-size: 24px;
}

.academy-name {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.sidebar-menu {
    padding: 15px 0 80px;
}

.menu-section {
    margin-bottom: 20px;
}

.menu-section h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 20px;
    margin-bottom: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 14px;
    border-left: 4px solid transparent;
    margin: 12px 15px;
    font-weight: 600;
}

.menu-item:hover {
    background: #FF5D50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.menu-item.active {
    background: #FF5D50;
    border-left-color: white;
    padding-left: 16px;
    border-radius: 5px;
}

.menu-item i {
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

.logout-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: var(--sidebar-width);
    background: var(--primary-color);
    padding: 15px 20px;
}

.logout-btn {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 14px;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.logout-btn i {
    margin-right: 10px;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

/* Top Header */
.header {
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    margin-left: var(--sidebar-width);
    margin-bottom: 0 !important;
}
.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-icon {
    position: relative;
    font-size: 18px;
    color: #6c757d;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

/* Content Area */
.content-area{
    padding: 30px;
    background: #fff;
}
.main-bar {
  padding: 15px 30px;
  background: #FAFAFA;
}

.page-title {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 3px solid #007bff;
    padding-bottom: 10px;
    display: inline-block;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0 !important;
    padding: 20px;
}

.btn-primary {
    background: #007bff;
    border-color: #007bff;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-danger:hover {
    background: #c82333;
    border-color: #c82333;
}

.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background: #f8f9fa;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-online {
    background: #d1ecf1;
    color: #0c5460;
}

.badge-offline {
    background: #f8d7da;
    color: #721c24;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
}

.badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.search-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.search-input {
    flex: 1;
    max-width: 400px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.back-btn {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
}

.back-btn:hover {
    background: #5a6268;
    border-color: #5a6268;
    color: white;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
  }
  #progressbar li {
    list-style-type: none;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: 20%;
    float: left;
    position: relative;
  }
  #progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 25px;
    line-height: 25px;
    display: block;
    font-size: 14px;
    color: #000;
    background: #D9D9D9;
    border-radius: 50%;
    margin: 0 auto 5px auto;
    z-index: 1;
    position: relative;
  }
  /*progressbar connectors*/
  #progressbar li:after {
    content: '';
    width: 100%;
    height: 4px;
    background: #D9D9D9;
    position: absolute;
    left: -50%;
    top: 8px;
  }
  #progressbar li:first-child:after {
    content: none;
  }
  #progressbar li.active:before,
  #progressbar li.active:after {
    background: var(--primary-color);
    color: #000;
  }
  .help-block {
    font-size: .8em;
    color: #7c7c7c;
    text-align: left;
    margin-bottom: .5em;
  }

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 1060;
    background: transparent;
    font-size: 22px;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1045;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .overlay.show {
        display: block;
    }
    
    .content-area {
        padding: 20px 15px;
    }
    .main-bar {
      padding: 10px 15px;
    }
    
    .header {
        padding: 0 15px 0 60px;
    }
    
    .logout-section {
        width: var(--sidebar-width);
    }
    .header .breadcrumb {
        display: none;
    }
}

@media (max-width: 576px) {
    .user-info span {
        display: none;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th, .table td {
        padding: 10px 8px;
    }
    
    .page-title {
        font-size: 22px;
    }
}

/* course card styles */
.course-card {
    cursor: pointer;
    border: 1px solid #F8F8F8;
}

.course-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.text-decoration-none:hover .course-card {
    border-color: var(--primary-color);
}

.course-type {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}