body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-main);
  color: var(--text-primary);
}


body, div, header, nav, section, article, aside, footer, p, h1, h2, h3, h4, h5, h6, span, button, input, select, textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}


.Toastify__close-button,
button.Toastify__close-button {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
    color: inherit !important;
    transition: opacity 0.2s ease !important;
    outline: none !important;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus,
.Toastify__close-button:active,
button.Toastify__close-button:hover,
button.Toastify__close-button:focus,
button.Toastify__close-button:active {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 1 !important;
    color: inherit !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}


:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: #e74c3c;
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);
  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;
  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(
    to right,
    #4cd964,
    #5ac8fa,
    #007aff,
    #34aadc,
    #5856d6,
    #ff2d55
  );
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: 9999;
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, 9999);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  padding: 4px;
  width: 320px;
  width: var(--toastify-toast-width);
  box-sizing: border-box;
  color: #fff;
}
.Toastify__toast-container--top-left {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--top-right {
  top: max(16px, env(safe-area-inset-top));
  top: var(--toastify-toast-top);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
}
.Toastify__toast-container--bottom-left {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: max(16px, env(safe-area-inset-left));
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
}
.Toastify__toast-container--bottom-right {
  bottom: max(16px, env(safe-area-inset-bottom));
  bottom: var(--toastify-toast-bottom);
  right: max(16px, env(safe-area-inset-right));
  right: var(--toastify-toast-right);
}

@media only screen and (max-width : 480px) {
  .Toastify__toast-container {
    width: 100vw;
    padding: 0;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: auto;
    left: initial;
  }
}
.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  min-height: 64px;
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: 8px;
  border-radius: 6px;
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  max-height: 800px;
  max-height: var(--toastify-toast-max-height);
  font-family: sans-serif;
  font-family: var(--toastify-font-family);
  cursor: default;
  direction: ltr;
  /* webkit only issue #791 */
  z-index: 0;
  overflow: hidden;
}
.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}
.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body, .Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}
.Toastify__toast--stacked[data-collapsed=false] {
  overflow: visible;
}
.Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > * {
  opacity: 0;
}
.Toastify__toast--stacked:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}
.Toastify__toast--stacked[data-pos=top] {
  top: 0;
}
.Toastify__toast--stacked[data-pos=bot] {
  bottom: 0;
}
.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before {
  transform-origin: top;
}
.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before {
  transform-origin: bottom;
}
.Toastify__toast--stacked:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}
.Toastify__toast--rtl {
  direction: rtl;
}
.Toastify__toast--close-on-click {
  cursor: pointer;
}
.Toastify__toast-body {
  margin: auto 0;
  flex: 1 1 auto;
  padding: 6px;
  display: flex;
  align-items: center;
}
.Toastify__toast-body > div:last-child {
  word-break: break-word;
  flex: 1 1;
}
.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 20px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

@media only screen and (max-width : 480px) {
  .Toastify__toast {
    margin-bottom: 0;
    border-radius: 0;
  }
}
.Toastify__toast-theme--dark {
  background: #121212;
  background: var(--toastify-color-dark);
  color: #fff;
  color: var(--toastify-text-color-dark);
}
.Toastify__toast-theme--light {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--default {
  background: #fff;
  background: var(--toastify-color-light);
  color: #757575;
  color: var(--toastify-text-color-light);
}
.Toastify__toast-theme--colored.Toastify__toast--info {
  color: #fff;
  color: var(--toastify-text-color-info);
  background: #3498db;
  background: var(--toastify-color-info);
}
.Toastify__toast-theme--colored.Toastify__toast--success {
  color: #fff;
  color: var(--toastify-text-color-success);
  background: #07bc0c;
  background: var(--toastify-color-success);
}
.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: #fff;
  color: var(--toastify-text-color-warning);
  background: #f1c40f;
  background: var(--toastify-color-warning);
}
.Toastify__toast-theme--colored.Toastify__toast--error {
  color: #fff;
  color: var(--toastify-text-color-error);
  background: #e74c3c;
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: linear-gradient(
    to right,
    #4cd964,
    #5ac8fa,
    #007aff,
    #34aadc,
    #5856d6,
    #ff2d55
  );
  background: var(--toastify-color-progress-light);
}
.Toastify__progress-bar-theme--dark {
  background: #bb86fc;
  background: var(--toastify-color-progress-dark);
}
.Toastify__progress-bar--info {
  background: #3498db;
  background: var(--toastify-color-progress-info);
}
.Toastify__progress-bar--success {
  background: #07bc0c;
  background: var(--toastify-color-progress-success);
}
.Toastify__progress-bar--warning {
  background: #f1c40f;
  background: var(--toastify-color-progress-warning);
}
.Toastify__progress-bar--error {
  background: #e74c3c;
  background: var(--toastify-color-progress-error);
}
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: rgba(255, 255, 255, 0.7);
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  align-self: flex-start;
  z-index: 1;
}
.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}
.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}
.Toastify__close-button:hover, .Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}
.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  z-index: var(--toastify-z-index);
  opacity: 0.7;
  transform-origin: left;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}
