.grb-hero-title,
.grb_slide_title {
    color:white !important;
}
   /*Sidebar styles*/
    .sidebar {
        background-color: #06529d;
    }

    /* Sidebar styles */
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        height: 100%;

    }

    /* Profile section */
    .profile-section {
        padding: 1.5rem;
        text-align: center;
        background: #f0f0f0;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #3498db;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        margin: 0 auto;
        border: 3px solid rgba(255, 255, 255, 0.1);
    }

    .profile-name {
        color: black;
        font-size: 1.1rem;
        margin: 0.75rem 0 0.25rem;
    }

    .profile-email {
        color: gray;
        font-size: 0.875rem;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        margin-bottom: 0.5rem;
    }

    /* Navigation menu */
    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        margin: 0.25rem 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        border-radius: 6px;
        margin: 0 0.75rem;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(5px);
    }

    .nav-link.active {
        background: #3498db;
        color: white;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .nav-link i {
        width: 20px;
        margin-right: 0.75rem;
        font-size: 1rem;
    }

    .nav-link span {
        font-size: 0.95rem;
    }

    /* Logout section */
    .logout-section {
        margin-top: auto;
        padding: 1rem 0.75rem;
        margin-bottom:20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logout-link {
        display: flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        background: rgb(160, 21, 0);
        text-decoration: none;
        border-radius: 6px;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .logout-link:hover {
        background: rgb(210, 21, 0);
        color: #ffffff;
    }

    .logout-link i {
        width: 20px;
        margin-right: 0.75rem;
color: #ffffff;
    }
    
    .logout-link span{
        color: #ffffff;
    }


.dashboard-wrapper,
.main-content {
  display: flex;
  display: flex;
}
.custom-practice-card,
.order-card,
.pos-card,
.stat-card,
.table-container {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.info-label,
.order-price,
.order-title,
.pos-card h6,
h4,
th {
  font-weight: 600;
}
.btn,
.download-btn,
.edit-profile-btn,
.stat-card a,
.view-btn {
  text-decoration: none;
}
.empty-state,
.tests-grid {
  animation: 0.5s ease-out fadeIn;
}
.stat-card,
.table-container {
  background: #fff;
  border-radius: 8px;
}
.custom-practice-cards,
.stats-grid {
  grid-template-columns: repeat(3, 1fr);
}
.body {
  padding-top: 0 !important;
}
.dashboard-wrapper {
  display: flex;
}
.sidebar {
  flex-shrink: 0;
}
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.content-container {
  flex: 1;
  overflow-y: auto;
}
.content-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.stats-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}
.stat-card {
  padding: 1.5rem;
  text-align: center;
}
.stat-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #3498db;
}
.stat-card h6 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 0.5rem 0;
}
.btn,
.stat-card a {
  font-size: 0.875rem;
}
.stat-card p {
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}
.stat-card a {
  color: #3498db;
}
td,
th {
  color: #2c3e50;
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.pos-container,
.your-tests-container {
  margin-left: 25px;
  margin-right: 25px;
  margin-top: 20px;
}
.your-tests-container h5 {
  margin: 0;
}
.table-container {
  margin: 1.5rem;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: #f8f9fa;
}
.value_td {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.custom-practice-card,
.pos-card {
  background: #fff;
  padding: 1rem;
  text-align: center;
}
.upcoming-label-2 {
  border: 1px solid #ff9e9e !important;
}
.view-syllabus {
  color: #3b82f6;
  border: 1px solid #3b82f6;
}
.custom-practice-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.custom-practice-card {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #eee;
}
.custom-practice-card img {
  width: 80px;
  margin-bottom: 1rem;
}
.custom-practice-card h5 {
  color: #2c3e50;
  font-size: 1rem;
  margin: 0;
}
.custom-practice-card a {
  color: #3498db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.3s;
  margin-top: 0.5rem;
}
.content-header h4,
.pos-card h6 {
  color: #2c3e50;
  margin: 0;
}
.pos-card h6,
h4 {
  font-size: 1rem;
}
.pos-practice-cards {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.pos-card {
  flex: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #eee;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.pos-card img {
  width: 50px;
  margin-bottom: 0.5rem;
}
.pos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 1366px) {
  .dashboard-wrapper {
    width: min(1400px, 90%);
    height: min(800px, 85vh);
  }
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.edit-profile-btn,
.info-label,
.meta-item {
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .dashboard-wrapper {
    width: min(1400px, 90%);
    height: min(800px, 90vh);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-grid,
  .test-cards-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle,
  .sidebar-overlay.active {
    display: block;
  }
  .dashboard-container {
    padding-top: 0;
  }
  .dashboard-wrapper {
    width: 95%;
    height: auto;
    min-height: 100vh;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s;
  }
  .sidebar.active {
    left: 0;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .main-content {
    width: 100%;
  }
  .stats-grid {
    gap: 1rem;
  }
  .custom-practice-cards,
  .pos-practice-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.test-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.form-content,
.orders-container {
  padding: 1.5rem;
  overflow-y: auto;
}
.order-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.order-sections,
.profile-sections {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.order-price {
  color: #10b981;
  font-size: 1.25rem;
}
.order-title {
  color: #1e293b;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.order-package {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.order-footer {
  display: flex;
  flex-direction:row;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

@media (max-width: 576px) {
  .order-footer {
  display: flex;
  flex-direction:column;
  align-items:start;
  gap:4px;
  /*justify-content: space-between;*/
  /*align-items: center;*/
  /*margin-top: 1rem;*/
  /*padding-top: 1rem;*/
  /*border-top: 1px solid #eee;*/
}
}
.expiry-date {
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}
.expiry-date i {
  margin-right: 0.5rem;
  color: #94a3b8;
}
.view-btn {
  padding: 0.5rem 1.25rem;
  background: #3498db;
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.2s;
}
@media (max-width: 576px) {
  .view-btn {
    padding: 0.3rem 0.75rem; /* Reduced padding */
    font-size: 0.8rem;       /* Slightly smaller font size */
  }
}
.download-btn,
.form-select,
.info-label,
.info-value {
  font-size: 0.95rem;
}
.view-btn:hover {
  background: #2980b9;
  color: #fff;
}
.dashboard-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.dashboard-wrapper {
  margin-top: 20px;
  min-width: 300px;
  display: flex;
  flex-direction: row;
}
.sidebar {
  transition: transform 0.3s;
}
.order-content {
  padding: 1.5rem;
  overflow-y: auto;
  background: #f8fafc;
  flex: 1;
}
.order-sections {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #f1f5f9;
}
       .info-row {
            display: flex;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #f1f5f9;
            flex-wrap: wrap;
            
        }

        .info-row:last-child {
            border-bottom: none;
            margin-bottom:1rem;
        }
        
                .info-row:first-child {
            border-bottom: none;
            margin-top:1rem;
        }
.info-label {
  display: flex;
  align-items: center;
}
.info-value {
  flex: 1;
  display: flex;
  align-items: center;
}
.info-value i {
  color: #3498db;
  margin-right: 0.5rem;
}
.download-btn {
  padding: 0.5rem 1.25rem;
  background: #3498db;
  color: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  margin: 1rem 0;
}
.download-btn:hover,
.edit-profile-btn:hover {
  background: #2980b9;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 1200px) {
  .dashboard-wrapper {
    width: 80%;
  }
}
@media (max-width: 1024px) {
  .dashboard-wrapper {
    width: 90%;
  }
  .info-label {
    width: 150px;
  }
  .download-btn {
    margin: 1rem 0;
  }
}
@media (max-width: 768px) {
  .menu-toggle,
  .sidebar-overlay.active {
    display: block;
  }
  .dashboard-container {
    padding-top: 0;
  }
  .dashboard-wrapper {
    width: 95%;
    height: auto;
    flex-direction: column;
    margin-top: 20px;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 999;
    transition: transform 0.3s;
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .info-value,
  .main-content {
    width: 100%;
  }
  .info-label {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 480px) {
  .dashboard-wrapper {
    width: 100%;
    border-radius: 0;
  }
  .profile-header {
    padding: 1rem;
  }
  .info-row {
    flex-direction: column;
  }
  .info-label,
  .info-value {
    width: 100% !important;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
  }
  
}
.form-group,
.form-row,
.form-section,
.profile-sections {
  margin-bottom: 1.5rem;
}
.profile-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
@media (max-width: 400px) {
    .profile-header{
    display:flex;
    flex-direction:column;
        align-items:start;
        gap:5px;
    }
}
.profile-header h4 {
  color: #334155;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
}
.section-header h4,
.section-header h6 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}
.profile-content {
  padding: 1.5rem;
  overflow-y: auto;
  background: #f8fafc;
}
.profile-sections {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
}
.form-section,
.password-form {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.section-header h6 {
  color: #334155;
}
.section-content {
  /*padding: 1.5rem;*/
  background: #fff;
}
.info-row {
  display: flex;
  /*padding: 0.5rem 0;*/
}
.info-label {
  width: 140px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
}
.info-label i {
  color: #3498db;
  width: 16px;
}
.info-value {
  flex: 1;
  font-weight: 500;
}
.form-section {
  background: #fff;
  border-radius: 8px;
}
.section-header {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #eee;
  border-radius: 8px 8px 0 0;
}
.section-header h4 {
  color: #2c3e50;
}
.section-body,
.submit-section {
  padding: 1.5rem;
}
.form-select {
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #1e293b;
  appearance: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e")
    right 1rem center/1em no-repeat;
}
.form-control:focus,
.form-select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  outline: 0;
}
.form-control.error,
.form-select.error {
  border-color: #ef4444;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.form-group:last-child,
.form-row .form-group {
  margin-bottom: 0;
}
.form-group,
.input-group {
  position: relative;
}
.form-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error,
.form-label,
.step-container.active {
  display: block;
}
.form-label {
  margin-bottom: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}
.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  width: 16px;
  text-align: center;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #1e293b;
  transition: 0.2s;
}
.error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.375rem;
}
.submit-section {
  margin-top: 2rem;
  text-align: center;
}
.btn-submit {
  padding: 0.75rem 2rem;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: 0.2s;
}
.btn-submit:hover {
  background: #2980b9;
  transform: translateY(-1px);
}
.btn-submit:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}
.form-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  overflow-y: auto;
}
.password-form {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
}
.required {
  color: #ef4444;
  margin-left: 0.25rem;
}
.edit-profile-btn {
  padding: 0.5rem 1.25rem;
  background: #3498db;
  color: #fff;
  width: fit-content;
  border-radius: 6px;
  display: flex;
  /*margin: 0 auto;*/
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: 0.2s;
}
.form-switch,
.sources-container {
  margin-top: 10px;
}
@media (max-width: 576px) {
  .stepper-button {
    font-size: 12px;
  }
  .btn-next {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .content-header,
  .form-container {
    padding: 1rem;
  }
  .password-form {
    padding: 1.5rem;
    box-shadow: none;
  }
  .btn-submit {
    width: 100%;
    justify-content: center;
  }
  .menu-toggle,
  .sidebar-overlay.active {
    display: block;
  }
  .dashboard-container {
    padding-top: 0;
  }
  .dashboard-wrapper {
    width: 95%;
    height: auto;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s;
  }
  .sidebar.active {
    left: 0;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .main-content {
    box-shadow: none;
    width: 100%;
  }
}
.dashboard-wrapper {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.main-content {
  flex: 1;
  flex-direction: column;
  background: #fff;
  width: 75%;
  /*padding: 20px;*/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.info-row,
.stepper-nav {
  display: flex;
  justify-content: space-between;
}
.btn-next,
.stepper-button {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.info-row {
  margin-bottom: 10px;
}
.info-label i {
  margin-right: 8px;
}
.info-value {
  color: #555;
}
.stepper-nav {
  margin-bottom: 20px;
}
.stepper-button {
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 45%;
}
.btn-next,
.stepper-button.active {
  background-color: #007bff;
  color: #fff;
}
.stepper-button.active {
  border-color: #007bff;
}
.step-container {
  display: none;
}
.chapter-checkbox .form-check-label {
  margin-left: 10px;
}
.chapter-checkbox .form-check-input {
  margin-right: 10px;
}
.btn-next {
  border: none;
  border-radius: 5px;
}
.btn-next.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.form-range,
.form-select {
  width: 100%;
  margin-top: 10px;
}
.difficulty-labels {
  font-size: 14px;
  justify-content: space-between;
}
.btn-outline-secondary {
  background-color: transparent;
  border: 1px solid #007bff;
  color: #007bff;
  padding: 8px 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.btn-outline-secondary:hover {
  background-color: #007bff;
  color: #fff;
}
.form-switch {
  display: flex;
}
.question-container {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
}
.timer {
  font-size: 20px;
  font-weight: 700;
  color: #d9534f;
}
.question-button {
  margin-top: 20px;
}
.answered {
  background-color: #28a745 !important;
}
.not-answered {
  background-color: #f0ad4e !important;
}
.option-button {
  margin-bottom: 15px;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: #f8f9fa;
  transition: 0.3s;
}
.option-button:focus,
.option-button:hover {
  background-color: #e9ecef;
  cursor: pointer;
}
.selected-option {
  background-color: #007bff !important;
  color: #fff !important;
  border-color: #007bff !important;
}
.selected-option:focus,
.selected-option:hover {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
}
.spinner {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
}
.spinner::before,
.spinner:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.spinner:before {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, #c59d5f 0, #515151 100%);
  animation: 0.5s linear infinite spin;
}
.spinner:after {
  width: 90%;
  height: 90%;
  background-color: #f3f0f0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.medals,
.stats {
  display: flex;
  gap: 1rem;
}
.medal,
.medalmid {
  position: relative;
}
@media (max-width: 480px) {
  .content-header h4 {
    font-size: 1.25rem;
  }
  .btn-submit,
  .form-control,
  .form-label,
  .input-group i {
    font-size: 0.875rem;
  }
  .form-container {
    padding: 0.75rem;
  }
  .content-header,
  .password-form {
    padding: 1rem;
  }
  .form-control {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
  }
  .btn-submit {
    padding: 0.625rem 1.5rem;
  }
  .dashboard-wrapper {
    width: 100%;
    border-radius: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.content-container {
  margin-bottom: 40px;
}
.btn {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  background: #3498db;
  color: #fff;
  font-size: 0.875rem;
  transition: background 0.3s;
}
.btn:hover {
  background: #2980b9;
}
.medals {
  justify-content: center;
  margin-bottom: 1.5rem;
}
.medal {
  width: 60px;
  height: 60px;
}
.medal img,
.medalmid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s;
}
.medalmid {
  width: 80px;
  object-fit: cover;
  height: 100px;
}
.medal.dimmed img {
  opacity: 0.5;
}
.header h1{
    color:#fff;
}
h1 {
  color: #333;
  font-size: 1.5rem;
  margin: 1rem 0;
}
.stats {
  justify-content: center;
  margin-bottom: 2rem;
}
.stat-box {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  min-width: 100px;
}
.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: #666;
}
.review-button {
    margin:0 auto;
  background: #1e90ff;
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.review-button:hover {
  background: #1873cc;
}
.correct-icon {
  color: #20b2aa;
  font-size: 1.2rem;
}
.time-icon {
  color: #4169e1;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  .stats-grid,
  .test-cards-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle,
  .sidebar-overlay.active {
    display: block;
  }
  .dashboard-container {
    padding-top: 0;
  }
  .dashboard-wrapper {
    width: 95%;
    height: auto;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s;
  }
  .sidebar.active {
    left: 0;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .main-content {
    width: 100%;
  }
  .stats-grid {
    gap: 1rem;
  }
  .custom-practice-cards,
  .pos-practice-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .dashboard-wrapper {
    width: 100%;
    border-radius: 0;
  }
  .content-header {
    padding: 1rem;
  }
  .custom-practice-cards,
  .pos-practice-cards {
    grid-template-columns: 1fr;
  }
  .test-card {
    flex-direction: column;
    gap: 1rem;
  }
  .test-stats {
    width: 100%;
    height: auto;
  }
  .pos-container,
  .your-tests-container {
    margin: 15px;
  }
}
.dashboard-container {
  display: flex;
  justify-content: center;
  /*padding-top: 40px;*/
  min-height: 100vh;
  /*background-color: #f5f7fa;*/
}
.dashboard-wrapper {
  width: 90%;
  height: 80vh;
  display: flex;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.sidebar {
  width: 250px;
  background: #2c3e50;
  padding: 1.5rem;
  overflow-y: auto;
}
.main-content {
  flex: 1;
  /*padding-left: 15px;*/
  /*padding-right: 15px;*/
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.content-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}
.content-header h4 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin: 0;
}
.empty-state-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.empty-state {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.empty-state img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}
.empty-state h4 {
  color: #64748b;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 500;
}
.empty-state p {
  color: #94a3b8;
  margin-top: 0.5rem;
  font-size: 0.975rem;
  line-height: 1.5;
}
.no-test-heading {
  color: #000 !important;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.tests-grid-container {
  padding: 2rem;
  overflow-y: auto;
}
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.test-card {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.test-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.test-card-content {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.test-card-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.test-card-details {
  flex: 1;
}
.test-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 0.5rem;
}
.test-card-arrow {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.5rem;
}
@media (max-width: 1024px) {
  .dashboard-wrapper {
    width: 85%;
  }
}
@media (max-width: 768px) {
  .dashboard-wrapper {
    width: 95%;
  }
  .tests-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}
.menu-toggle {
  border-radius: 100px;
  padding: 0.5rem;
  display: none;
  position: fixed;
  top: 1.3rem;
  right: 1rem;
  z-index: 1000;
  background: 0 0;
  border: none;
  font-size: 1.5rem;
  color: #2c3e50;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .dashboard-wrapper {
    width: 90%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-grid,
  .test-cards-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle,
  .sidebar-overlay.active {
    display: block;
  }
  .dashboard-container {
    padding-top: 0;
  }
  .dashboard-wrapper {
    width: 95%;
    height: auto;
  }
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    z-index: 999;
    transition: left 0.3s;
  }
  .sidebar.active {
    left: 0;
  }
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }
  .main-content {
    width: 100%;
  }
  .stats-grid {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .dashboard-wrapper {
    width: 100%;
    border-radius: 0;
  }
  .content-header {
    padding: 1rem;
  }
  .custom-practice-cards,
  .pos-practice-cards {
    grid-template-columns: 1fr;
  }
  .test-card {
    flex-direction: column;
    gap: 1rem;
  }
  .test-stats {
    width: 100%;
    height: auto;
  }
}
.test-cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}
.test-window,
h4 {
  margin: 0;
}
.test-card {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  border: 1px solid #eee;
}
.test-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.upcoming-label {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
}
.upcoming-label-2 {
  color: #d54545;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  padding: 4px 10px !important;
  border-radius: 50px;
}
.meta-item,
.test-window {
  color: #64748b;
  font-size: 0.875rem;
}
h4 {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 600;
}
.test-meta {
  display: flex;
  gap: 1rem;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.view-syllabus {
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  background: 0 0;
  cursor: pointer;
  transition: 0.2s;
}
.view-syllabus:hover {
  background-color: #eff6ff;
}
.test-stats {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
}
.test-stats img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
  .sidebar {
        background-color: #06529d;
    }

    /* Sidebar styles */
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        height: 100%;

    }

    /* Profile section */
    .profile-section {
        padding: 1.5rem;
        text-align: center;
        background: #f0f0f0;
        margin-bottom: 1rem;
        border-radius: 10px;
    }

    .avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #3498db;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        margin: 0 auto;
        border: 3px solid rgba(255, 255, 255, 0.1);
    }

    .profile-name {
        color: black;
        font-size: 1.1rem;
        margin: 0.75rem 0 0.25rem;
    }

    .profile-email {
        color: gray;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }

    /* Navigation menu */
    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-item {
        margin: 0.25rem 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        border-radius: 6px;
        margin: 0 0.75rem;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(5px);
    }

    .nav-link.active {
        background: #3498db;
        color: white;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .nav-link i {
        width: 20px;
        margin-right: 0.75rem;
        font-size: 1rem;
    }

    .nav-link span {
        font-size: 0.95rem;
    }

    /* Logout section */
    .logout-section {
        margin-top: auto;
        padding: 1rem 0.75rem;
        margin-bottom:20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .logout-link {
        display: flex;
        align-items: center;
        padding: 0.75rem 1.25rem;
        color: #e74c3c;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .logout-link:hover {
        background: rgb(210, 21, 0);
        color: #ffffff;
    }

    .logout-link i {
        width: 20px;
        margin-right: 0.75rem;
    }
