/* ts:1765530526085 */
:root {
  --primary-color: #0d0d1a;
  --primary-color-light: #15152e;
  --secondary-color: #af0e2a;
  --secondary-color-lighter: #911026;
  --secondary-dash-color: #06b6d4;
  --color-muted: #ada5b4;

  --accent-color: #00ffe0;
  --font-main: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --font-heading: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto,
    Arial;
  --header-height: 80vh;
  --padding: 2rem;
  --h1-font-size: 3rem;
  --h1-font-size-tablet: 2.2rem;
  --h1-font-size-mobile: 1.8rem;
  --p-font-size: 1.3rem;
  --p-font-size-tablet: 1.1rem;
  --p-font-size-mobile: 1rem;
  --cta-padding: 0.8rem 2rem;
  --cta-border-radius: 30px;
  --transition: all 0.3s ease;
  --wave-height: 60px;
  --wave-height-tablet: 40px;
  --wave-height-mobile: 30px;
  --blur-effect: blur(8px);
  --text-color: #fff;
  --navbar-height: 60px;

  /* 🔹 اضافه‌شده‌ها برای این بخش */
  --section-bg: var(--primary-color);
  --section-overlay: linear-gradient(
    to right,
    rgba(13, 13, 26, 1) 0%,
    rgba(13, 13, 26, 0.2) 60%,
    rgba(13, 13, 26, 0) 100%
  );
  --card-bg: #ffffff;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--padding);
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background: rgba(13, 13, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav.hidden {
  transform: translateY(-100%);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--accent-color);
}

.signin-up {
  color: var(--text-color);
  text-decoration: none;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  transition: var(--transition);
}
.signin-up:hover {
  color: var(--accent-color);
  cursor: pointer;
}

nav .logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
  pointer-events: auto;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(-2px) scaleX(0.8);
}
.hamburger.active span:nth-child(2) {
  transform: scaleX(0.6);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(2px) scaleX(0.8);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  nav ul {
    position: absolute;
    top: var(--navbar-height);
    right: var(--padding);
    width: 200px;
    background: rgba(13, 13, 26, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: 1000;
  }
  nav ul.active {
    transform: translateY(0);
    opacity: 1;
  }
  nav .logo {
    font-size: 1.2rem;
  }
  nav ul li a {
    font-size: 1rem;
  }
}

header {
  position: relative;
  height: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--padding);
  color: var(--text-color);
  text-align: left;
  overflow: hidden;
}

header::before {
  content: "";
  zoom: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/download.jfif") center/cover no-repeat;
  filter: var(--blur-effect);
  z-index: -2;
}

header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(13, 13, 26, 1) 0%,
    rgba(13, 13, 26, 0.2) 60%,
    rgba(13, 13, 26, 0) 100%
  );
  z-index: -1;
}

.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: var(--wave-height);
}

.wave .shape-fill {
  fill: var(--primary-color);
}

header h1 {
  font-family: var(--font-heading);
  font-size: var(--h1-font-size);
  margin-bottom: 1rem;
}

header p {
  font-size: var(--p-font-size);
  margin-bottom: 1.5rem;
}

header .cta {
  background: var(--secondary-color);
  color: var(--text-color);
  padding: var(--cta-padding);
  border-radius: var(--cta-border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

header .cta:hover {
  background: var(--secondary-color-lighter);
  transform: translateY(-2px);
}

.content {
  padding: 100px var(--padding);
  min-height: 100vh;
}

@media (max-width: 480px) {
  header h1 {
    font-size: var(--h1-font-size-mobile);
  }
  header p {
    font-size: var(--p-font-size-mobile);
  }
  header {
    padding: 1rem;
    text-align: center;
    align-items: center;
  }
  .wave svg {
    height: var(--wave-height-mobile);
  }
}

.section-stats {
  padding: 30px 100px;
  position: relative;
  text-align: center;
}

.section-title {
  color: var(--accent-color);
  padding: 25px;
  padding-bottom: 70px;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  margin: 15px 30px;
  overflow: hidden;
  font-weight: 600;
}

.section-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/back1.jfif") center/cover no-repeat;
  filter: blur(4px);
  z-index: -2;
}

.section-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-overlay);
  z-index: -1;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  top: -25px;
  z-index: 1;
}

.card {
  background: var(--primary-color-light);
  color: white;
  padding: 20px 15px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 180px;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 38px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  transition: var(--transition);
}

.card-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
  text-align: center;
}

.card-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: auto;
  transition: var(--transition);
}

.card:hover .card-icon {
  color: var(--secondary-color-lighter);
  transform: scale(1.1);
}

.card:hover .card-number {
  color: var(--accent-color);
}