.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}
.Toastify__progress-bar--rtl {
  right: 0;
  left: auto;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: 0;
  border-bottom-left-radius: initial;
  border-bottom-right-radius: 6px;
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--wrp {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
}
.Toastify__progress-bar--wrp[data-hidden=true] {
  opacity: 0;
}
.Toastify__progress-bar--bg {
  opacity: 0.2;
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: #e0e0e0;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: #616161;
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}
@keyframes Toastify__bounceInLeft {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}
@keyframes Toastify__bounceInUp {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}
@keyframes Toastify__bounceInDown {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}
@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%, 45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}
.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}
.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}
.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}
.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}
.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}
.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}
.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}
@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}
.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}
@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}
.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}
@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}
@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}
@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}
@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}
.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}
.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}
.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}
.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}
.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-html {
  font-size: 16px;
  background-color: #f9f9f9;
}

.login-body {
  background-color: #f0f0f0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}



.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode .login-container {
  background-color: #1e1e1e;
}

.theme-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #ffa500;
  transition: color 0.3s ease;
}

.theme-toggle:hover {
  color: #ffcc00;
}

.login-logo {
  width: 150px;
  margin-bottom: 40px;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fafafa;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

body.dark-mode input[type="text"],
body.dark-mode input[type="password"] {
  background-color: #3a3a3a;
  border-color: #555;
  color: #fff;
}

input:focus {
  border-color: #ffa500;
  background-color: #fff;
  outline: none;
}

body.dark-mode input:focus {
  background-color: #4a4a4a;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  background-color: #ffa500;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e69500;
}

.secondary-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.secondary-buttons a, 
.secondary-buttons .link-button {
  background: none;
  border: none;
  padding: 0;
  width: auto;
  margin: 0;
  color: #ffa500;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  font-weight: normal;
}

.secondary-buttons a:hover, 
.secondary-buttons .link-button:hover {
  color: #e69500;
  background: none;
}

.social-media-section {
  margin-top: 20px;
}

.error-message {
  color: red;
  margin-bottom: 10px;
  text-align: center;
}

.password-toggle-icon {
  position: relative;
  top: -58px;
  float: right;
  margin-right: 40px;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

body.dark-mode .password-toggle-icon {
  color: #ccc;
}

.snake {
  position: absolute;
  width: 100px;
  height: 7.5px;
  background-color: #4caf50;
  transition: background-color 0.3s ease;
}

.background-red-white {
  background: linear-gradient(to right, red, white);
}

.dwarf-container {
  position: absolute;
  bottom: 405px;
  right: 500px;
}

.dwarf {
  width: 100px;
}

@media (max-width: 768px) {
  .dwarf-container {
    position: static !important;
    margin: 0 8px;
  }
  .dwarf {
    width: 40px !important;
    height: auto;
  }
  .secondary-buttons {
    justify-content: center;
    gap: 8px;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 2000;
}

.modal {
  background: #fff8f0;
  padding: 24px 16px;
  border-radius: 12px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transform: scale(0.9);
  animation: modal-pop 0.25s ease-out forwards;
}

@keyframes modal-pop {
  to { transform: scale(1); }
}

.modal h2 {
  font-size: 1.25em;
  margin-bottom: 12px;
  color: #d2691e;
}

.modal p {
  margin-bottom: 20px;
  color: #555;
  font-style: italic;
}

.modal-close {
  padding: 8px 20px;
  background: #ff6f91;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: #ff4f70;
}

.login-privacy-policy-footer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.login-privacy-link {
  color: #333;
  text-decoration: none;
  font-size: 0.9em;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.dark-mode .login-privacy-link {
  color: #ccc;
}

.login-privacy-link:hover {
  opacity: 1;
}

.social-media-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-media-icons a {
    margin: 0 10px;
    color: #000;
    font-size: 30px;
}

.social-media-icons a:hover .social-icon.tiktok {
    color: #0e0f0f;
}

.social-media-icons a:hover .social-icon.linkedin {
    color: #086597;
}

.social-media-icons a:hover .social-icon.github {
    color: #333;
}

.social-media-icons a:hover .social-icon.instagram {
    color: #bb3b76;
}

.social-media-icons a:hover .social-icon.facebook {
    color: #004db3;
}

.social-media-icons a:hover .social-icon.youtube {
    color: #FF0000;
}

.social-media-icons a:hover .fab.fa-twitter {
    color: #009dff;
}
.forgot-password-box {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  animation: fadeIn 1s ease-in-out;
}

.forgot-password-box h2 {
  margin-bottom: 40px;
}

input[type="email"],
input[type="text"],
input[type="password"],
button {
  width: calc(100% - 22px);
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  background-color: #f5f5f5;
  color: #333333;
  transition: all 0.3s ease;
}

button {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  border: none;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.success-message {
  color: green;
  margin-bottom: 20px;
}

.error-message {
  color: red;
  margin-bottom: 20px;
}

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

.countdown {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

body.dark-mode .forgot-password-box {
  background-color: #2a2a2a;
  color: #eee;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

body.dark-mode input[type="email"],
body.dark-mode input[type="text"],
body.dark-mode input[type="password"] {
  background-color: #3a3a3a;
  border-color: #555;
  color: #fff;
}

body.dark-mode button {
  background-color: #007bff;
  color: #fff;
}

body.dark-mode .countdown {
  color: #ccc;
}

.register-box {
  background: #fff;
  color: #333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 400px;
  margin: 40px auto;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
  border: 2px solid transparent;
}

.register-box.success {
  border-color: #28a745;
}

.register-box.error {
  border-color: #dc3545;
}

input,
button {
  width: calc(100% - 22px);
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  background: #f5f5f5;
  color: #333;
  transition: 0.3s;
}

button {
  background: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.success-message {
  color: #800080 !important;
  font-weight: bold;
  margin-bottom: 20px;
}

.error-message {
  color: #dc3545;
  margin-bottom: 20px;
}

.suggestions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.suggestions-label {
  width: 100%;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  text-align: center;
}

.suggestion-btn {
  width: auto !important;
  display: inline-block;
  background-color: #007bff;
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.suggestion-btn:hover {
  background-color: #0056b3;
}

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

body.dark-mode .register-box {
  background-color: #2a2a2a;
  color: #eee;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

body.dark-mode input,
body.dark-mode button {
  background-color: #3a3a3a;
  border-color: #555;
  color: #fff;
}

body.dark-mode button {
  background: #007bff;
  color: #fff;
}

.Mainpage-body::-webkit-scrollbar,
.Mainpage-container::-webkit-scrollbar {
  display: none;
}

.Mainpage-body,
.Mainpage-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.Mainpage-body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-y: auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.Mainpage-container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.Mainpage-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.Mainpage-premium-button {
  padding: 10px 25px;
  display: block;
  width: fit-content;
  margin: 30px auto;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff !important;
  background-color: #166534 !important;
}

.Mainpage-premium-button:hover {
  background-color: #15803d !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.PremiumModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.PremiumModalContent {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  width: 400px;
  text-align: center;
  color: var(--text-primary);
}

.PremiumModalContent h2 {
  margin-top: 0;
  font-size: 20px;
  color: var(--text-primary);
}

.PremiumModalContent p {
  font-size: 16px;
  color: var(--text-secondary);
}

.PremiumModalButtons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.PremiumModalButtons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.PremiumModalButtons .confirm {
  background-color: #28a745;
  color: #fff;
}

.PremiumModalButtons .confirm:hover {
  background-color: #218838;
}

.PremiumModalButtons .cancel {
  background-color: #dc3545;
  color: #fff;
}

.PremiumModalButtons .cancel:hover {
  background-color: #c82333;
}

.Mainpage-download-mobile-button {
  display: none;
}

@media (max-width: 768px) {
  .Mainpage-container {
    width: 98%;
    padding: 10px;
  }
  .Mainpage-premium-button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: #000;
  }
  
  .Mainpage-download-mobile-button {
    display: block;
    width: auto;
    min-width: 220px;
    margin: 35px auto 12px auto;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
    transition: all 0.2s ease;
    text-align: center;
  }
  
  .Mainpage-download-mobile-button:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
  }
}

@media (max-width: 480px) {
  .Mainpage-premium-button {
    margin: 20px auto;
    position: static !important;
    transform: none !important;
    font-size: 13px;
    padding: 6px 10px;
    background-color: #4CAF50;
    color: #000;
  }
}

.theme-switcher-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 10px;
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--accent-color);
    color: var(--button-text);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
    min-width: 200px;
    
}

.theme-options.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.theme-option {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    display: flex;
    align-items: center;
    width: 100%;
    font-weight: 500;
}

.theme-option:hover {
    background: var(--highlight);
    transform: translateX(5px);
}

.theme-option.active {
    background: var(--accent-color);
    color: var(--bg-main);
    border-color: var(--border-color);
    font-weight: 700;
}

.theme-options::-webkit-scrollbar {
    width: 5px;
}

.theme-options::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.theme-options::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}
.Mainpage-header {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  background-color: var(--header-bg);
  border-radius: 10px;
  margin-bottom: 20px;
  gap: 20px;
  transition: background-color 0.3s ease;
}

.header-column {
  flex: 0 0 auto;
  text-align: center;
}

.header-column.recommendation {
  flex: 1 1 auto;
  min-width: 0;
}

.Mainpage-task-progress,
.Mainpage-title,
.Mainpage-level,
.Mainpage-rank {
  background: var(--button-bg);
  color: var(--button-text);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  font-weight: 600;
  animation: headerItemPop 0.4s ease-out;
}

@keyframes headerItemPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.Mainpage-task-progress:hover {
  background: var(--highlight);
  transform: translateY(-2px);
  cursor: pointer;
}

.Mainpage-recommendation {
  background: var(--recommendation-bg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  border-radius: 8px;
  color: var(--button-text);
  font-size: 15px;
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 45px;
}

.Mainpage-recommendation p {
  margin: 0;
  animation: recommendationReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
             glowPulse 3s infinite ease-in-out;
}

@keyframes recommendationReveal {
  0% { transform: translateY(10px); opacity: 0; filter: blur(5px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.2); }
  50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px var(--highlight); }
  100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.2); }
}

.Mainpage-recommendation::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmerSweep 43s infinite linear;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%) rotate(45deg); opacity: 0; }
  2% { opacity: 1; }
  15% { transform: translateX(100%) rotate(45deg); opacity: 1; }
  17% { opacity: 0; }
  100% { transform: translateX(100%) rotate(45deg); opacity: 0; }
}

