.edooly-main-student-menu-container * {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 600 !important;
}

.edooly-main-student-menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.edooly-main-student-menu-wrapper {
    width: 100%;
    margin: 0 auto;
}

.edooly-main-student-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    border-bottom: 1px solid #eee;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.edooly-main-student-menu-logo {
  margin-right: 24px;
  display: flex;
  align-items: center;
}
.edooly-main-student-menu-logo img {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  object-fit: contain !important;
  max-width: 320px !important;
}

.edooly-main-student-menu-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.edooly-main-student-menu-left a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
  position: relative;
  padding: 8px 0;        
  display: inline-flex;
  align-items: center;     
  gap: 8px;
  height: 40px;          
  min-width: 0;
}
.edooly-main-student-menu-left a span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.edooly-main-student-menu-left a .edooly-main-student-menu-icon {
  flex: 0 0 20px;         
  height: 20px;
}

.edooly-main-student-menu-left a.edooly-main-student-menu-active::after,
.edooly-main-student-menu-left a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scaleX(1);
}

.edooly-main-student-menu-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.edooly-main-student-menu-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  position: relative;
}

.edooly-main-student-menu-counter-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.edooly-main-student-menu-counter-container:hover {
  border-color: #999;
  background-color: #f7f7f7;
}

.edooly-main-student-menu-counter-number {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.edooly-main-student-menu-counter-icon svg {
  width: 20px;
  height: 20px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edooly-main-student-menu-hamburger {
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.edooly-main-student-menu-hamburger:hover {
  background: #f5f5f5;
}

.edooly-main-student-menu-hamburger svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.edooly-main-student-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 8px 0;
  min-width: 160px;
  z-index: 1000;
  display: block;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
}

.edooly-main-student-menu-dropdown.edooly-main-student-menu-active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.edooly-main-student-menu-dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edooly-main-student-menu-dropdown-item:hover {
  background: #f9f9f9;
}

.edooly-main-student-menu-modal-desktop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 24px 20px;
  z-index: 999;
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.3s ease;
}

.edooly-main-student-menu-modal-desktop.edooly-main-student-menu-active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.edooly-main-student-menu-modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.edooly-main-student-menu-modal-title {
  font-size: 18px;
  font-weight: 600;
}

.edooly-main-student-menu-streak-counter {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 24px;
  font-weight: 700;
}

.edooly-main-student-menu-streak-counter svg {
  width: 28px;
  height: 28px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
}

.edooly-main-student-menu-streak-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 16px;
}

.edooly-main-student-menu-streak {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 20px;
  margin: 0 auto;
}

.edooly-main-student-menu-streak-item {
  text-align: center;
  font-size: 14px;
  color: #555;
  min-width: 70px;
  flex-shrink: 0;
  font-weight: 500;
}

.edooly-main-student-menu-streak-item .edooly-main-student-menu-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: all 0.2s ease;
}

.edooly-main-student-menu-streak-item.edooly-main-student-menu-active .edooly-main-student-menu-circle {
  background: #FFF9C4;
  border-color: #FFD700;
}

.edooly-main-student-menu-streak-item svg {
  width: 24px;
  height: 24px;
  stroke: #FFD700;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edooly-main-student-menu-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.edooly-main-student-menu-streak-stats {
  display: flex;
  justify-content: center;
  width: 100%;
}

.edooly-main-student-menu-stat-item {
  text-align: center;
  padding: 8px;
  background: #f9f9f9;
  border-radius: 6px;
}

.edooly-main-student-menu-stat-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 4px;
}

.edooly-main-student-menu-stat-value {
  font-size: 16px;
  font-weight: 600;
}

.edooly-main-student-menu-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.edooly-main-student-menu-modal-mobile {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  padding: 24px 20px;
  transition: bottom 0.3s ease;
  z-index: 9999;
  max-height: 80vh;
  overflow: hidden;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-sizing: border-box;
  display: none;
}

.edooly-main-student-menu-modal-mobile.edooly-main-student-menu-active {
  bottom: 0;
  display: block;
}

.edooly-main-student-menu-modal-mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  z-index: 9998;
  display: none;
}

.edooly-main-student-menu-modal-mobile-backdrop.edooly-main-student-menu-active {
  display: block;
}

.edooly-main-student-menu-btn-continue {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.edooly-main-student-menu-btn-continue:hover {
  background: #333;
}

.edooly-main-student-menu-streak-container::-webkit-scrollbar {
  height: 4px;
}

.edooly-main-student-menu-streak-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.edooly-main-student-menu-streak-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.edooly-main-student-menu-streak-container::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.edooly-main-student-menu-content-container {
    margin-top: 60px;
    padding: 0; 
    width: 100%;
    display: block;
}

.edooly-main-student-menu-content-page {
    width: 100%;
    max-width: 1200px;
    display: none;
}

.edooly-main-student-menu-content-page.edooly-main-student-menu-active {
    display: block;
}

.edooly-main-student-menu-badges-container {
    max-height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 5px;
}

.edooly-main-student-menu-badges-container .edooly-main-student-menu-badge {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

@media (max-width: 768px) {
  .edooly-main-student-menu {
    padding: 12px 20px;
  }
  
  .edooly-main-student-menu-logo {
    display: none;
  }
  
  .edooly-main-student-menu-left a .edooly-main-student-menu-icon {
    display: none;
  }
  
  .edooly-main-student-menu-modal-desktop {
    display: none !important;
  }
  
  .edooly-main-student-menu-modal-mobile {
    display: block;
  }

  body.edooly-main-student-menu-modal-mobile-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  .edooly-main-student-menu-content-container {
      padding: 0;
  }
  
  .edooly-main-student-menu-content-page {
      padding: 0;
  }
}

@media (min-width: 769px) {
  .edooly-main-student-menu-modal-mobile {
    display: none !important;
  }
  .edooly-main-student-menu-modal-mobile-backdrop {
    display: none !important;
  }
}