
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', system-ui, sans-serif;
  background: linear-gradient(145deg, #f0f5eb 0%, #e2e9da 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

/* ===== Карточка ===== */
.auth-card {
  max-width: 480px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 48px 48px 36px 36px;
  box-shadow: 0 30px 60px -12px rgba(110, 130, 90, 0.18),
              0 8px 24px rgba(110, 130, 90, 0.06);
  padding: 2.2rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.brand-head {
  text-align: center;
  border-bottom: 1px solid #e0e8d8;
  padding-bottom: 1.2rem;
  margin-bottom: 1.6rem;
}

.company-name {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #5a6e4a;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.spa-icon {
  display: inline-block;
  margin-right: 0.3rem;
  font-size: 1.2rem;
  color: #8aa07a;
  opacity: 0.7;
}

.company-mission {
  font-size: 0.95rem;
  color: #7a8f6a;
  background: #ecf2e6;
  display: inline-block;
  padding: 0.2rem 1.6rem;
  border-radius: 40px;
  margin-top: 0.3rem;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* КАРТИНКА */
.auth-image {
  width: 100%;
  margin-bottom: 1.6rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(90, 110, 74, 0.12);
}

.auth-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.auth-image img:hover {
  transform: scale(1.02);
}

/* блок */
.auth-motivation {
  background: #f2f7ed;
  border-radius: 24px;
  padding: 0.9rem 1.4rem;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5a6e4a;
  border: 1px solid #dce6d4;
  text-align: center;
}

.auth-motivation strong {
  color: #435a35;
  font-weight: 600;
}

/* Заголовок */
.auth-title {
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #435a35;
  text-align: center;
  border-bottom: 2px solid #dce6d4;
  padding-bottom: 0.6rem;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
}

/* Форма*/
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.input-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #5a6e4a;
  letter-spacing: 0.2px;
  margin-left: 0.2rem;
}

.input-group input {
  background: #f8fbf6;
  border: 1px solid #d2dec8;
  border-radius: 60px;
  padding: 0.9rem 1.4rem;
  font-size: 1rem;
  color: #3d4f30;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}

.input-group input:focus {
  border-color: #a0b890;
  box-shadow: 0 0 0 4px rgba(160, 184, 144, 0.25);
  background: #ffffff;
}

.input-group input::placeholder {
  color: #a8b99a;
  font-weight: 300;
}

/* Чекбокс */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.1rem 0 0.1rem 0.1rem;
}

.checkbox-group input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #8aa07a;
  border-radius: 4px;
  border: 1px solid #c4d2b8;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.95rem;
  color: #5a6e4a;
  cursor: pointer;
  font-weight: 400;
}

/* Кнопки и ссылки */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.btn-primary {
  background: #8aa07a;
  border: none;
  border-radius: 60px;
  padding: 0.95rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  box-shadow: 0 6px 16px rgba(110, 140, 90, 0.20);
  border: 1px solid #7a906a;
}

.btn-primary:hover {
  background: #7a906a;
  transform: scale(1.01);
  box-shadow: 0 10px 24px rgba(100, 130, 80, 0.25);
}

.btn-primary:active {
  transform: scale(0.97);
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  font-size: 0.95rem;
}

.link-row a {
  color: #7a8f6a;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #c8d6bc;
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.link-row a:hover {
  color: #5a6e4a;
  border-bottom: 1px solid #7a8f6a;
}

/* контакты */
.contact-footer {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dce6d4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  color: #5a6e4a;
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #7a8f6a;
  background: #ecf2e6;
  padding: 0.1rem 1.4rem;
  border-radius: 40px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  font-style: normal;
}

.contact-details a,
.contact-details span {
  color: #5a6e4a;
  text-decoration: none;
  border-bottom: 1px dotted #c4d2b8;
  padding-bottom: 0.05rem;
  transition: border-color 0.2s, color 0.2s;
}

.contact-details a:hover {
  border-bottom: 1px solid #7a8f6a;
  color: #435a35;
}

.work-time {
  font-size: 0.7rem;
  color: #8aa07a;
  letter-spacing: 0.3px;
  margin-top: 0.2rem;
}

/* Адаптивность*/

/* Планшеты и маленькие десктопы */
@media (max-width: 600px) {
  .auth-card {
    padding: 1.8rem 1.5rem;
    border-radius: 32px 32px 28px 28px;
  }

  .company-name {
    font-size: 1.8rem;
  }

  .auth-title {
    font-size: 1.6rem;
    letter-spacing: 1.8px;
  }

  .contact-details {
    gap: 0.4rem 1rem;
  }

  .auth-image {
    border-radius: 18px;
    margin-bottom: 1.2rem;
  }
}

/* Мобильные телефоны */
@media (max-width: 420px) {
  body {
    padding: 0.8rem;
  }

  .auth-card {
    padding: 1.4rem 1rem;
    border-radius: 28px;
  }

  .company-name {
    font-size: 1.5rem;
  }

  .company-mission {
    font-size: 0.8rem;
    padding: 0.1rem 1rem;
  }

  .auth-image {
    border-radius: 14px;
    margin-bottom: 1rem;
  }

  .auth-motivation {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
  }

  .auth-title {
    font-size: 1.3rem;
    letter-spacing: 1.2px;
    padding-bottom: 0.4rem;
    margin-bottom: 1.2rem;
  }

  .input-group input {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
  }

  .btn-primary {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .link-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.3rem;
  }

  .contact-details {
    flex-direction: column;
    gap: 0.3rem;
  }

  .contact-footer {
    margin-top: 1.6rem;
    padding-top: 1rem;
  }

  .checkbox-group label {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .auth-card {
    max-width: 520px;
    padding: 2.6rem 2.8rem 2rem;
  }

  .company-name {
    font-size: 2.5rem;
  }

  .auth-title {
    font-size: 2.1rem;
  }

  .auth-image {
    border-radius: 28px;
  }
}