@media (max-width: 480px) {
  .Mainpage-header {
    display: grid;
    grid-template-areas:
      "task-status title"
      "recommendation recommendation"
      "level rank";
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    gap: 10px;
    text-align: center;
    align-items: center;
    padding: 10px;
  }

  .header-column.task-status { grid-area: task-status; }
  .header-column.title { grid-area: title; }
  .header-column.recommendation { grid-area: recommendation; }
  .header-column.level { grid-area: level; }
  .header-column.rank { grid-area: rank; }

  .Mainpage-task-progress,
  .Mainpage-title,
  .Mainpage-recommendation,
  .Mainpage-level,
  .Mainpage-rank {
    font-size: 14px;
    padding: 8px;
  }

  .Mainpage-recommendation {
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
  }
}

.Mainpage-menu {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.Mainpage-menu-item {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(33.333% - 20px);
  background: var(--button-bg);
  color: var(--button-text);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-weight: 600;
}

.Mainpage-menu-item:hover {
  background-color: var(--highlight);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.Mainpage-menu-item.feedback-link {
  background: var(--button-bg);
  color: var(--button-text);
  border-color: var(--border-color);
}

.Mainpage-menu-item.feedback-link:hover {
  background: var(--highlight);
  color: var(--text-primary);
  border-color: var(--accent-color);
}

.Mainpage-menu-item.disabled-premium {
  position: relative;
  background: rgba(18, 18, 24, 0.65) !important;
  border: 1px solid rgba(139, 92, 246, 0.15) !important;
  color: #718096 !important;
  opacity: 0.65;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: inset 0 0 12px rgba(139, 92, 246, 0.05);
}

.Mainpage-menu-item.disabled-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(139, 92, 246, 0.08) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.Mainpage-menu-item.disabled-premium:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  border-color: rgba(139, 92, 246, 0.45) !important;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15),
              inset 0 0 15px rgba(139, 92, 246, 0.1);
  color: #a0aec0 !important;
}

