/* Dark theme backgrounds with subtle orange accent */
body {
  background: linear-gradient(135deg, #1D1D1D 0%, #1F1E1A 100%);
}


.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
  background-color: #1D1D1D;
}

.carousel-container.landing-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent !important;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
  z-index: 1;
  background-image: url('/m_images/notLogin/caruselMain.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.carousel-container .carousel-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  will-change: transform;
}

.carousel-container.landing-carousel .carousel-track {
  height: 100%;
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.carousel-container .carousel-track .carousel-slide {
  min-width: 100%;
  width: 100vw;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  flex-shrink: 0;
}

.carousel-container.landing-carousel .carousel-track .carousel-slide {
  width: 100vw;
  height: 100%;
}

.carousel-container .carousel-track .carousel-slide.landing-slide {
  position: relative;
  padding: 0;
  width: 100vw;
  height: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  background: transparent !important;
}

/* Background images moved to container level - slides are now transparent */
.carousel-container .carousel-track .carousel-slide.landing-slide.slide-1 {
  background: transparent !important;
}

.carousel-container .carousel-track .carousel-slide.landing-slide.slide-2 {
  background: transparent !important;
}

.carousel-container .carousel-track .carousel-slide.landing-slide.slide-3 {
  background: transparent !important;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-subtitle {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 18px;
  margin-top: 0;
  line-height: 1.5;
  letter-spacing: -0.3px;
  text-align: left;
  width: auto;
  max-width: 100%;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-subtitle .gradient-text {
  background: linear-gradient(90deg, #FF7700 0%, #FF7200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #FF7700; /* Fallback for browsers that don't support background-clip */
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-subtitle .white-text {
  color: #FFFFFF;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-title {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 36px;
  margin-top: 0;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.5px;
  text-align: left;
  width: auto;
  max-width: 100%;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  -webkit-box-align: flex-start;
      -ms-flex-align: flex-start;
          align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-gradient {
  width: auto;
  min-width: 200px;
  max-width: 280px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #FF7700 0%, #FF7200 100%);
  border: none;
  border-radius: 25px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 15px rgba(255, 119, 0, 0.3);
          box-shadow: 0 4px 15px rgba(255, 119, 0, 0.3);
  letter-spacing: -0.2px;
  text-align: center;
  margin: 0;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-gradient:hover {
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 20px rgba(255, 119, 0, 0.4);
          box-shadow: 0 6px 20px rgba(255, 119, 0, 0.4);
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-gradient:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-outline {
  width: auto;
  min-width: 200px;
  max-width: 280px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid #FFFFFF;
  border-radius: 25px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  letter-spacing: -0.2px;
  text-align: center;
  margin: 0;
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.carousel-container .carousel-track .carousel-slide.landing-slide .landing-content .landing-buttons .btn-outline:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.carousel-container .carousel-track .carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 18px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  z-index: 10;
}

.carousel-container.landing-carousel .carousel-dots {
  bottom: 20px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.carousel-dots .dot.active {
  background-color: #FF7700;
}

.lecture.main {
  background-color: #1D1D1D;
  padding: 15px 0;
  border-bottom: none;
}

.lecture.main::after {
  display: none;
}

.lecture.main .more {
  position: absolute;
  top: 2px;
  right: 10px;
}

/* Course Tabs */
.course-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 15px;
  background-color: #1D1D1D;
  border-radius: 0;
}

.course-tabs .tab-btn {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: 25%;
  padding: 10px 16px;
  background: #1D1D1D;
  border: none;
  border-radius: 20px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-align: center;
}

.course-tabs .tab-btn.active {
  background: #FF7700;
  color: #FFFFFF;
  font-weight: 600;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Course Grid */
.course-grid {
  display: -ms-grid !important;
  display: grid !important;
  -ms-grid-columns: 1fr 1fr !important;
      grid-template-columns: 1fr 1fr !important;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0 15px;
  background-color: #1D1D1D;
}

.course-grid .edu_contents {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: #1D1D1D;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: block !important;
}

.course-grid .edu_contents:hover {
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.course-grid .edu_contents .img {
  width: 100% !important;
  height: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: block;
  margin: 0 !important;
}

.course-grid .edu_contents .title {
  padding: 10px;
}

.course-grid .edu_contents .title strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-grid .edu_contents .card-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #FFFFFF;
  opacity: 0.7;
  margin-bottom: 6px;
}

.course-grid .edu_contents .card-meta .separator {
  color: #D0D0D0;
}

.course-grid .edu_contents .card-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  gap: 4px;
  margin-top: 6px;
  overflow: hidden;
  width: 100%;
}

.course-grid .edu_contents .card-tags .tag {
  display: inline-block;
  padding: 3px 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 8px;
  color: #FFFFFF;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: calc(50% - 2px);
}

/* More Button */
.more-btn-wrapper {
  text-align: center;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: none;
}

.more-btn-wrapper::after {
  display: none;
}

.more-btn {
  padding: 12px 32px;
  background: #1D1D1D;
  border: 1px solid rgba(255, 119, 0, 0.4);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: rgba(255, 119, 0, 0.1);
  border-color: rgba(255, 119, 0, 0.6);
  transform: translateY(-1px);
}

/* Shortcuts Section */
.shortcuts-section {
  margin: 20px 0;
  padding: 20px 0;
  background-color: #1D1D1D;
  border-top: none;
}

.shortcuts-section::before {
  display: none;
}

.shortcuts-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  padding: 0 15px;
}

.shortcuts-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
      grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 15px;
}

.shortcut-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px 15px;
  background: #212121;
  border-radius: 12px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: none;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shortcut-btn:hover {
  background: #2A2A2A;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.shortcut-btn-highlight {
  border: none;
}

.shortcut-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  -o-object-fit: contain;
     object-fit: contain;
}

.shortcut-text {
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
}

.main_con2 {
  margin: 15px 0;
}

.main_con2 .title {
  font-size: 20px;
  font-weight: bold;
  line-height: 30px;
  margin-bottom: 10px;
}

.main_con2 .content {
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 15px 10px;
}

.main_con2 .content ul {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
      grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 34px;
}

.main_con2 .content ul li {
  position: relative;
  width: 120px;
  height: 120px;
  border: 3px solid #d8d2e7;
  background-color: #f5f0ff;
  border-radius: 50%;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  color: #5c3e8b;
  padding: 15px 0;
  -webkit-box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.1);
}

.main_con2 .content ul li i {
  font-size: 40px;
  color: #8c68c8;
}

.main_con2 .content ul li::after {
  position: absolute;
  right: -36px;
  top: 47px;
  background-image: url(../img/main/arrow.png);
  width: 30px;
  height: 30px;
  background-size: contain;
  content: "";
}

.main_con2 .content ul li:nth-of-type(4)::after {
  display: none;
}

.main_con3 {
  margin: 15px 0;
  padding: 20px 0;
  background-color: #1D1D1D;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.main_con3 .notice-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 15px 15px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

.main_con3 .notice-title {
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.4;
}

.main_con3 .notice-more {
  font-size: 14px;
}

.main_con3 .notice-more a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.8;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.main_con3 .notice-more a:hover {
  opacity: 1;
}

.main_con3 .notice-content {
  padding: 0;
}

.main_con3 .notice-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main_con3 .notice-content ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
}

.main_con3 .notice-content ul li:last-child {
  border-bottom: none;
}

.main_con3 .notice-content ul li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.main_con3 .notice-content ul li a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.main_con3 .notice-item-title {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 15px;
}

.main_con3 .notice-item-date {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  white-space: nowrap;
}

.main_con3 .notice-content a em {
  color: #d71709;
  font-weight: 500;
  margin-right: 6px;
  font-style: normal;
}

/* Promotional Banner */
.promo-banner {
  margin: 20px 0;
  padding: 30px 0;
  background-color: rgba(58, 57, 138, 0.25);
}

.promo-content {
  padding: 0 15px;
  text-align: left;
}

.promo-title {
  margin: 0 0 20px 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.promo-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  -o-object-fit: contain;
     object-fit: contain;
}

.promo-text {
  margin-bottom: 25px;
}

.promo-text p {
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.6;
  margin: 6px 0;
  font-weight: 400;
  text-align: left;
}

.promo-actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.promo-btn {
  padding: 12px 20px;
  background:  #FF7700 ;
  border: 1px solid #FFFFFF;
  border-radius: 25px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  white-space: nowrap;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.promo-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}

.promo-phone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  border-radius: 25px;
  color: #1A1A1A;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.promo-phone i {
  font-size: 16px;
  color: #1A1A1A;
}

.promo-phone span {
  color: #1A1A1A;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: none !important;
}

.user-progress-section-overlay {
  position: relative;
  width: 100%;
  z-index: 50;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.31);
  padding: 12px 0;
  margin-top: -1px;
}

.user-progress-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.user-progress-line {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.6;
  color: #B0B0B0;
}

.user-progress-line:first-child {
  margin-bottom: 4px;
}

.user-name {
  color: #FF7700;
  font-weight: 500;
  margin-right: 4px;
}

.user-text {
  color: #ffffff;
  font-size: 13px;
  margin: 0 4px;
}

.user-separator {
  color: #ffffff;
  margin: 0 8px;
  font-weight: 300;
  opacity: 0.5;
}

.user-highlight {
  color: #FF7700;
  font-weight: 500;
  margin-left: 4px;
}

.user-progress-section-overlay .completion-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.user-progress-section-overlay .progress-circle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.user-progress-section-overlay .progress-circle-small {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 4px;
}

.user-progress-section-overlay .progress-circle .progress-bg,
.user-progress-section-overlay .progress-circle-small .progress-bg {
  stroke: rgba(255, 255, 255, 0.2);
}

.user-progress-section-overlay .progress-circle .progress-fill,
.user-progress-section-overlay .progress-circle-small .progress-fill {
  stroke: #3a87ef;
  transition: stroke-dasharray 0.3s ease;
}

/* Recent Learning Section */
.recent-learning-section {
  background-color: #1D1D1D;
  padding: 20px 0 30px;
  width: 100%;
}

.recent-learning-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
  padding: 0 20px;
}

.recent-learning-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.recent-learning-link {
  color: #FFFFFF;
  font-size: 13px;
  text-decoration: none;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.recent-learning-link:hover {
  opacity: 0.7;
}

.recent-learning-content {
  padding: 0 20px;
}

.recent-learning-card {
  background-color: transparent;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  width: 100%;
}

.recent-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
}

.recent-card-info {
  padding: 0;
  margin-top: 15px;
}

.recent-card-full-title {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 15px;
}

.recent-progress-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.recent-progress-bar {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 6px;
  background-color: #3A3A3A;
  border-radius: 3px;
  overflow: hidden;
}

.recent-progress-fill {
  height: 100%;
  background: linear-gradient(90deg,#FF7700 0%, #FF7200 100%);
  border-radius: 3px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.recent-progress-text {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  min-width: 35px;
  text-align: right;
}

.recent-continue-btn {
  background: linear-gradient(90deg, #FF7200 0%,#FF7700 100%);
  border: none;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 20px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.3s ease, transform 0.2s ease;
  transition: opacity 0.3s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
  width: 100%;
}

.recent-continue-btn:hover {
  opacity: 0.9;
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}

.recent-continue-btn i {
  font-size: 16px;
}

@media (max-width: 768px) {
  .recent-card-image {
    height: 180px;
  }
}

/* Mobile Search Page Styles */
.mobile-search-page {
  background-color: #1D1D1D;
  min-height: 100vh;
}

.mobile-search-page .top_header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  /* z-index: 10000 !important; */
  width: 100% !important;
}


.mobile-search-page .top_header #wrap {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
}

.mobile-search-page .top_header #wrap .mobile-header {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background-color: #1d1d1d !important;
  width: 100% !important;
  padding: 15px 20px !important;
  position: relative !important;
  z-index: 1001 !important;
}

.mobile-search-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: #1D1D1D;
}