/* 💻 لپ‌تاپ (تا 1200px) */
@media (max-width: 1200px) {
  .section-stats {
    padding: 30px 70px;
  }

  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 📱 تبلت (تا 992px) */
@media (max-width: 992px) {
  .section-stats {
    padding: 25px 40px;
  }

  .cards-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-title {
    font-size: 1.6rem;
    padding: 20px;
    padding-bottom: 60px;
  }
}

/* 📱 موبایل بزرگ (تا 768px) */
@media (max-width: 768px) {
  .section-stats {
    padding: 20px 25px;
  }

  .cards-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

/* 📱 موبایل کوچک (تا 576px) */
@media (max-width: 576px) {
  .section-stats {
    padding: 15px;
  }

  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    padding: 0px 50px;
  }

  .card {
    padding: 12px 8px;
    min-height: 160px;
    width: 150px;
  }

  .card-icon {
    font-size: 34px;
  }

  .card-number {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.4rem;
    padding: 20px;
    padding-bottom: 60px;
    margin: 8px;
  }
}
@media (max-width: 430px) {
  .section-stats {
    padding: 15px;
  }

  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-items: center;
    padding: 0px 10px;
  }
}
/* 🔹 ساختار کلی */
.info-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 2rem;
  gap: 2rem;
  background: var(--primary-color);
  color: var(--text-color);
  font-family: var(--font-main);
}

/* 🔹 بخش متن */
.info-text {
  flex: 1;
  padding-left: 1rem;
}

.info-text h2 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  position: relative;
}

.info-text h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 90px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 4px;
  animation: lineExpand 2s infinite alternate;
}

@keyframes lineExpand {
  0% {
    width: 50px;
    opacity: 0.6;
  }
  100% {
    width: 120px;
    opacity: 1;
  }
}

/* 🔹 لیست نکات */
.info-points {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  list-style: none;
  padding: 0;
}

.info-points li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 1rem;
  transition: var(--transition);
  transform: translateX(0);
}

.info-points li:hover {
  color: #fff;
  transform: translateX(-8px);
}

.info-points li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: radial-gradient(
    circle,
    var(--accent-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent-color);
  transition: var(--transition);
}

.info-points li:hover::before {
  box-shadow: 0 0 15px var(--accent-color);
  transform: scale(1.3);
}

/* 🔹 کارت‌ها */
.info-cards {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  background: var(--primary-color-light);
}

.card-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--primary-color-light);
  color: var(--primary-color);
  box-sizing: border-box;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: right;
}

.card-info.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.card-info.prev {
  opacity: 0;
  transform: translateX(100%);
  z-index: 1;
}

/* عنوان و توضیحات کارت */
.card-info h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-info .underline {
  width: 70px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

.card-info p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.card-info .info-box {
  background: var(--primary-color);
  border-radius: 12px;
  padding: 1rem;
  color: #ddd;
  margin-top: 30px;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* 🔹 نقطه‌های ناوبری */
.dots {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #666;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--secondary-color);
  transform: scale(1.3);
}

/* 🔹 ریسپانسیو */
@media (max-width: 768px) {
  .info-section {
    /* flex-direction: column; */
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .info-text {
    padding: 0;
  }

  .cards-wrapper {
    width: 350px;
  }

  .card-info {
    padding: 1.2rem;
  }

  .card-info h3 {
    font-size: 1.2rem;
  }

  .card-info p {
    font-size: 0.9rem;
  }
}
@media (max-width: 700px) {
  .info-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
}
/* فوتر متناسب با متغیرهای شما */
.site-footer {
  /* background: linear-gradient(
    180deg,
    rgba(7, 7, 14, 1) 0%,
    rgba(13, 13, 26, 1) 100%
  ); */
  color: var(--text-color);
  position: relative;
  padding-top: 0; /* موج بالا جایگزین padding-top است */
  margin-top: 60px;
  overflow: hidden;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--padding) 32px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.85);
  margin: 8px 0 16px;
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 420px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social a:hover {
  transform: translateY(-4px);
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
}

.footer-col h4 {
  color: var(--accent-color);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.links a:hover {
  color: var(--accent-color);
}

.contact .muted {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.newsletter {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.newsletter input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  outline: none;
  font-size: 0.95rem;
}
.newsletter .btn-primary {
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--secondary-color-lighter)
  );
  color: var(--text-color);
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.15s;
}
.newsletter .btn-primary:hover {
  transform: translateY(-3px);
}

.contact-info {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.footer-bottom .legal {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-left: 12px;
  font-size: 0.9rem;
}
.footer-bottom .legal:hover {
  color: var(--accent-color);
}

/* back to top */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--secondary-color),
    var(--secondary-color-lighter)
  );
  border: none;
  color: var(--text-color);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.15s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* small screens */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-desc {
    max-width: none;
  }
  #back-to-top {
    right: 12px;
    bottom: 14px;
  }
}
/* سکشن ورزش‌ها */
.section-sports {
  position: relative;
  text-align: center;
  padding: 80px 50px 60px;
  background: linear-gradient(to bottom, #0d0d1a, #1a1a2e);
  overflow: hidden;
}

.section-sports .section-sport-title {
  color: var(--accent-color);
  font-size: 1.6rem;
  margin-bottom: 40px;
  font-weight: 600;
}

/* گرید کارت‌ها */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 15px;
  margin: 5px 200px;
  justify-items: center;
}

