﻿body.auth-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0f172a;
  background:
    linear-gradient(180deg, rgba(36, 146, 242, 1) 0%, rgba(36, 146, 242, 1) 0%, rgba(0, 108, 201, 1) 83.65%),
    linear-gradient(0deg, rgba(36, 146, 242, 1), rgba(36, 146, 242, 1));
  display: flex;
  justify-content: center;
}

.auth-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-hero {
  display: flex;
  justify-content: center;
  padding-top: 10vh;
  padding-bottom: 50px;
  text-align: center;
  color: #ffffff;
}

.auth-hero__inner {
  max-width: 720px;
}

.auth-hero__title {
  margin: 0;
  font-weight: 300;
  font-size: 36px;
  line-height: 1.1;
}

.auth-content {
  width: 100%;
  max-width: 1200px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 8vw, 120px);
  padding-bottom: clamp(32px, 6vw, 96px);
  flex-wrap: wrap;
}

.auth-illustration {
  flex: 1 1 320px;
  display: flex;
  justify-content: flex-end;
}

.auth-illustration img {
  max-width: 480px;
  width: 100%;
  height: auto;
}

.auth-card-wrapper {
  flex: 1 1 360px;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: clamp(280px, 90vw, 420px);
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.auth-card__banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #1e3a8a;
  color: #ffffff;
  font-size: 13px;
}

.auth-card__banner svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.auth-card__body {
  padding: clamp(24px, 4vw, 32px);
}

.auth-card__title {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form__label {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.auth-form__input {
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5f5;
  background-color: #ffffff;
  font-size: 15px;
  color: #1e293b;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form__input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.auth-form__validation-summary {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #b91c1c;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
}

.auth-form__validation-summary:empty {
  display: none;
}

.auth-form__validation-field {
  color: #b91c1c;
  font-size: 13px;
}

.auth-form__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.auth-form__button {
  position: relative;
  height: 46px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-form__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.auth-form__button--primary {
  background-color: #2563eb;
  color: #ffffff;
}

.auth-form__button--primary:hover {
  background-color: #1d4ed8;
}

.auth-form__button--secondary {
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #1f2937;
}

.auth-form__button--secondary:hover {
  background-color: #f3f4f6;
}

.auth-form__button--accent {
  background-color: #ffa94d;
  color: #0f172a;
}

.auth-form__button--accent:hover {
  background-color: #ffc078;
}

.auth-form__button--disabled {
  cursor: not-allowed !important;
  background-color: #e5e7eb !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  transform: none !important;
}

.auth-footer {
  margin-top: auto;
  padding: 16px;
}

.auth-footer__inner {
  text-align: center;
  font-size: 14px;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-footer__inner a {
  color: inherit;
  margin-right: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-footer__inner a:hover,
.auth-footer__inner span:hover {
  color: #f8fafc;
}

@media (max-width: 1024px) {
  .auth-content {
    flex-direction: column;
    min-height: auto;
  }

  .auth-illustration {
    display: none;
  }

  .auth-card-wrapper {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .auth-main {
    padding: 0 16px;
  }

  .auth-card {
    border-radius: 20px;
  }

  .auth-card__body {
    padding: 24px;
  }

  .auth-footer__inner {
    font-size: 13px;
  }
}


