/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/layout/Header.module.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Header_header__4pLdo {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 13, 13, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid #333333;
  height: 64px;
}

.Header_container__8BJoU {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.Header_logo__3zqHD {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #f5f5f5;
  transition: opacity 150ms ease;
}
.Header_logo__3zqHD:hover {
  opacity: 0.8;
}

.Header_logoIcon__twy_l {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b59b6;
}

.Header_logoText__dacEj {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6c3483 0%, #8b4513 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.Header_nav__nS57w {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.Header_navLink__GWdqc {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #b3b3b3;
  text-decoration: none;
  border-radius: 8px;
  transition: all 150ms ease;
}
.Header_navLink__GWdqc:hover {
  color: #f5f5f5;
  background: #2d2d2d;
}
.Header_navLink__GWdqc.Header_active__9DXww {
  color: #bb8fce;
  background: rgba(155, 89, 182, 0.1);
}

.Header_actions__Med_a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.Header_menuToggle__boB4_ {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
}
.Header_menuToggle__boB4_:hover {
  background: #2d2d2d;
  color: #f5f5f5;
}
.Header_menuToggle__boB4_:active {
  background: #363636;
}
@media (max-width: 639px) {
  .Header_menuToggle__boB4_ {
    display: flex;
  }
}

@media (max-width: 768px) {
  .Header_nav__nS57w {
    display: none;
  }
  .Header_actions__Med_a button:nth-child(2) {
    display: none;
  }
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/Button.module.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Button_button__wf7LH {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.Button_button__wf7LH:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.Button_button__wf7LH .Button_icon__l9wiG {
  display: flex;
  align-items: center;
  justify-content: center;
}
.Button_button__wf7LH .Button_spinner__UbZ3r {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: Button_spin__bMykP 0.6s linear infinite;
}

.Button_primary__KcBxk {
  background: linear-gradient(135deg, #6c3483 0%, #8b4513 100%);
  color: #f5f5f5;
}
.Button_primary__KcBxk:hover:not(:disabled) {
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
  transform: translateY(-1px);
}
.Button_primary__KcBxk:active:not(:disabled) {
  transform: translateY(0);
}

.Button_secondary__uUg9S {
  background: #2d2d2d;
  color: #f5f5f5;
  border: 1px solid #333333;
}
.Button_secondary__uUg9S:hover:not(:disabled) {
  background: #363636;
  border-color: #404040;
}

.Button_ghost___W6uF {
  background: transparent;
  color: #b3b3b3;
}
.Button_ghost___W6uF:hover:not(:disabled) {
  background: #2d2d2d;
  color: #f5f5f5;
}

.Button_danger__XTXJG {
  background: #e74c3c;
  color: #f5f5f5;
}
.Button_danger__XTXJG:hover:not(:disabled) {
  background: rgb(213.698630137, 43.8356164384, 26.301369863);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

.Button_sm__fHY31 {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.Button_sm__fHY31 .Button_spinner__UbZ3r {
  width: 12px;
  height: 12px;
}

.Button_md__qwsc1 {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.Button_lg__Qcncc {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.Button_lg__Qcncc .Button_spinner__UbZ3r {
  width: 20px;
  height: 20px;
}

@keyframes Button_spin__bMykP {
  to {
    transform: rotate(360deg);
  }
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/Card.module.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Card_card__nh0J5 {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  transition: all 250ms ease;
  width: 100%;
  text-align: left;
}
.Card_card__nh0J5:where(button) {
  cursor: pointer;
  font-family: inherit;
}

.Card_default__koaTZ:hover {
  border-color: #404040;
}

.Card_interactive__crhZh {
  cursor: pointer;
}
.Card_interactive__crhZh:hover {
  background: #2d2d2d;
  border-color: #6c3483;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.Card_interactive__crhZh:active {
  transform: translateY(0);
}

.Card_highlighted__uURzG {
  border-color: #9b59b6;
  background: linear-gradient(180deg, #242424 0%, rgba(108, 52, 131, 0.1) 100%);
}
.Card_highlighted__uURzG:hover {
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

.Card_padding-none__EW5lM {
  padding: 0;
}

.Card_padding-sm__TQH3L {
  padding: 0.5rem;
}

.Card_padding-md__sSk5s {
  padding: 1.5rem;
}

.Card_padding-lg__7sWsS {
  padding: 2rem;
}

.Card_cardHeader__lPXdZ {
  margin-bottom: 1rem;
}

.Card_cardTitle__5aXPv {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.25rem;
}

.Card_cardDescription__usS8G {
  font-size: 0.875rem;
  color: #b3b3b3;
  margin: 0;
}

.Card_cardContent__CTumB {
  color: #b3b3b3;
}

.Card_cardFooter__tsUfn {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333333;
  display: flex;
  align-items: center;
  gap: 1rem;
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/Input.module.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Input_inputWrapper__MU9KB {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}

.Input_label__vH3py {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b3b3b3;
}

.Input_inputContainer__9muVd {
  position: relative;
  display: flex;
  align-items: center;
}
.Input_inputContainer__9muVd.Input_hasError__Y_6oA .Input_input__xDj0z {
  border-color: #e74c3c;
}
.Input_inputContainer__9muVd.Input_hasError__Y_6oA .Input_input__xDj0z:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.Input_input__xDj0z {
  width: 100%;
  padding: 0.5rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #f5f5f5;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  transition: all 150ms ease;
}
.Input_input__xDj0z::placeholder {
  color: #666666;
}
.Input_input__xDj0z:focus {
  outline: none;
  border-color: #9b59b6;
  box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
}
.Input_input__xDj0z:disabled {
  background: #0d0d0d;
  color: #444444;
  cursor: not-allowed;
}
.Input_input__xDj0z.Input_hasLeftIcon__OHlna {
  padding-left: 40px;
}
.Input_input__xDj0z.Input_hasRightIcon__WaVp0 {
  padding-right: 40px;
}

.Input_leftIcon__ZiSJq,
.Input_rightIcon__VsqZL {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  pointer-events: none;
}

.Input_leftIcon__ZiSJq {
  left: 1rem;
}

.Input_rightIcon__VsqZL {
  right: 1rem;
}

.Input_error__9IdUI {
  font-size: 0.75rem;
  color: #e74c3c;
}

.Input_hint__CbG8d {
  font-size: 0.75rem;
  color: #666666;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/Slider.module.scss ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Slider_sliderWrapper__5GGRa {
  width: 100%;
}

.Slider_header__EJqlo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.Slider_label__BtJkD {
  font-size: 0.875rem;
  font-weight: 500;
  color: #b3b3b3;
}

.Slider_value__oaRqU {
  font-size: 0.875rem;
  font-weight: 600;
  color: #bb8fce;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
}

.Slider_sliderContainer__QQ7gs {
  position: relative;
  width: 100%;
}

.Slider_slider__469sR {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #2d2d2d;
  cursor: pointer;
  transition: all 150ms ease;
}
.Slider_slider__469sR::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9b59b6;
  cursor: pointer;
  border: 2px solid #0d0d0d;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -webkit-transition: all 150ms ease;
  transition: all 150ms ease;
}
.Slider_slider__469sR::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}
.Slider_slider__469sR::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #9b59b6;
  cursor: pointer;
  border: 2px solid #0d0d0d;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  -moz-transition: all 150ms ease;
  transition: all 150ms ease;
}
.Slider_slider__469sR::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}
.Slider_slider__469sR:focus {
  outline: none;
}
.Slider_slider__469sR:focus::-webkit-slider-thumb {
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}
.Slider_slider__469sR:focus::-moz-range-thumb {
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/Badge.module.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Badge_badge__Jm2Cp {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  border-radius: 9999px;
  white-space: nowrap;
}

.Badge_sm__t8_bA {
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
}

.Badge_md__JmUPr {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
}

.Badge_default__ABsSk {
  background: #2d2d2d;
  color: #b3b3b3;
}

.Badge_purple__6qw7W {
  background: rgba(155, 89, 182, 0.1);
  color: #bb8fce;
}

.Badge_brown__01PPp {
  background: rgba(139, 69, 19, 0.1);
  color: #cd853f;
}

.Badge_success__MW3sF {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.Badge_warning__Px0cY {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
}

.Badge_error__MwqHb {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/ui/CodeBlock.module.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.CodeBlock_codeBlock__1gEHZ {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.CodeBlock_languageSelector__n7ql1 {
  display: flex;
  gap: 2px;
  padding: 0.5rem;
  background: #0d0d0d;
  border-bottom: 1px solid #333333;
  overflow-x: auto;
}
.CodeBlock_languageSelector__n7ql1::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.CodeBlock_languageSelector__n7ql1::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.CodeBlock_languageSelector__n7ql1::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.CodeBlock_languageSelector__n7ql1::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
.CodeBlock_languageSelector__n7ql1::-webkit-scrollbar {
  height: 4px;
}

.CodeBlock_langButton__xJMvN {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
}
.CodeBlock_langButton__xJMvN:hover {
  background: #2d2d2d;
  color: #f5f5f5;
}
.CodeBlock_langButton__xJMvN.CodeBlock_active___asO7 {
  background: rgba(155, 89, 182, 0.1);
  border-color: #9b59b6;
  color: #bb8fce;
}

.CodeBlock_langIcon__3Cliy {
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 6px;
  background: #242424;
  border-radius: 4px;
}
.CodeBlock_active___asO7 .CodeBlock_langIcon__3Cliy {
  background: #9b59b6;
  color: white;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .CodeBlock_langLabel__Imsl2 {
    display: none;
  }
}

.CodeBlock_codeContainer__6FDHR {
  max-height: 400px;
  overflow: auto;
}
.CodeBlock_codeContainer__6FDHR::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.CodeBlock_codeContainer__6FDHR::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.CodeBlock_codeContainer__6FDHR::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.CodeBlock_codeContainer__6FDHR::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

.CodeBlock_code__UAU7m {
  margin: 0;
  padding: 1.5rem;
}
.CodeBlock_code__UAU7m code {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #f5f5f5;
  white-space: pre;
}
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/layout/Sidebar.module.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Sidebar_overlay__Zrr9W {
  display: none;
}
@media (max-width: 639px) {
  .Sidebar_overlay__Zrr9W {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 299;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
  }
}

.Sidebar_sidebar__JoEdm {
  width: 280px;
  min-width: 280px;
  height: calc(100vh - 64px);
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  background: #1a1a1a;
  border-right: 1px solid #333333;
  overflow: visible;
  flex-shrink: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw {
  width: 72px;
  min-width: 72px;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_toggleIcon__kdBIg {
  transform: rotate(180deg);
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryName__BoxIA,
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_chevron__vQ7Xe,
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_algoName__tJbVA {
  opacity: 0;
  width: 0;
  overflow: hidden;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryHeader__0WgRm {
  justify-content: center;
  padding: 0.5rem;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryIcon__GvEpf {
  margin: 0;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_algorithmList___sLEK {
  display: none;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_nav__RI_ZA {
  padding: 0.5rem;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_category__h9wiT {
  margin-bottom: 0.25rem;
}
@media (max-width: 639px) {
  .Sidebar_sidebar__JoEdm {
    position: fixed;
    left: 0;
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 250ms ease;
  }
  .Sidebar_sidebar__JoEdm.Sidebar_open__6IKdC {
    transform: translateX(0);
  }
}

.Sidebar_toggleButton__ryofv {
  position: absolute;
  top: 1rem;
  right: -14px;
  width: 28px;
  height: 28px;
  background: #242424;
  border: 1px solid #404040;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 150ms ease;
  color: #b3b3b3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.Sidebar_toggleButton__ryofv:hover {
  background: #9b59b6;
  border-color: #9b59b6;
  color: #f5f5f5;
  transform: scale(1.1);
}
.Sidebar_toggleButton__ryofv:active {
  transform: scale(0.95);
}

.Sidebar_toggleIcon__kdBIg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.Sidebar_toggleIcon__kdBIg.Sidebar_rotated__LewpY {
  transform: rotate(180deg);
}

.Sidebar_nav__RI_ZA {
  padding: 1rem;
  padding-top: 2rem;
  transition: padding 0.3s ease;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}
.Sidebar_nav__RI_ZA::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.Sidebar_nav__RI_ZA::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.Sidebar_nav__RI_ZA::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.Sidebar_nav__RI_ZA::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

.Sidebar_category__h9wiT {
  margin-bottom: 0.25rem;
}

.Sidebar_categoryHeader__0WgRm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 150ms ease;
  text-align: left;
}
.Sidebar_categoryHeader__0WgRm:hover {
  background: #2d2d2d;
}

.Sidebar_categoryIcon__GvEpf {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b59b6;
  flex-shrink: 0;
  transition: margin 0.3s ease;
}

.Sidebar_categoryName__BoxIA {
  flex: 1 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f5f5f5;
  white-space: nowrap;
  transition: opacity 0.2s ease, width 0.3s ease;
}

.Sidebar_chevron__vQ7Xe {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  transition: transform 150ms ease, opacity 0.2s ease;
  flex-shrink: 0;
}
.Sidebar_chevron__vQ7Xe.Sidebar_expanded__aM9l_ {
  transform: rotate(90deg);
}

.Sidebar_algorithmList___sLEK {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  opacity: 0;
  padding-left: 1.5rem;
  margin-top: 0;
}
.Sidebar_algorithmList___sLEK.Sidebar_open__6IKdC {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.25rem;
}

.Sidebar_algorithmLink__sz_2t {
  display: flex;
  align-items: center;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  color: #b3b3b3;
  text-decoration: none;
  border-radius: 4px;
  border-left: 2px solid transparent;
  margin-left: 0.5rem;
  transition: all 150ms ease;
  white-space: nowrap;
  overflow: hidden;
}
.Sidebar_algorithmLink__sz_2t:hover {
  color: #f5f5f5;
  background: #2d2d2d;
}
.Sidebar_algorithmLink__sz_2t.Sidebar_active__xq3Qf {
  color: #bb8fce;
  background: rgba(155, 89, 182, 0.1);
  border-left-color: #9b59b6;
}

.Sidebar_algoName__tJbVA {
  transition: opacity 0.2s ease;
}

.Sidebar_collapsedHint__zPzAE {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  -webkit-text-orientation: mixed;
          text-orientation: mixed;
  font-size: 0.75rem;
  color: #666666;
  opacity: 0.5;
  pointer-events: none;
}
.Sidebar_collapsedHint__zPzAE span {
  transform: rotate(180deg);
  display: block;
}

.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryHeader__0WgRm,
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_algorithmLink__sz_2t {
  position: relative;
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryHeader__0WgRm::after,
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_algorithmLink__sz_2t::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #242424;
  color: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  border: 1px solid #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_categoryHeader__0WgRm:hover::after,
.Sidebar_sidebar__JoEdm.Sidebar_collapsed__Ia3Kw .Sidebar_algorithmLink__sz_2t:hover::after {
  opacity: 1;
  visibility: visible;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/components/problems/Problems.module.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.Problems_problemsSection__mdTpa {
  margin-top: 2rem;
}

.Problems_sectionHeader__VjNC8 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.Problems_sectionHeader__VjNC8 h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.Problems_sectionHeader__VjNC8 h2 svg {
  color: #9b59b6;
}

.Problems_stats__eoHoz {
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 639px) {
  .Problems_stats__eoHoz {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

.Problems_stat__jtRBF {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 1rem;
  background: #242424;
  border: 1px solid #333333;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #b3b3b3;
}
.Problems_stat__jtRBF strong {
  color: #f5f5f5;
  font-weight: 600;
}
.Problems_stat__jtRBF.Problems_points__XRp_S {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
}
.Problems_stat__jtRBF.Problems_points__XRp_S strong {
  color: #bb8fce;
}

.Problems_filterTabs__i25O_ {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.Problems_filterTabs__i25O_::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.Problems_filterTabs__i25O_::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.Problems_filterTabs__i25O_::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.Problems_filterTabs__i25O_::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
@media (max-width: 639px) {
  .Problems_filterTabs__i25O_ {
    gap: 0;
    padding: 0.25rem;
  }
}

.Problems_filterTab__CWo3G {
  flex: 1 1;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
  white-space: nowrap;
  min-width: max-content;
}
.Problems_filterTab__CWo3G:hover {
  color: #f5f5f5;
  background: #2d2d2d;
}
.Problems_filterTab__CWo3G.Problems_active__I4MvI {
  background: #9b59b6;
  color: white;
}
@media (max-width: 639px) {
  .Problems_filterTab__CWo3G {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
  }
}

.Problems_problemsGrid__wFxh_ {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.Problems_problemCard__nsfN8 {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  transition: all 150ms ease;
}
.Problems_problemCard__nsfN8:hover {
  border-color: #404040;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.Problems_problemCard__nsfN8.Problems_expanded__1Orcz {
  border-color: #9b59b6;
}

.Problems_cardHeader__yolFO {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: background 150ms ease;
  gap: 1rem;
}
.Problems_cardHeader__yolFO:hover {
  background: #2d2d2d;
}
@media (max-width: 639px) {
  .Problems_cardHeader__yolFO {
    padding: 1rem;
    flex-wrap: wrap;
  }
}

.Problems_cardHeaderLeft__3o_DS {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1 1;
  min-width: 0;
}
@media (max-width: 639px) {
  .Problems_cardHeaderLeft__3o_DS {
    gap: 0.5rem;
  }
}

.Problems_problemNumber__lyOAU {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #b3b3b3;
  flex-shrink: 0;
}

.Problems_problemInfo__VMd_D {
  flex: 1 1;
  min-width: 0;
}

.Problems_problemTitle__Ph8SQ {
  font-size: 1rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 639px) {
  .Problems_problemTitle__Ph8SQ {
    font-size: 0.875rem;
    white-space: normal;
  }
}

.Problems_problemMeta___Eg2r {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.Problems_difficultyBadge__0bjVF {
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}
.Problems_difficultyBadge__0bjVF.Problems_beginner__8r_zD {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}
.Problems_difficultyBadge__0bjVF.Problems_intermediate__ONi30 {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
}
.Problems_difficultyBadge__0bjVF.Problems_advanced__s8hKn {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.Problems_pointsBadge__YOnKf {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #bb8fce;
}
.Problems_pointsBadge__YOnKf svg {
  width: 12px;
  height: 12px;
}

.Problems_cardHeaderRight__BgaFx {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 639px) {
  .Problems_cardHeaderRight__BgaFx {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.25rem;
  }
}

.Problems_statusBadge__HMS5X {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.Problems_statusBadge__HMS5X.Problems_solved__Hl2K4 {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}
.Problems_statusBadge__HMS5X.Problems_attempted__ZRnNB {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
}

.Problems_expandIcon__wVd81 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #b3b3b3;
  transition: all 150ms ease;
}
.Problems_expandIcon__wVd81 svg {
  transition: transform 150ms ease;
}
.Problems_expandIcon__wVd81.Problems_expanded__1Orcz svg {
  transform: rotate(180deg);
}

.Problems_cardContent__zGHsn {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #333333;
  animation: Problems_slideDown__z3Er7 0.2s ease-out;
}
@media (max-width: 639px) {
  .Problems_cardContent__zGHsn {
    padding: 0 1rem 1rem;
  }
}

@keyframes Problems_slideDown__z3Er7 {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.Problems_description__8EyzH {
  padding-top: 1.5rem;
  color: #b3b3b3;
  font-size: 1rem;
  line-height: 1.75;
}
@media (max-width: 639px) {
  .Problems_description__8EyzH {
    font-size: 0.875rem;
  }
}

.Problems_examplesSection__RuKzG {
  margin-top: 1.5rem;
}

.Problems_examplesTitle__W_imY {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

.Problems_example__7Qiy2 {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.875rem;
}
.Problems_example__7Qiy2:last-child {
  margin-bottom: 0;
}

.Problems_exampleLabel__CnWwz {
  font-size: 0.75rem;
  color: #b3b3b3;
  margin-bottom: 0.25rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.Problems_exampleValue__Q_2WW {
  color: #f5f5f5;
  word-break: break-all;
}

.Problems_exampleExplanation__9N6IC {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid #333333;
  font-size: 0.75rem;
  color: #b3b3b3;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-style: italic;
}

.Problems_constraintsSection__YHULN {
  margin-top: 1.5rem;
}

.Problems_constraintsTitle__fo9kY {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}

.Problems_constraintsList__lwR6o {
  list-style: none;
  padding: 0;
  margin: 0;
}
.Problems_constraintsList__lwR6o li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: #b3b3b3;
  margin-bottom: 0.25rem;
}
.Problems_constraintsList__lwR6o li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #9b59b6;
}
.Problems_constraintsList__lwR6o li code {
  background: #1a1a1a;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.75rem;
}

.Problems_cardActions__VGky2 {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333333;
  flex-wrap: wrap;
}

.Problems_actionButton__uGKZe {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease;
  border: 1px solid transparent;
}
.Problems_actionButton__uGKZe svg {
  width: 16px;
  height: 16px;
}
.Problems_actionButton__uGKZe.Problems_hintButton__3CRPb {
  background: rgba(243, 156, 18, 0.1);
  color: #f39c12;
  border-color: rgba(243, 156, 18, 0.3);
}
.Problems_actionButton__uGKZe.Problems_hintButton__3CRPb:hover {
  background: rgba(243, 156, 18, 0.2);
  border-color: #f39c12;
}
.Problems_actionButton__uGKZe.Problems_solutionButton__4x2n0 {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.3);
}
.Problems_actionButton__uGKZe.Problems_solutionButton__4x2n0:hover {
  background: rgba(46, 204, 113, 0.2);
  border-color: #2ecc71;
}
.Problems_actionButton__uGKZe.Problems_solutionButton__4x2n0.Problems_locked__6dccO {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
  cursor: not-allowed;
  opacity: 0.7;
}
.Problems_actionButton__uGKZe.Problems_solutionButton__4x2n0.Problems_locked__6dccO:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.3);
}
.Problems_actionButton__uGKZe.Problems_codeButton__xbylH {
  background: rgba(155, 89, 182, 0.1);
  color: #bb8fce;
  border-color: rgba(155, 89, 182, 0.3);
}
.Problems_actionButton__uGKZe.Problems_codeButton__xbylH:hover {
  background: rgba(155, 89, 182, 0.2);
  border-color: #9b59b6;
}

.Problems_starterCodeSection__RPENh {
  margin-top: 1.5rem;
}

.Problems_starterCodeHeader__H9AhZ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.Problems_starterCodeTitle__jLKVV {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f5f5f5;
}

.Problems_languageSelector__zgXdA {
  display: flex;
  gap: 0.25rem;
}

.Problems_languageButton__bqNBw {
  padding: 4px 8px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
}
.Problems_languageButton__bqNBw:hover {
  border-color: #404040;
  color: #f5f5f5;
}
.Problems_languageButton__bqNBw.Problems_active__I4MvI {
  background: #9b59b6;
  border-color: #9b59b6;
  color: white;
}

.Problems_codeBlock__TicMo {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.Problems_codeBlockHeader__NNN3o {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid #333333;
}

.Problems_codeLanguage__cYGdp {
  font-size: 0.75rem;
  color: #b3b3b3;
  text-transform: uppercase;
}

.Problems_copyButton__GqbbB {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid #333333;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
}
.Problems_copyButton__GqbbB:hover {
  border-color: #9b59b6;
  color: #bb8fce;
}
.Problems_copyButton__GqbbB.Problems_copied__mrl06 {
  border-color: #2ecc71;
  color: #2ecc71;
}

.Problems_codeContent__yQZx3 {
  padding: 1rem;
  overflow-x: auto;
}
.Problems_codeContent__yQZx3::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.Problems_codeContent__yQZx3::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.Problems_codeContent__yQZx3::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.Problems_codeContent__yQZx3::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
.Problems_codeContent__yQZx3 pre {
  margin: 0;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #f5f5f5;
  white-space: pre-wrap;
  word-break: break-word;
}

.Problems_modalOverlay__KXNod {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1rem;
  animation: Problems_fadeIn__JeyU0 0.2s ease-out;
}

@keyframes Problems_fadeIn__JeyU0 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.Problems_modal__5q8fd {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: Problems_slideUp__aLXXo 0.3s ease-out;
}
@media (max-width: 639px) {
  .Problems_modal__5q8fd {
    max-height: 90vh;
  }
}

@keyframes Problems_slideUp__aLXXo {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.Problems_modalHeader__g0BbC {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #333333;
}
.Problems_modalHeader__g0BbC h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.Problems_modalHeader__g0BbC h3 svg {
  width: 20px;
  height: 20px;
}
.Problems_modalHeader__g0BbC.Problems_hint__LSQ1P h3 {
  color: #f39c12;
}
.Problems_modalHeader__g0BbC.Problems_solution__ax8Vr h3 {
  color: #2ecc71;
}

.Problems_closeButton__NB0u0 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  border: none;
  border-radius: 8px;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
}
.Problems_closeButton__NB0u0:hover {
  background: #2d2d2d;
  color: #f5f5f5;
}

.Problems_modalContent__qTOEa {
  padding: 1.5rem;
  overflow-y: auto;
}
.Problems_modalContent__qTOEa::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.Problems_modalContent__qTOEa::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.Problems_modalContent__qTOEa::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.Problems_modalContent__qTOEa::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

.Problems_modalWarning__XHhjS {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #f39c12;
}
.Problems_modalWarning__XHhjS svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.Problems_hintText__iT7TL {
  color: #b3b3b3;
  font-size: 1rem;
  line-height: 1.75;
}

.Problems_solutionCode__VQjST {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.Problems_emptyState__6yJXl {
  text-align: center;
  padding: 4rem;
  color: #b3b3b3;
}
.Problems_emptyState__6yJXl svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.Problems_emptyState__6yJXl h3 {
  font-size: 1.125rem;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}
.Problems_emptyState__6yJXl p {
  font-size: 0.875rem;
}
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[9].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[9].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[9].use[5]!./src/app/algorithms/dp/[slug]/page.module.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.page_page__Zxgp7 {
  min-height: 100vh;
  background: #0d0d0d;
}

.page_wrapper__lZNRW {
  display: flex;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.page_wrapper__lZNRW.page_sidebarCollapsed__Wq3P_ .page_main__okKnl {
  max-width: calc(100vw - 72px);
}

.page_main__okKnl {
  flex: 1 1;
  padding: 2rem;
  max-width: calc(100vw - 280px);
  overflow-x: hidden;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 639px) {
  .page_main__okKnl {
    max-width: 100vw;
    padding: 1rem;
  }
}

.page_header__bs9yA {
  margin-bottom: 2rem;
}

.page_titleSection___ZN1Y {
  margin-bottom: 1rem;
}
.page_titleSection___ZN1Y h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}
@media (max-width: 639px) {
  .page_titleSection___ZN1Y h1 {
    font-size: 1.5rem;
  }
}
.page_titleSection___ZN1Y p {
  color: #b3b3b3;
  font-size: 1.125rem;
  margin: 0;
}
@media (max-width: 639px) {
  .page_titleSection___ZN1Y p {
    font-size: 1rem;
  }
}

.page_badges__HWjOj {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page_quizButton__ZWV1O {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #9b59b6, #6c3483);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
  margin-top: 1rem;
}
.page_quizButton__ZWV1O svg {
  width: 18px;
  height: 18px;
}
.page_quizButton__ZWV1O:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.page_inputSection__mlALE {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 639px) {
  .page_inputSection__mlALE {
    padding: 1rem;
  }
}

.page_inputGroup__vx_os {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .page_inputGroup__vx_os {
    gap: 0.5rem;
  }
}
.page_inputGroup__vx_os label {
  color: #f5f5f5;
  font-weight: 500;
}
@media (max-width: 639px) {
  .page_inputGroup__vx_os label {
    font-size: 0.875rem;
    width: 100%;
  }
}
.page_inputGroup__vx_os input {
  max-width: 150px;
}
@media (max-width: 639px) {
  .page_inputGroup__vx_os input {
    max-width: 100px;
  }
}
.page_inputGroup__vx_os > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 639px) {
  .page_inputGroup__vx_os > div {
    width: 100%;
  }
}

.page_visualizerSection__8uB8g {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .page_visualizerSection__8uB8g {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 639px) {
  .page_visualizerSection__8uB8g {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.page_dpContainer__gfaRC {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 300px;
  overflow-x: auto;
}
.page_dpContainer__gfaRC::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.page_dpContainer__gfaRC::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.page_dpContainer__gfaRC::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.page_dpContainer__gfaRC::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
@media (max-width: 639px) {
  .page_dpContainer__gfaRC {
    padding: 1rem;
    min-height: 200px;
  }
}

.page_memoTable__Uyu_X .page_memoHeader__Ctyzu {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 1.5rem;
}
@media (max-width: 639px) {
  .page_memoTable__Uyu_X .page_memoHeader__Ctyzu {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}
.page_memoTable__Uyu_X .page_memoGrid__GH5NE {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 639px) {
  .page_memoTable__Uyu_X .page_memoGrid__GH5NE {
    gap: 0.25rem;
  }
}
.page_memoTable__Uyu_X .page_memoCell__zju0d {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 70px;
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  transition: all 0.3s ease;
}
@media (max-width: 639px) {
  .page_memoTable__Uyu_X .page_memoCell__zju0d {
    width: 50px;
    height: 60px;
  }
}
.page_memoTable__Uyu_X .page_memoCell__zju0d.page_current___d6mT {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
}
.page_memoTable__Uyu_X .page_memoCell__zju0d.page_filled__5tgpp {
  border-color: #2ecc71;
}
.page_memoTable__Uyu_X .page_memoCell__zju0d .page_memoIndex__qNQ17 {
  font-size: 0.75rem;
  color: #b3b3b3;
}
.page_memoTable__Uyu_X .page_memoCell__zju0d .page_memoValue__gcQBo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f5f5f5;
}

.page_dpTable__ftHXg,
.page_dpTableSmall__LoKKt {
  overflow-x: auto;
}
.page_dpTable__ftHXg table,
.page_dpTableSmall__LoKKt table {
  border-collapse: collapse;
  width: 100%;
  min-width: max-content;
}
.page_dpTable__ftHXg th,
.page_dpTable__ftHXg td,
.page_dpTableSmall__LoKKt th,
.page_dpTableSmall__LoKKt td {
  padding: 0.5rem;
  text-align: center;
  border: 1px solid #333333;
  min-width: 35px;
}
.page_dpTable__ftHXg th,
.page_dpTableSmall__LoKKt th {
  background: #1a1a1a;
  color: #f5f5f5;
  font-weight: 600;
}
.page_dpTable__ftHXg td,
.page_dpTableSmall__LoKKt td {
  background: #242424;
  color: #b3b3b3;
  transition: all 0.3s ease;
}
.page_dpTable__ftHXg td.page_current___d6mT,
.page_dpTableSmall__LoKKt td.page_current___d6mT {
  background: rgba(155, 89, 182, 0.1);
  border-color: #9b59b6;
  color: #bb8fce;
  font-weight: 700;
}
.page_dpTable__ftHXg td.page_match__oJLeF,
.page_dpTableSmall__LoKKt td.page_match__oJLeF {
  background: rgba(46, 204, 113, 0.1);
  border-color: #2ecc71;
  color: #2ecc71;
}

.page_lcsResult__3annk {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  border-radius: 8px;
  color: #2ecc71;
  font-weight: 600;
  text-align: center;
}

.page_knapsackViz__nGh1r {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}
@media (max-width: 639px) {
  .page_knapsackViz__nGh1r {
    grid-template-columns: 1fr;
  }
}

.page_itemsList__NjJFd h4 {
  color: #f5f5f5;
  margin-bottom: 1rem;
}
.page_itemsList__NjJFd .page_item__pKIxz {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.page_itemsList__NjJFd .page_item__pKIxz.page_current___d6mT {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
}
.page_itemsList__NjJFd .page_item__pKIxz.page_selected__hh10U {
  border-color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
}
.page_itemsList__NjJFd .page_item__pKIxz span:first-child {
  color: #f5f5f5;
  font-weight: 500;
}
.page_itemsList__NjJFd .page_item__pKIxz span:last-child {
  color: #b3b3b3;
  font-size: 0.875rem;
}

.page_coinChangeViz__FOnVa .page_coinsList__L_erT {
  margin-bottom: 1.5rem;
}
.page_coinChangeViz__FOnVa .page_coinsList__L_erT h4 {
  color: #f5f5f5;
  margin-bottom: 1rem;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_coinsList__L_erT h4 {
    font-size: 0.875rem;
  }
}
.page_coinChangeViz__FOnVa .page_coinsList__L_erT .page_coinsDisplay__x7TYK {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_coinsList__L_erT .page_coinsDisplay__x7TYK {
    gap: 0.5rem;
  }
}
.page_coinChangeViz__FOnVa .page_coinsList__L_erT .page_coin__ud5TW {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 50%;
  font-weight: 700;
  color: #f5f5f5;
  transition: all 0.3s ease;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_coinsList__L_erT .page_coin__ud5TW {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}
.page_coinChangeViz__FOnVa .page_coinsList__L_erT .page_coin__ud5TW.page_current___d6mT {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
  transform: scale(1.1);
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj h4 {
  color: #f5f5f5;
  margin-bottom: 1rem;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_dpArray__oleqj h4 {
    font-size: 0.875rem;
  }
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpGrid__QoYmE {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpGrid__QoYmE {
    gap: 0.25rem;
  }
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 60px;
  background: #1a1a1a;
  border: 2px solid #333333;
  border-radius: 8px;
  transition: all 0.3s ease;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4 {
    width: 40px;
    height: 50px;
  }
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4.page_current___d6mT {
  border-color: #9b59b6;
  background: rgba(155, 89, 182, 0.1);
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4.page_filled__5tgpp {
  border-color: #2ecc71;
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4 .page_dpIndex__WBxoh {
  font-size: 0.75rem;
  color: #b3b3b3;
}
.page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4 .page_dpValue__IH7V_ {
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f5;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_dpArray__oleqj .page_dpCell__h7SO4 .page_dpValue__IH7V_ {
    font-size: 0.875rem;
  }
}
.page_coinChangeViz__FOnVa .page_usedCoinsDisplay__HEbU0 {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  border-radius: 8px;
  color: #2ecc71;
}
.page_coinChangeViz__FOnVa .page_usedCoinsDisplay__HEbU0 strong {
  font-weight: 600;
}
@media (max-width: 639px) {
  .page_coinChangeViz__FOnVa .page_usedCoinsDisplay__HEbU0 {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
}

.page_coinsLabel__gzAk_ {
  color: #b3b3b3;
  font-size: 0.875rem;
}

.page_controls___v69A {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 639px) {
  .page_controls___v69A {
    padding: 1rem;
    gap: 1rem;
  }
}

.page_controlButtons__yCb9S {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .page_controlButtons__yCb9S {
    justify-content: center;
  }
}

.page_speedControl__3VCps {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.page_speedControl__3VCps label {
  font-size: 0.875rem;
  color: #b3b3b3;
}
.page_speedControl__3VCps input[type=range] {
  width: 100%;
  accent-color: #9b59b6;
}

.page_stepInfo__D2JFz {
  font-size: 0.875rem;
  color: #b3b3b3;
  text-align: center;
}

.page_stepExplanation__CS2IK {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 639px) {
  .page_stepExplanation__CS2IK {
    padding: 1rem;
  }
}
.page_stepExplanation__CS2IK h3 {
  font-size: 1rem;
  color: #f5f5f5;
  margin-bottom: 0.5rem;
}
@media (max-width: 639px) {
  .page_stepExplanation__CS2IK h3 {
    font-size: 0.875rem;
  }
}
.page_stepExplanation__CS2IK p {
  color: #b3b3b3;
}
@media (max-width: 639px) {
  .page_stepExplanation__CS2IK p {
    font-size: 0.875rem;
  }
}

.page_contentSection__HR2NA {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.page_tabs__RYWYY {
  display: flex;
  border-bottom: 1px solid #333333;
}

.page_tab__73TMn {
  flex: 1 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 150ms ease;
}
.page_tab__73TMn:hover {
  color: #f5f5f5;
  background: #2d2d2d;
}
.page_tab__73TMn.page_active__iZth6 {
  color: #bb8fce;
  background: rgba(155, 89, 182, 0.1);
  border-bottom: 2px solid #9b59b6;
}

.page_tabContent__SbrQQ {
  padding: 2rem;
}
@media (max-width: 639px) {
  .page_tabContent__SbrQQ {
    padding: 1rem;
  }
}

.page_theory__7mJfD {
  color: #b3b3b3;
  line-height: 1.75;
}
.page_theory__7mJfD h2 {
  color: #f5f5f5;
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}
.page_theory__7mJfD h2:first-child {
  margin-top: 0;
}
.page_theory__7mJfD h3 {
  color: #f5f5f5;
  font-size: 1.125rem;
  margin: 1rem 0 0.5rem;
}
.page_theory__7mJfD ul,
.page_theory__7mJfD ol {
  margin: 1rem 0;
  padding-left: 2rem;
}
.page_theory__7mJfD ul li,
.page_theory__7mJfD ol li {
  margin-bottom: 0.25rem;
}
.page_theory__7mJfD strong {
  color: #f5f5f5;
  font-weight: 600;
}

.page_codeSection__cI9d3 {
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
}

.page_code__7Nu_g {
  margin: 0;
  padding: 1.5rem;
  overflow-x: auto;
}
.page_code__7Nu_g::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.page_code__7Nu_g::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 9999px;
}
.page_code__7Nu_g::-webkit-scrollbar-thumb {
  background: #404040;
  border-radius: 9999px;
}
.page_code__7Nu_g::-webkit-scrollbar-thumb:hover {
  background: #666666;
}
.page_code__7Nu_g code {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #f5f5f5;
}

.page_complexitySection__iWmjS {
  background: #242424;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 2rem;
}
@media (max-width: 639px) {
  .page_complexitySection__iWmjS {
    padding: 1rem;
  }
}
.page_complexitySection__iWmjS h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 1.5rem;
}
@media (max-width: 639px) {
  .page_complexitySection__iWmjS h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

.page_complexityTable__6FoBo {
  width: 100%;
  border-collapse: collapse;
}
.page_complexityTable__6FoBo th,
.page_complexityTable__6FoBo td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #333333;
}
@media (max-width: 639px) {
  .page_complexityTable__6FoBo th,
  .page_complexityTable__6FoBo td {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}
.page_complexityTable__6FoBo th {
  color: #b3b3b3;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page_complexityTable__6FoBo td {
  color: #f5f5f5;
}
.page_complexityTable__6FoBo td code {
  background: rgba(155, 89, 182, 0.1);
  color: #bb8fce;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 0.875rem;
}
.page_complexityTable__6FoBo tr:last-child td {
  border-bottom: none;
}

.page_error__VbT5Q {
  text-align: center;
  padding: 4rem;
}
.page_error__VbT5Q h2 {
  color: #f5f5f5;
  margin-bottom: 1rem;
}
.page_error__VbT5Q p {
  color: #b3b3b3;
}