/* Search Area (Below Navigation) */
.search-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background-color: #1D1D1D;
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}

/* Search results header in search-area */
.search-results-header-in-search-area {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.search-results-title-section-in-search-area-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.search-results-title-in-search-area {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.search-results-filter-btn-in-search-area {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-results-filter-btn-in-search-area i {
  font-size: 20px;
  color: #fff;
}

.search-results-count-in-search-area {
  color: #888;
  font-size: 14px;
  margin: 0;
}

/* Back button in top_header for search results */
.search-results-back-btn-header {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-results-back-btn-header i {
  font-size: 24px;
  color: #fff;
}

.search-results-sort-in-search-area {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

/* Filter Modal Header (Inside modal, above 역량) */
.filter-modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.filter-back-btn-modal {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-back-btn-modal i {
  font-size: 24px;
  color: #fff;
}

.filter-modal-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

/* Filter Page Header (Below top_header) - Keep for backward compatibility but hide */
.filter-page-header {
  display: none !important;
}

.filter-back-btn-page {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-back-btn-page i {
  font-size: 24px;
  color: #fff;
}

.filter-page-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.mobile-search-container {
  padding-top: 150px; /* Space for fixed search area (90px top + ~60px height) */
}

/* When search results are shown, adjust padding */
.mobile-search-container:has(.search-results-container[style*="display: block"]) {
  padding-top: 0; /* Remove padding since search-area is now the header */
}

/* Search Results Page */
.search-results-container {
  display: none;
  padding: 20px;
  padding-top: 100px; /* Space for search-area (90px top + ~60px height) */
  background-color: #1D1D1D;
  margin-top: 0;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-top: 0;
  width: 100%;
}

.search-results-title-section {
  flex: 1;
}

.search-results-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.search-results-title {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.search-results-filter-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-results-filter-btn i {
  font-size: 20px;
  color: #fff;
}

.search-results-count {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.search-results-count-number {
  color: #FF7700;
}

.search-results-sort {
  display: flex;
  gap: 10px;
}

.sort-btn {
  padding: 8px 16px;
  background-color: #2A2A2A;
  border: 1px solid #444;
  border-radius: 6px;
  color: #888;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-btn.active {
  background-color: #FF7700;
  border-color: #FF7700;
  color: #fff;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 75px;
  background-color: transparent;
}

/* Search results course cards - match unsearched design exactly */
.search-results-grid .course-card {
  display: flex;
  flex-direction: column;
  background-color: #2A2A2A;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  opacity: 1;
}

.search-results-grid .course-card:active {
  transform: scale(0.98);
}

.search-results-grid .course-card-image {
  width: 100%;
  height: 105px;
  /* min-height: 180px; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.search-results-grid .course-card-content {
  flex: 1;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
}

.search-results-grid .course-card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}

.search-results-grid .course-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 400;
}

.search-results-grid .course-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.search-results-grid .course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.search-results-grid .course-tag {
  font-size: 11px;
  color: #aaa;
  padding: 4px 8px;
  background-color: #1D1D1D;
  border-radius: 4px;
  border: 1px solid #333;
}

.search-bar-wrapper {
  position: relative;
  flex: 1;
}

.search-input {
    width: 100%;
    padding: 17px 40px 17px 20px;
    background-color: #2A2A2A;
    border: none;
    border-radius: 39px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
  color: #888;
}

.search-icon-input {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 18px;
  pointer-events: all;
  cursor: pointer;
  z-index: 10;
}

.search-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-btn,
.close-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.filter-btn i {
  font-size: 24px;
  color: #fff;
}

.filter-btn i.ph-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
}

.filter-btn i.ph-list::before,
.filter-btn i.ph-list::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

.filter-btn i.ph-list {
  position: relative;
}

.filter-btn i.ph-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

.filter-btn i.ph-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
}

/* Filter icon styling is handled by .filter-btn i above */

/* Recent Searches */
.recent-searches-section {
  padding: 30px;
  background-color: #1D1D1D;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 1;
  margin-top: 0;
  min-height: 50px;
}

.recent-searches-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.recent-searches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recent-search-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #2A2A2A;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.remove-search-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.remove-search-btn:hover {
  opacity: 1;
}

.no-recent-searches {
  color: #888;
  font-size: 14px;
  padding: 10px 0;
}

/* Category Tabs */
.search-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-category-tabs {
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  background-color: #1D1D1D;
  justify-content: start;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.search-tab-btn {
    flex: 0 0 auto;
    min-width: 60px;
    padding: 7px;
    background-color: #2A2A2A;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-tab-btn.active {
  background-color: #FF7700;
  color: #fff;
}

/* Search Results */
/* Removed duplicate - using the one above */

.search-results-content {
  width: 100%;
}

.search-tab-content {
  display: none;
}

.search-tab-content.active {
  display: block;
}

.course-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 5px 20px;
}

.course-card {
  display: flex;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  opacity: 1;
  gap: 15px;
}

.course-card:active {
  transform: scale(0.98);
}

.course-card-image {
  width: 180px;
  height: 110px;
  min-width: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.course-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-card-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 400;
}

.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

.course-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.course-tag {
  font-size: 12px;
  color: #aaa;
  border-radius: 4px;
  display: inline-block;
  white-space: nowrap;
}

.course-card-detail-btn {
  align-self: flex-start;
  padding: 8px 16px;
  background-color: #2A2A2A;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.load-more-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  width: 100%;
}

.load-more-btn {
  width: 100%;
  max-width: 300px;
  padding: 14px;
  border: 1px solid rgba(255, 119, 0, 0.4);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 0 auto;
  background: rgba(255, 119, 0, 0.1);
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: rgba(255, 119, 0, 0.2);
  border-color: rgba(255, 119, 0, 0.6);
  transform: translateY(-1px);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 16px;
}

/* Filter Modal */
.filter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  overflow-y: auto;
}

.filter-modal-content {
  width: 100%;
  min-height: 100%;
  background-color: #1D1D1D;
  padding-bottom: 100px;
}

.filter-modal-header {
  display: flex;
  align-items: center;
   background-color: #1D1D1D;
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.filter-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.filter-logo-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  color: #1D1D1D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-right: 8px;
}

.filter-logo-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.filter-modal-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.filter-back-btn,
.filter-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}

.filter-modal-body {
  padding: 20px;
  margin-top: 70px;
}

.filter-section {
  margin-bottom: 30px;
}

.filter-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.filter-section-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.filter-section-subtitle {
  color: #888;
  font-size: 12px;
}

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

.filter-options-scrollable-wrapper {
  width: 100%;
  overflow: hidden;
}

.filter-options-scrollable {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
  gap: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #555 #2A2A2A;
}

.filter-options-scrollable::-webkit-scrollbar {
  height: 6px;
}

.filter-options-scrollable::-webkit-scrollbar-track {
  background: #2A2A2A;
  border-radius: 3px;
}

.filter-options-scrollable::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.filter-options-scrollable::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.filter-option-btn {
  padding: 10px 20px;
  background-color: #2A2A2A;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.filter-option-btn.active {
  background-color: #FF7700;
  color: #fff;
  border: 1px solid #FF7700;
}

.filter-option-btn.active::after {
  content: '✓';
  margin-left: 8px;
  font-weight: bold;
}

/* Slider Styles */
.filter-slider-container {
  width: 100%;
}

.filter-slider-wrapper {
  position: relative;
  height: 16px;
  margin: 30px 0;
  display: flex;
  align-items: center;
}

.filter-slider {
  position: absolute;
  width: 100%;
  height: 4px;
  background: transparent;
  outline: none;
  -webkit-appearance: none;
  z-index: 2;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  pointer-events: none;
}

.filter-slider::-webkit-slider-thumb {
  pointer-events: all;
}

.filter-slider::-moz-range-thumb {
  pointer-events: all;
}

#minTimeSlider {
  z-index: 3;
}

#maxTimeSlider {
  z-index: 2;
}

#minYearSlider {
  z-index: 3;
}

#maxYearSlider {
  z-index: 2;
}

.filter-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
  cursor: pointer;
}

.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF7700;
  cursor: pointer;
  z-index: 3;
  margin-top: -6px;
  box-shadow: 0 1px 3px rgba(255, 119, 0, 0.3);
  transition: all 0.2s ease;
  position: relative;
  border: none;
}

.filter-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 5px rgba(255, 119, 0, 0.5);
}

