/* Modern Card Design System for Toppers Section */
:root {
  /* Enhanced shadow variables */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 22px 40px rgba(0, 0, 0, 0.2);
  
  /* Stream color schemes */
  --science: linear-gradient(135deg, #3498db, #2c3e50);
  --commerce: linear-gradient(135deg, #2ecc71, #27ae60);
  --humanities: linear-gradient(135deg, #e74c3c, #c0392b);
  
  /* Stream tags with enhanced styling */
  --science-tag: linear-gradient(135deg, #3498db, #1a5276);
  --commerce-tag: linear-gradient(135deg, #27ae60, #196f3d);
  --humanities-tag: linear-gradient(135deg, #e74c3c, #922b21);
  
  /* Updated badge colors for percentages */
  --overall-percentage: linear-gradient(135deg, #9b59b6, #8e44ad);
  --perfect-score: linear-gradient(135deg, #f39c12, #d35400);
  --highest-score: linear-gradient(135deg, #f1c40f, #f39c12);
}

/* ===== CLASS TOPPERS SECTION TABS ===== */
.class-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.class-tab {
  background-color: white;
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: #4a5568;
  margin: 0 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.class-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--science);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.class-tab.active {
  color: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.class-tab.active::before {
  opacity: 1;
}

.class-tab:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: #2c5282;
}

/* Class toppers grid container */
.class-toppers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Stream tag style fixes */
.stream-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.stream-tag.science {
  background: var(--science-tag);
}

.stream-tag.commerce {
  background: var(--commerce-tag);
}

.stream-tag.humanities {
  background: var(--humanities-tag);
}

/* New Modern Class Topper Card */
.class-topper-card-new {
  background-color: white;
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.class-topper-card-new:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* Enhanced banner with pattern */
.topper-banner {
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  color: white;
  font-weight: 600;
  overflow: hidden;
}

.topper-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.topper-banner.science {
  background: var(--science);
}

.topper-banner.commerce {
  background: var(--commerce);
}

.topper-banner.humanities {
  background: var(--humanities);
}

.topper-rank-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a365d;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.topper-content-new {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.topper-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow);
  margin: -60px auto 1rem;
  position: relative;
  z-index: 5;
}

.topper-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.class-topper-card-new:hover .topper-avatar img {
  transform: scale(1.08);
}

.topper-name-new {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

/* Enhanced overall percentage badges */
.topper-percentage-new {
  position: relative;
  padding: 0.5rem 1.25rem;
  margin: 0.75rem 0 1.25rem;
  background: var(--overall-percentage);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 25px;
  z-index: 1;
}

.topper-percentage-new::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #8e44ad;
}

.topper-subjects-new {
  width: 100%;
  background-color: #f7fafc;
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.topper-subject-item-new {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  border-bottom: 1px solid #edf2f7;
}

.topper-subject-item-new:last-child {
  border-bottom: none;
}

.perfect-subject-score {
  color: #ed8936;
  font-weight: 700;
}

/* Class 10 toppers specific styles */
#class10-toppers .topper-banner {
  background: linear-gradient(135deg, #3498db, #1a5276);
}

/* ===== SUBJECT TOPPERS SECTION ===== */
.subject-filter-container-new {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.filter-label {
  font-weight: 600;
  color: #4a5568;
  margin-right: 0.5rem;
}

.subject-filter-container-new .form-select {
  flex-grow: 1;
  max-width: 400px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #4a5568;
  background-color: #f7fafc;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.subject-filter-container-new .form-select:focus {
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
  outline: none;
}

.filter-btn-group {
  display: flex;
  gap: 0.75rem;
}

.subject-filter-btn-new {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subject-filter-btn-new.apply {
  background-color: #2c5282;
  color: white;
  box-shadow: var(--shadow);
}

.subject-filter-btn-new.apply:hover {
  background-color: #1a365d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.subject-filter-btn-new.reset {
  background-color: #edf2f7;
  color: #4a5568;
}

.subject-filter-btn-new.reset:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* Subject Toppers Grid */
.subject-toppers-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

/* Improved Subject Toppers Section */
.subject-card-new {
  background-color: white;
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.subject-card-new:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.subject-header {
  background: linear-gradient(135deg, #26496B, #305B86);
  padding: 1.5rem;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
}

.subject-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.subject-header h3 {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.4rem;
  margin: 0;
  color: white;
}

.subject-icon {
  margin-right: 0.5rem;
  font-size: 1.4rem;
}

.subject-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Total percentage badge fixes */
.total-percentage {
  position: absolute;
  top: -12px;
  right: 15px;
  background: var(--highest-score);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  z-index: 10;
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from { box-shadow: 0 3px 6px rgba(0,0,0,0.15); }
  to { box-shadow: 0 5px 12px rgba(243, 156, 18, 0.4); }
}

/* Single topper style */
.single-topper-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.single-topper-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  position: relative;
}

.single-topper-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.subject-card-new:hover .single-topper-avatar img {
  transform: scale(1.08);
}

.single-topper-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.25rem;
}

.single-topper-class {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0.75rem;
}

/* Individual subject percentage */
.subject-percentage {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.25rem;
  background: var(--overall-percentage);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.single-topper-score {
  position: relative;
}

/* Score display enhancements */
.score-display {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin: 0 auto;
  background: linear-gradient(135deg, #305B86, #26496B);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.subject-card-new:hover .score-display {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.score-display.perfect {
  background: var(--perfect-score);
}

.perfect-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ed8936;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 2;
}

/* Multiple toppers style */
.multi-toppers-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Enhanced topper list items */
.topper-list-item {
  display: flex;
  align-items: center;
  background-color: #f7fafc;
  border-radius: 12px;
  padding: 0.75rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  position: relative;
}

.topper-list-item.science {
  border-left-color: #3498db;
}

.topper-list-item.commerce {
  border-left-color: #27ae60;
}

.topper-list-item.humanities {
  border-left-color: #e74c3c;
}

.topper-list-item:hover {
  transform: translateY(-5px) translateX(3px);
  box-shadow: var(--shadow);
  background-color: white;
}

.topper-item-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.topper-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topper-item-info {
  flex-grow: 1;
  padding: 0 1rem;
}

.topper-item-name {
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.25rem;
}

.topper-item-class {
  font-size: 0.85rem;
  color: #4a5568;
}

.topper-item-score-display {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #305B86, #26496B);
  position: relative;
}

.topper-item-score-display.perfect {
  background: linear-gradient(135deg, #f39c12, #d35400);
}

.topper-perfect-icon {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ed8936;
  font-size: 0.7rem;
  box-shadow: var(--shadow-sm);
}

/* Toggle Section Visibility */
.toppers-toggle-section {
  display: none;
}

.toppers-toggle-section.active {
  display: block;
}

/* Additional styles for topper cards and better mobile experience */

/* Filter container improvements */
.subject-filter-container-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    background: white;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.filter-left {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
}

.filter-label {
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.form-select {
    min-width: 200px;
    max-width: 300px;
    padding: 10px 15px;
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-select:focus {
    border-color: var(--water);
    box-shadow: 0 0 0 0.2rem rgba(48, 91, 134, 0.15);
    outline: none;
}

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

.subject-filter-btn-new {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    height: 45px;
}

.subject-filter-btn-new.apply {
    background: var(--water);
    color: white;
}

.subject-filter-btn-new.reset {
    background: #e0e0e0;
    color: #555;
}

.subject-filter-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.subject-filter-btn-new:active {
    transform: translateY(0);
}

/* Better card alignment */
.subject-toppers-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 0 auto;
    max-width: 1200px;
    justify-items: center;
}

.class-toppers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 2rem auto;
    max-width: 1200px;
    justify-items: center;
}

/* Card width consistency */
.subject-card-new, .class-topper-card-new {
    width: 100%;
    max-width: 350px;
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .subject-filter-container-new {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .filter-left {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .form-select {
        width: 100%;
        max-width: none;
    }
    
    .filter-btn-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .subject-filter-btn-new {
        flex: 1;
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .subject-toppers-grid-new, .class-toppers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .subject-card-new, .class-topper-card-new {
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Improve subject topper cards for mobile */
    .subject-card-body {
        padding: 15px;
    }
    
    .single-topper-layout {
        padding: 5px;
    }
    
    .topper-item-score-display, .score-display {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.3rem;
        aspect-ratio: 1/1;
    }
    
    /* Improve typography for mobile */
    .topper-name-new {
        font-size: 1.2rem;
    }
    
    .subject-header h3 {
        font-size: 1.3rem;
    }
    
    /* Add proper spacing to section titles */
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .section-description {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px;
    }
}

/* Make sure score circles are always perfectly round */
.score-display {
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.topper-item-score-display {
    width: 65px;
    height: 65px;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

/* More white space around elements for better UX */
.multi-toppers-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.topper-list-item {
    padding: 12px;
    border-radius: 10px;
}

/* Ensure main content has proper breathing room */
@media (min-width: 769px) {
    .subject-card-new, .class-topper-card-new {
        max-width: 360px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .results-highlight-box {
        padding: 12px;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 0.9rem;
    }
}

/* Make sure body has no unexpected margins */
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}