.sport-card {
  background: #25254f;
  border-radius: 16px;
  padding: 18px 12px;
  width: 160px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.sport-card:hover {
  background: #7070ac;
  transform: translateY(-6px);
}

.sport-icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.sport-name {
  font-size: 1rem;
  font-weight: 500;
}

/* دکمه شروع به کار */
.start-btn {
  margin-top: 50px;
  background: #911026;
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.start-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

/* 🎯 ریسپانسیو */

/* لپ‌تاپ و تبلت بزرگ (تا 1200px) */
@media (max-width: 1200px) {
  .section-sports {
    padding: 70px 40px;
  }

  .sports-grid {
    margin: 5px 20px;
  }
  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 0 100px;
  }
  .sport-card {
    width: 150px;
  }
}

/* تبلت معمولی (تا 992px) */
@media (max-width: 992px) {
  .section-sports {
    padding: 60px 30px;
  }

  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 0 60px;
  }

  .sport-card {
    width: 140px;
    padding: 16px 10px;
  }

  .section-sports .section-sport-title {
    font-size: 1.5rem;
  }
}

/* موبایل افقی (تا 768px) */
@media (max-width: 768px) {
  .section-sports {
    padding: 50px 20px;
  }

  .sports-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 60px;
  }

  .sport-card {
    width: 130px;
    padding: 14px 8px;
  }

  .sport-icon {
    font-size: 1.8rem;
  }

  .section-sports .section-sport-title {
    font-size: 1.4rem;
  }
}

/* موبایل عمودی (تا 604px) */
@media (max-width: 604px) {
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 60px;
  }
}

/* موبایل عمودی کوچک (تا 480px) */
@media (max-width: 480px) {
  .section-sports {
    padding: 40px 10px;
  }

  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 50px;
  }

  .sport-card {
    width: 120px;
    padding: 12px 6px;
  }

  .sport-name {
    font-size: 0.85rem;
  }

  .sport-icon {
    font-size: 1.6rem;
  }

  .section-sports .section-sport-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .start-btn {
    padding: 10px 25px;
    font-size: 0.85rem;
  }
}

/* موبایل خیلی کوچک (تا 330px) */
@media (max-width: 330px) {
  .sports-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin: 0 10px;
  }
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 4000;
}

.login {
  position: relative;
  background: rgb(0 0 0 / 10%);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 48px 32px 36px;
  width: 340px;
  border: 2px solid rgb(255 255 255 / 10%);
  text-align: center;
  animation: fadeIn 0.4s ease;
  z-index: 11;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 12px;
  left: 16px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #fff;
}

.switch-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}

.switch-buttons button {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.3s;
}

.switch-buttons button.active {
  background: var(--secondary-dash-color);
  color: white;
}

.login h2 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 500;
}

.login h3 {
  color: var(--color-muted);
  font-size: 13px;
  margin: 0 0 32px;
  font-weight: 400;
}

.login form {
  display: grid;
  gap: 12px;
  width: 100%;
  /* margin: 0 0 20px; */
}

.textbox {
  position: relative;
}

.textbox label {
  position: absolute;
  top: 50%;
  right: 12px;
  translate: 0 -50%;
  transform-origin: right;
  pointer-events: none;
  color: var(--color-muted);
  transition: 0.3s;
}

.textbox input {
  width: 100%;
  height: 48px;
  padding-right: 12px;
  background: rgb(255 255 255 / 4%);
  border-radius: 6px;
  border: 0;
  color: inherit;
  direction: rtl;
  outline: none;
}

.textbox input:focus {
  box-shadow: 0 0 0 2px var(--secondary-dash-color);
}

.textbox input:is(:focus, :not(:placeholder-shown)) ~ label {
  scale: 0.8;
  translate: 0 -110%;
}


.login button.submit {
  color: #f9f9f9;
  background: var(--secondary-dash-color);
  height: 48px;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.login button.submit:hover {
  opacity: 0.9;
}

.login a {
  font-size: 14px;
  color: var(--secondary-dash-color);
  cursor: pointer;
}

.login p {
  margin: 24px 0 0;
  font-size: 14px;
  color: var(--color-muted);
}