.Mainpage-menu-item.disabled-premium:hover::before {
  left: 150%;
  transition: all 0.8s ease-in-out;
}

.menu-premium-lock-container {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 126, 179, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
  transition: all 0.3s;
}

.Mainpage-menu-item.disabled-premium:hover .menu-premium-lock-container {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
  transform: scale(1.05);
}

.menu-lock-icon {
  font-size: 10px;
  color: #8b5cf6;
  animation: pulseLock 2s infinite ease-in-out;
}

.menu-premium-badge {
  font-size: 9px;
  font-weight: 800;
  color: #c084fc;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes pulseLock {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 3px rgba(139, 92, 246, 0.8)); }
  100% { transform: scale(1); opacity: 0.8; }
}



.Mainpage-logout-button {
  background: var(--button-bg);
  color: var(--button-text);
  padding: 12px 30px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 30px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.Mainpage-logout-button:hover {
  background-color: var(--highlight);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .Mainpage-menu-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 20px);
    font-size: 16px;
    padding: 15px;
    min-height: 70px;
  }
}

@media (max-width: 480px) {
  .Mainpage-menu {
    gap: 12px;
  }
  .Mainpage-menu-item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 12px);
    font-size: 14px;
    padding: 12px;
    min-height: 60px;
    border-radius: 12px;
  }
}