.filter-slider::-moz-range-track {
  height: 4px;
  background: transparent;
}

.filter-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FF7700;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 3px rgba(255, 119, 0, 0.3);
  z-index: 3;
  transition: all 0.2s ease;
  position: relative;
}

.filter-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 5px rgba(255, 119, 0, 0.5);
}

.filter-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #2A2A2A;
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: 1;
}

.filter-slider-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #FF7700;
  border-radius: 2px;
  transition: all 0.1s ease;
}

.filter-slider-labels {
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}

.filter-slider-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.filter-time-input,
.filter-year-input {
  flex: 1;
  padding: 10px 12px;
  background-color: #2A2A2A;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  outline: none;
  transition: all 0.2s ease;
  -moz-appearance: textfield;
}

.filter-time-input::-webkit-outer-spin-button,
.filter-time-input::-webkit-inner-spin-button,
.filter-year-input::-webkit-outer-spin-button,
.filter-year-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filter-time-input:focus,
.filter-year-input:focus {
  border-color: #FF7700;
  background-color: #333;
}

.filter-input-separator {
  color: #888;
  font-size: 14px;
}

.filter-input-unit {
  color: #888;
  font-size: 14px;
  margin-left: 4px;
}

.filter-input-separator {
  color: #888;
  font-size: 14px;
}

