@import url('./css/variables.css');
@import url('./css/base.css');
@import url('./css/components.css');

.auth-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 100vh;
  background-color: #000000;
}

.auth-brand-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px;
  background: #050507;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #1c1c1f;
}

.auth-brand-side::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.auth-brand-content {
  max-width: 480px;
  width: 100%;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.auth-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.auth-brand-logo {
  height: 38px;
  width: auto;
  border-radius: 8px;
}

.auth-brand-logo-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-slogan {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.brand-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #a1a1aa;
  margin-bottom: 32px;
  background: #0c0d10;
  border: 1px solid #262626;
  padding: 18px 20px;
  border-radius: 16px;
}

.brand-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #0c0d10;
  border: 1px solid #262626;
  padding: 16px;
  border-radius: 14px;
  transition: transform 0.2s, border-color 0.2s;
}

.brand-feature-item:hover {
  border-color: #3f3f46;
  transform: translateX(4px);
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #141416;
  border: 1px solid #27272a;
  color: #10b981;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.feature-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: #ffffff;
}

.feature-desc {
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.5;
}

.auth-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  position: relative;
  background: #000000;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
  background: radial-gradient(circle 350px at 90% 0%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 40%, rgba(14, 15, 18, 0.98) 75%, #0c0d10 100%), #0c0d10;
  border: 1px solid #262626;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
}

.auth-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 8px;
  color: #ffffff;
}

.auth-subtitle {
  font-size: 13.5px;
  color: #a1a1aa;
  text-align: center;
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #a1a1aa;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #71717a;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: 12px;
  border: 1px solid #27272a;
  background: #09090b;
  font-size: 13.5px;
  color: #ffffff;
  transition: var(--transition-fast);
}

.auth-input:focus {
  border-color: #52525b;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.auth-input.input-error {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.field-hint {
  font-size: 11.5px;
  color: #71717a;
}

.auth-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #f87171;
  text-align: center;
  font-weight: 600;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
  border-radius: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #262626;
}

.auth-divider span {
  font-size: 12px;
  color: #71717a;
}

.auth-switch-btn {
  width: 100%;
  padding: 11px;
  font-size: 13.5px;
  border-radius: 12px;
}

.oauth-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.btn-oauth {
  width: 100%;
  height: 42px;
  font-size: 13px;
  border-radius: 12px;
  background: #141416;
  border: 1px solid #27272a;
  color: #ffffff;
  transition: all 0.2s;
}

.btn-oauth:hover {
  background: #1f1f23;
  border-color: #3f3f46;
}

@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
  }
  .auth-brand-side {
    display: none;
  }
}