.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    animation: modalOverlayFadeIn 0.25s ease-out;
}

@keyframes modalOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.download-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background:
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.3), transparent 55%),
        linear-gradient(135deg, rgba(20, 16, 45, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 24px;
    padding: 24px 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
    color: #ffffff;
    box-sizing: border-box;
    animation: modalCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-card::-webkit-scrollbar {
    width: 6px;
}

.download-modal-card::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.4);
    border-radius: 10px;
}

@keyframes modalCardPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.download-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.download-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.download-modal-header {
    text-align: center;
    margin-bottom: 16px;
}

.download-modal-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.download-modal-header h3 {
    margin: 0 0 4px 0;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.download-modal-header p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Recommended Usage Guide Box */
.download-modal-guide-box {
    background: rgba(251, 191, 36, 0.07);
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
    text-align: left;
}

.guide-header {
    margin-bottom: 10px;
}

.guide-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 750;
    color: #fbbf24;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    width: 100%;
}

.guide-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.guide-title-text {
    white-space: nowrap;
    text-align: center;
}

.guide-steps {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.guide-steps li {
    margin: 0;
}

.guide-steps li strong {
    color: #ffffff;
}

.guide-steps li em {
    color: rgba(255, 255, 255, 0.65);
    font-style: normal;
}

/* Modal Options */
.download-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-modal-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.download-modal-option-btn.apk-card {
    border-color: rgba(52, 211, 153, 0.35);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.22), rgba(4, 120, 87, 0.12));
}

