﻿:root {
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  color: #253448;
  background: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body.sn-auth-page {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.sn-auth-card {
  width: min(100%, 440px);
  padding: 34px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(29, 52, 76, .07);
}

.sn-auth-brand {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  color: #52708c;
}

.sn-auth-card h1 {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.sn-auth-desc {
  margin: 0 0 26px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.sn-auth-card form {
  display: grid;
  gap: 16px;
}

.sn-auth-field {
  display: grid;
  gap: 8px;
}

.sn-auth-field label {
  font-size: 13px;
  font-weight: 650;
}

.sn-auth-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 13px;
  outline: none;
  color: #253448;
  background: white;
  font: inherit;
  font-size: 14px;
}

.sn-auth-field input:focus {
  border-color: #527a9c;
  box-shadow: 0 0 0 3px rgba(82, 122, 156, .12);
}

.sn-auth-submit {
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  background: #294b68;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.sn-auth-submit:disabled {
  opacity: .55;
  cursor: wait;
}

.sn-auth-message {
  margin-top: 18px;
  padding: 12px;
  background: #f0f5fa;
  border-radius: 9px;
  color: #294b68;
  font-size: 13px;
  line-height: 1.6;
}

.sn-auth-message[hidden],
[hidden] {
  display: none !important;
}

.sn-auth-message.error {
  background: #fff1f2;
  color: #9f1239;
}

.sn-auth-back {
  display: inline-block;
  margin-top: 24px;
  color: #466782;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sn-auth-back:hover {
  text-decoration: underline;
}

.sn-forgot-link {
  display: block;
  margin: 10px 0;
  color: #355e80;
  font-size: 13px;
  text-align: right;
  text-decoration: none;
}

.sn-forgot-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .sn-auth-card {
    padding: 25px 20px;
  }
}