/* Radio Buttons */
.filter-radio-group {
  display: flex;
  gap: 20px;
}

.filter-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.filter-radio {
  display: none;
}

.filter-radio-custom {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #555;
  position: relative;
  transition: all 0.3s ease;
}

.filter-radio:checked + .filter-radio-custom {
  border-color: #FF7700;
  background-color: #FF7700;
}

.filter-radio:checked + .filter-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.filter-radio-text {
  color: #fff;
  font-size: 14px;
}

/* Filter Footer */
.filter-modal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 10px;
  padding: 15px 20px;
  background-color: #1D1D1D;
  border-top: 1px solid #333;
  z-index: 20;
}

.filter-reset-btn,
.filter-apply-btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-reset-btn {
  background-color: #2A2A2A;
  color: #fff;
}

.filter-apply-btn {
  background-color: #FF7700;
  color: #fff;
  transition: background-color 0.3s ease;
}

.filter-apply-btn:active {
  background-color: #e56600;
}

/* Category Grid - 2 rows with horizontal swiper */
.filter-category-grid-wrapper {
  gap: 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}

.filter-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(29,29,29,0.3) 70%, rgba(29,29,29,0));
    z-index: 100;
}

.filter-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(29,29,29,0.3) 70%, rgba(29,29,29,0));
    z-index: 100;
}

.filter-category-swiper-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 3;
}

.filter-category-swiper {
    background: none;
    border: none;
    cursor: pointer;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-category-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: calc(2 * (40px + 10px)); /* Exactly 2 rows with gap */
  gap: 10px;
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #555 #2A2A2A;
  padding-right: 50px; /* Space for swiper button */
  align-content: flex-start;
}

.filter-category-grid .filter-option-btn {
  flex: 0 0 calc(50% - 5px);
  width: calc(50% - 5px);
  min-width: calc(50% - 5px);
  max-width: calc(50% - 5px);
  box-sizing: border-box;
  min-height: 40px;
  max-height: 40px;
}

.filter-category-grid::-webkit-scrollbar {
  height: 6px;
}

.filter-category-grid::-webkit-scrollbar-track {
  background: #2A2A2A;
  border-radius: 3px;
}

.filter-category-grid::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

.filter-category-grid::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* .filter-category-swiper-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
} */



.filter-category-swiper:active {
  background-color: #FF7700;
  transform: scale(0.95);
}

.filter-category-swiper i {
  font-size: 23px;
  color: #B2B2B2;
}

/*# sourceMappingURL=main.css.map */