.download-modal-option-btn.apk-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(4, 120, 87, 0.22));
    border-color: rgba(52, 211, 153, 0.75);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.download-modal-option-btn.play-card {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.07));
}

.download-modal-option-btn.play-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.26), rgba(37, 99, 235, 0.18));
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.option-badge-icon {
    font-size: 24px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-info {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffffff;
}

.option-subtitle {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
    line-height: 1.3;
}

.option-arrow {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.download-modal-option-btn:hover .option-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

.download-modal-footer {
    margin-top: 16px;
    text-align: center;
}

.download-modal-footer small {
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 420px) {
    .guide-title {
        font-size: 11.5px;
        gap: 4px;
    }
}

.download-app-container {
    position: fixed;
    top: 20px;
    left: 12px;
    z-index: 1000;
}

.download-app-trigger-btn {
    min-height: 44px;
    height: auto;
    padding: 10px 32px 10px 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(25, 20, 55, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(124, 58, 237, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    box-sizing: border-box;
}

.download-app-trigger-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45);
    border-color: rgba(255, 255, 255, 0.35);
}

.trigger-label {
    white-space: nowrap;
}

/* Center Modal Styling */
.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 7, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    animation: modalOverlayFadeIn 0.25s ease-out;
}

@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.download-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background:
        radial-gradient(circle at 0% 0%, rgba(139, 92, 246, 0.3), transparent 55%),
        linear-gradient(135deg, rgba(20, 16, 45, 0.98), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.25);
    color: #ffffff;
    box-sizing: border-box;
    animation: modalCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalCardPop {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(15px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.download-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.download-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

.download-modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.download-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px auto;
    border-radius: 18px;
    background: linear-gradient(135deg, #a855f7, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.download-modal-header h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.download-modal-header p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.download-modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-modal-option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.download-modal-option-btn.apk-card {
    border-color: rgba(52, 211, 153, 0.35);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.22), rgba(4, 120, 87, 0.12));
}

.download-modal-option-btn.apk-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.35), rgba(4, 120, 87, 0.22));
    border-color: rgba(52, 211, 153, 0.75);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

.download-modal-option-btn.play-card {
    border-color: rgba(59, 130, 246, 0.35);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.07));
}

.download-modal-option-btn.play-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.26), rgba(37, 99, 235, 0.18));
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.option-badge-icon {
    font-size: 26px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-info {
    flex: 1 1;
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
}

.option-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3px;
    line-height: 1.3;
}

.option-arrow {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.download-modal-option-btn:hover .option-arrow {
    transform: translateX(4px);
    color: #ffffff;
}

.download-modal-footer {
    margin-top: 18px;
    text-align: center;
}

.download-modal-footer small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 768px) {
    .download-app-container {
        display: none;
    }
}
/* Full Width Bottom Floating Bar for Mobile */
.mobile-app-banner-full {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(120%);
    background: linear-gradient(135deg, rgba(25, 18, 55, 0.96), rgba(15, 23, 42, 0.96));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 20px 20px 0 0;
    padding: 12px 18px max(12px, env(safe-area-inset-bottom)) 18px;
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(124, 58, 237, 0.3);
    z-index: 9998;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #ffffff;
    box-sizing: border-box;
    animation: fullBannerPulse 4s infinite ease-in-out;
}

@keyframes fullBannerPulse {
    0% {
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45), 0 0 16px rgba(124, 58, 237, 0.25);
        border-top-color: rgba(167, 139, 250, 0.35);
    }
    50% {
        box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.6), 0 0 28px rgba(168, 85, 247, 0.45);
        border-top-color: rgba(192, 132, 252, 0.65);
    }
    100% {
        box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45), 0 0 16px rgba(124, 58, 237, 0.25);
        border-top-color: rgba(167, 139, 250, 0.35);
    }
}

.mobile-app-banner-full.show {
    transform: translateY(0);
}

