 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   text-decoration: none;
   font-family: Arial, Helvetica, sans-serif
}

/* Container + layout */
.container {
  display: flex;
  justify-content: space-around;
  min-height: calc(100vh - 48px); /* вычесть header(64 - убрад пока) + footer (48px) */
      align-items: center;
}
.welcome {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-auth-wrapper{
  display: flex;
}

@media (max-width: 768px) {
  /* 1) Контейнер превращаем в колонку и растягиваем по высоте экрана */
  .mobile-auth-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* равномерное распределение блоков */

    padding: 1rem;                  /* отступы по краям, по вкусу */
    box-sizing: border-box;
  }

  /* 2) Гарантируем, что приветствие отображается */
  .mobile-auth-wrapper .welcome {
    order: 0;                       /* первая по порядку */
    width: 100%;
    margin-bottom: 1rem;
  }

  /* 3) Форма — вторая */
  .mobile-auth-wrapper .auth-card {
    order: 1;
    width: 100%;
    /* при желании можно добавить flex: 1, чтобы растянуть форму */
  }
}

/* Карточка авторизации */
.auth-card {
  flex: 1;
  max-width: 360px;
  background: var(--clr-neutral-100);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: var(--space-5);
  margin: auto;
}
.tabs {
  display: flex;
  margin-bottom: var(--space-4);
}
 
.tab-btn {
  flex: 1;
  padding: var(--space-2) 0;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
}
.tab-btn.active {
  border-bottom: 2px solid var(--clr-primary);
}
.tab-content .tab-pane { display: none; }
.tab-content .tab-pane.active { display: block; }

 
/* Form fields */
.auth-card form label {
  display: block;
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
}
.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  width: 100%;
  padding: var(--space-2);
  margin-top: var(--space-1);
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form-footer {
  margin-top: var(--space-3);
  font-size: 0.85rem;
}
.form-footer a {
  color: var(--clr-primary);
  text-decoration: none;
}
.auth-footer {
  height: 48px;
  text-align: center;
  padding-top: var(--space-2);
  background: var(--clr-neutral-100);
  font-size: 0.8rem;
}
.lang-switch button {
  background: none;
  border: none;
  margin: 0 var(--space-1);
  cursor: pointer;
}
.lang-switch .active {
  font-weight: 600;
}
 
.name-logo {
  display: flex;
  justify-content: center;
}

img {
  margin-left: 15px;
  height: 59px;
  width: 59px;
}