.mobile-app-banner-full:active {
    background: linear-gradient(135deg, rgba(35, 25, 75, 0.98), rgba(20, 30, 55, 0.98));
}

.full-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1;
    overflow: hidden;
}

/* Sliding Icon Container */
.full-banner-icon-container {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(192, 132, 252, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.icon-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.72) translateY(6px);
    filter: blur(4px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.icon-slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

.android-emoji {
    font-size: 22px;
}

.full-banner-text-group {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.full-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.full-banner-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.full-banner-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-left: 10px;
    flex-shrink: 0;
}

.full-banner-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.agreement-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f3f4f6;
  padding: 20px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.agreement-page.dark-mode {
  background-color: #0d1117;
  color: #c9d1d9;
}

.agreement-container {
  width: 100%;
  max-width: 680px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.agreement-page.dark-mode .agreement-container {
  background-color: #161b22;
  border-color: #30363d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.agreement-header {
  text-align: center;
  margin-bottom: 24px;
}

.agreement-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f3f4f6;
}

.agreement-lang-btn {
  min-width: 42px;
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.agreement-lang-btn:hover:not(.active) {
  background: #e5e7eb;
}

.agreement-lang-btn.active {
  background: #ffffff;
  color: #b45309;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}

.agreement-lang-btn:focus-visible {
  outline: 3px solid rgba(245, 158, 11, .4);
  outline-offset: 2px;
}

.agreement-page.dark-mode .agreement-lang-switch {
  border-color: #30363d;
  background: #0d1117;
}

.agreement-page.dark-mode .agreement-lang-btn {
  color: #8b949e;
}

.agreement-page.dark-mode .agreement-lang-btn:hover:not(.active) {
  background: #21262d;
}

.agreement-page.dark-mode .agreement-lang-btn.active {
  background: #30363d;
  color: #fbbf24;
}

.agreement-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.agreement-page.dark-mode .agreement-header h2 {
  color: #f0f6fc;
}

.agreement-header p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.agreement-page.dark-mode .agreement-header p {
  color: #8b949e;
}

.agreement-textbox {
  height: 320px;
  overflow-y: scroll;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.agreement-page.dark-mode .agreement-textbox {
  background-color: #0d1117;
  border-color: #30363d;
  color: #c9d1d9;
}

.agreement-textbox h3 {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: #111827;
}

.agreement-page.dark-mode .agreement-textbox h3 {
  color: #f0f6fc;
}

.agreement-date {
  font-size: 12px;
  text-align: center;
  color: #9ca3af;
  margin-bottom: 12px;
}

.agreement-textbox hr {
  border: 0;
  height: 1px;
  background-color: #e5e7eb;
  margin: 16px 0;
}

.agreement-page.dark-mode .agreement-textbox hr {
  background-color: #30363d;
}

.agreement-textbox h4 {
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 6px;
  color: #111827;
}

.agreement-page.dark-mode .agreement-textbox h4 {
  color: #f0f6fc;
}

.agreement-textbox p {
  margin-bottom: 14px;
  text-align: justify;
}

.agreement-consent-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agreement-signature-info {
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  text-align: center;
  color: #374151;
}

.agreement-page.dark-mode .agreement-signature-info {
  background-color: #21262d;
  color: #c9d1d9;
}

.agreement-scroll-warning {
  font-size: 12px;
  color: #d97706;
  font-weight: 600;
  text-align: center;
}

.agreement-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #4b5563;
  cursor: pointer;
  padding: 4px;
}

.agreement-page.dark-mode .agreement-checkbox-label {
  color: #8b949e;
}

.agreement-checkbox-label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.agreement-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ffa500;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.agreement-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #ffa500;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 6px rgba(255, 165, 0, 0.15);
}

.agreement-submit-btn:hover:not(:disabled) {
  background-color: #e69500;
}

.agreement-submit-btn:disabled {
  background-color: #9ca3af;
  color: #e5e7eb;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.agreement-page.dark-mode .agreement-submit-btn:disabled {
  background-color: #484f58;
  color: #8b949e;
}

