/* =====================================================================
   COMMON.CSS — shared across all pages (base tokens, header chrome, nav,
   auth modal, cart button, responsive nav fixes, unified page-title
   typography, footer). Loaded BEFORE each page's own stylesheet.
   ===================================================================== */

:root {
  --green: #2f7839;
  --green-dark: #176026;
  --cream: #fff8ec;
  --cream-soft: #fbefd9;
  --line: #e4d6bf;
  --text: #050505;
  --muted: #34302a;
  --shadow: 0 24px 56px rgba(79, 53, 21, 0.13);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(circle at 78% 8%, rgba(255, 231, 176, 0.36), transparent 34%),
    linear-gradient(135deg, #fffefa, #f6ead5);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1710px, calc(100% - 28px));
  min-height: calc(100vh - 28px);
  margin: 14px auto;
  padding: 28px 70px 24px;
  position: relative;
  overflow: hidden;
  border: 1.8px solid #050505;
  border-radius: 48px;
  background: radial-gradient(circle at 73% 37%, rgba(229, 211, 166, 0.48), transparent 25%),
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(250, 239, 219, 0.95));
  box-shadow: var(--shadow);
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo {
  width: 190px;
  height: 58px;
  padding: 7px 14px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 14px;
  background: #050505;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: -0.7px;
  text-transform: uppercase;
  box-shadow: inset 0 -7px 14px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.16);
}

.logo span {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.logo span::before {
  content: '';
  position: absolute;
  z-index: -1;
  background: #176026;
  border-radius: 2px;
}

.logo span:first-child::before {
  left: 0px; 
  top: -2px;
  width: 24px;
  height: 20px;
}

.logo span:nth-child(2)::before {
  left: 0px;
  top: -2px;
  width: 18px;
  height: 20px;
}
.logo_help {
  margin-top: 5px;
  margin-left: 30px;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.nav-link {
  height: 58px;
  min-width: 128px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 250, 241, 0.82);
  font-size: 18px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(75, 49, 18, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-link i {
  font-size: 21px;
}
.nav-link.active {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.9);
}
.nav-link:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 120, 57, 0.38);
  box-shadow: 0 15px 24px rgba(75, 49, 18, 0.09);
}

.telegram-btn {
  height: 60px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 22px rgba(34, 97, 43, 0.18);
}
.telegram-btn i {
  font-size: 28px;
}


body.auth-modal-open { overflow: hidden; }

.auth-widget {
  position: relative;
  z-index: 50;
}

.auth-main-btn {
  height: 60px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  color: #fff;
  font: inherit;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 22px rgba(34, 97, 43, .18);
}

.auth-main-btn i {
  font-size: 24px;
}

.auth-main-btn.logged-in {
  background: linear-gradient(145deg, #202020, #070707);
}

.profile-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 265px;
  padding: 12px;
  border: 1px solid rgba(229, 214, 188, .78);
  border-radius: 22px;
  background: rgba(255, 250, 241, .96);
  box-shadow: 0 24px 48px rgba(44, 31, 12, .16);
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.profile-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.profile-menu::before {
  content: "";
  position: absolute;
  right: 26px;
  top: -8px;
  width: 16px;
  height: 16px;
  background: rgba(255, 250, 241, .96);
  border-left: 1px solid rgba(229, 214, 188, .78);
  border-top: 1px solid rgba(229, 214, 188, .78);
  transform: rotate(45deg);
}

.profile-menu-item {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #121212;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.profile-menu-item:hover {
  background: rgba(47, 120, 57, .08);
  color: var(--green-dark);
}

.profile-menu-item i {
  color: var(--green-dark);
  font-size: 18px;
}

.profile-menu-item b {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(47, 120, 57, .12);
  color: var(--green-dark);
  font-size: 12px;
}

.logout-item {
  margin-top: 8px;
  color: #b42318;
  border-top: 1px solid rgba(229, 214, 188, .78);
  border-radius: 0 0 14px 14px;
}

.logout-item i {
  color: #b42318;
}

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
}

.auth-modal.open {
  display: block;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .66);
  backdrop-filter: blur(5px);
}

.auth-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 36px));
  transform: translate(-50%, -50%);
  padding: 38px;
  border: 1px solid rgba(229, 214, 188, .78);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.86), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255, 245, 231, .98));
  box-shadow: 0 44px 110px rgba(0,0,0,.30);
}

.auth-close {
  position: absolute;
  right: 24px;
  top: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 214, 188, .75);
  border-radius: 50%;
  background: rgba(255,255,255,.44);
  color: #222;
  font-size: 22px;
  cursor: pointer;
}

.auth-card-head {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
}

.auth-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  font-size: 30px;
  box-shadow: 0 14px 22px rgba(34, 97, 43, .18);
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -1px;
  font-weight: 900;
}

.auth-card p {
  margin: 0;
  color: #2e2a25;
  font-size: 15px;
  line-height: 1.42;
  font-weight: 500;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(47, 120, 57, .08);
}

.auth-tab {
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #1d1d1d;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.auth-tab.active {
  color: #fff;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #171717;
  font-size: 14px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(229, 214, 188, .95);
  border-radius: 16px;
  background: rgba(255,255,255,.56);
  color: #111;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(47, 120, 57, .46);
  box-shadow: 0 0 0 4px rgba(47, 120, 57, .10);
}

.auth-submit {
  height: 62px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(145deg, #36a447, #17702a);
  color: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 24px rgba(34, 97, 43, .18);
}

.auth-note {
  margin-top: 18px !important;
  color: rgba(46,42,37,.78) !important;
  font-size: 13px !important;
}


/* Header cart button */
.header-actions {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-cart-btn {
  height: 60px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(47, 120, 57, .20);
  border-radius: 16px;
  background: rgba(47, 120, 57, .09);
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(75, 49, 18, .04);
}

.header-cart-btn i {
  font-size: 21px;
}

.header-cart-btn b {
  min-width: 25px;
  height: 25px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1366px) {
  .header-cart-btn {
    height: 54px;
    padding: 0 17px;
    font-size: 15px;
  }
}

@media (max-width: 1180px) {
  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .header-actions {
    gap: 8px;
  }

  .header-cart-btn {
    height: 46px;
    padding: 0 13px;
    font-size: 0;
    border-radius: 14px;
  }

  .header-cart-btn i {
    font-size: 18px;
  }

  .header-cart-btn span {
    display: none;
  }

  .header-cart-btn b {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 7px;
  }

  .header-cart-btn {
    height: 44px;
    padding: 0 11px;
  }
}


@media (max-width: 480px) {
  .logo {
    width: 146px;
    height: 48px;
    font-size: 13px;
  }
}

/* === WW FINAL NAVIGATION FIX === */
/* Логотип не меняем. Исправляем только компоновку шапки. */

@media (min-width: 901px) {
  .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .logo {
    flex: 0 0 auto !important;
  }

  .nav {
    order: 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(5px, .55vw, 12px) !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .nav-link {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 clamp(8px, .72vw, 14px) !important;
    gap: 7px !important;
    border-radius: 13px !important;
    white-space: nowrap !important;
    font-size: clamp(12px, .78vw, 14px) !important;
    line-height: 1 !important;
  }

  .nav-link i {
    font-size: clamp(15px, .9vw, 17px) !important;
  }

  .header-actions {
    order: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-left: 0 !important;
  }

  .header-cart-btn,
  .auth-main-btn {
    height: 46px !important;
    padding: 0 clamp(10px, .72vw, 14px) !important;
    border-radius: 14px !important;
    font-size: clamp(12px, .78vw, 14px) !important;
    white-space: nowrap !important;
  }

  .header-cart-btn i,
  .auth-main-btn i {
    font-size: 17px !important;
  }

  .header-cart-btn b {
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
  }
}

/* Узкий ноутбук: прячем только подпись кнопок справа, меню остаётся одной строкой */
@media (max-width: 1120px) and (min-width: 901px) {
  .page-shell {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .topbar {
    gap: 9px !important;
  }

  .nav {
    gap: 4px !important;
  }

  .nav-link {
    height: 44px !important;
    padding: 0 8px !important;
    font-size: 11.8px !important;
    gap: 6px !important;
  }

  .nav-link i {
    font-size: 15px !important;
  }

  .header-cart-btn,
  .auth-main-btn {
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .header-cart-btn span,
  .auth-main-btn span {
    display: none !important;
  }

  .header-cart-btn b {
    position: absolute !important;
    right: -5px !important;
    top: -5px !important;
  }
}

/* Планшет/телефон: меню отдельной строкой и горизонтальный скролл */
@media (max-width: 900px) {
  .topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px 16px !important;
  }

  .header-actions {
    order: 2 !important;
    margin-left: auto !important;
  }

  .nav {
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 2px 0 8px !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-link {
    flex: 0 0 auto !important;
    height: 44px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 12px, 680px) !important;
    margin: 6px auto !important;
    padding: 16px 14px 28px !important;
    border-radius: 24px !important;
  }

  .header-cart-btn,
  .auth-main-btn {
    height: 44px !important;
    padding: 0 11px !important;
    font-size: 0 !important;
  }

  .header-cart-btn span,
  .auth-main-btn span {
    display: none !important;
  }

  .profile-menu {
    right: -4px !important;
    width: min(270px, calc(100vw - 28px)) !important;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 14px 12px 26px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
  }
}

/* === WW FINAL INNER PAGES HERO FIX === */
@media (max-width: 1440px) and (min-width: 901px) {
  .services-page .services-hero,
  .contact-page .contacts-hero,
  .reviews-page .reviews-hero {
    grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr) !important;
    min-height: 470px !important;
    gap: 16px !important;
  }

  .services-page .services-visual,
  .contact-page .contacts-visual,
  .reviews-page .reviews-visual {
    min-height: 440px !important;
  }

  .services-page .services-character,
  .contact-page .contact-character,
  .reviews-page .reviews-character {
    height: 410px !important;
    right: 0 !important;
    bottom: 0 !important;
    max-width: none !important;
  }

  .services-page .hero-orbit,
  .contact-page .hero-orbit,
  .reviews-page .hero-orbit {
    width: 455px !important;
    height: 340px !important;
    right: 0 !important;
    top: 48px !important;
  }

  .reviews-page .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 15px !important;
  }

  .rules-page .rules-hero,
  .profile-page .profile-hero {
    grid-template-columns: minmax(0, .96fr) minmax(360px, 1.04fr) !important;
    min-height: 410px !important;
  }

  .rules-page .rules-character {
    height: 385px !important;
    right: 34px !important;
  }

  .profile-page .profile-character {
    height: 360px !important;
    right: 46px !important;
  }

  .payment-page .payment-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr) !important;
    gap: 22px !important;
  }

  .payment-page .method-card {
    grid-template-columns: 165px minmax(0, 1fr) 38px !important;
  }
}

@media (max-width: 900px) {
  .services-page .services-hero,
  .contact-page .contacts-hero,
  .reviews-page .reviews-hero,
  .rules-page .rules-hero,
  .profile-page .profile-hero,
  .payment-page .payment-layout {
    grid-template-columns: 1fr !important;
  }

  .reviews-page .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  .reviews-page .screens-grid {
    grid-template-columns: 1fr !important;
  }
}



/* === UNIFIED TYPOGRAPHY: single title & lead scale across all inner pages === */
.services-copy h1, .rules-copy h1, .page-hero h1, .reviews-copy h1,
.contacts-copy h1, .payment-head h1, .profile-copy h1 {
  font-size: clamp(44px, 7vw, 92px) !important;
  line-height: .94 !important;
  letter-spacing: -2.5px !important;
}
.services-copy p, .rules-copy p, .page-hero p, .reviews-copy p,
.contacts-copy p, .payment-head p, .profile-copy p {
  font-size: 20px !important;
  line-height: 1.5 !important;
}

/* === SITE FOOTER === */
.site-footer {
  position: relative;
  z-index: 5;
  margin-top: 34px;
  padding: 46px 46px 30px;
  border-radius: 32px;
  background: linear-gradient(160deg, #141414, #0a0a0a);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .22);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-col h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-brand i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  color: #fff;
  font-size: 22px;
}

.footer-brand strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.footer-brand span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.footer-about p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 450;
  max-width: 340px;
}

.footer-tg {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  font-weight: 600;
}

.footer-tg i {
  color: var(--green, #2f7839);
  font-size: 18px;
}

.footer-entity {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

.footer-entity span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .5);
}

.footer-entity strong {
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  letter-spacing: .2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 500;
  transition: color .15s ease;
}

.footer-links a:last-child {
  border-bottom: 0;
}

.footer-links a:hover {
  color: var(--green, #2f7839);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  color: rgba(255, 255, 255, .58);
  font-size: 13.5px;
  line-height: 1.45;
}

.footer-legal i {
  flex: 0 0 auto;
  color: var(--green, #2f7839);
  font-size: 18px;
}

.footer-copy {
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 30px 20px 24px;
    border-radius: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.auth-forgot { display:inline-block; margin:-4px 0 8px; color:#4d6b5a; font-weight:700; font-size:14px; text-decoration:none; }
.auth-forgot:hover { text-decoration:underline; }
.auth-consent { display:flex !important; align-items:flex-start; gap:10px; font-size:13px; line-height:1.45; color:#5d625f; }
.auth-consent input[type="checkbox"] { flex:0 0 auto; width:18px; height:18px; margin-top:1px; accent-color:#17834f; }
.auth-consent a { color:#176c45; font-weight:800; }

/* 2026-07: neutral auth controls; prevent random green active/autofill states */
.auth-main-btn,
.auth-main-btn:hover,
.auth-main-btn:focus,
.auth-main-btn:active,
.auth-main-btn.logged-in {
  color: #fff;
  background: linear-gradient(145deg, #252525, #050505);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 14px 22px rgba(0,0,0,.18);
}

.auth-icon {
  background: linear-gradient(145deg, #2a2a2a, #080808);
  box-shadow: 0 14px 22px rgba(0,0,0,.18);
}

.auth-tabs {
  background: rgba(0, 0, 0, .06);
}

.auth-tab,
.auth-tab:hover,
.auth-tab:focus,
.auth-tab:active {
  color: #1d1d1d;
  background: transparent;
}

.auth-tab.active,
.auth-tab.active:hover,
.auth-tab.active:focus,
.auth-tab.active:active {
  color: #fff;
  background: linear-gradient(145deg, #262626, #070707);
}

.auth-submit,
.auth-submit:hover,
.auth-submit:focus,
.auth-submit:active {
  color: #fff;
  background: linear-gradient(145deg, #252525, #050505);
  box-shadow: 0 16px 24px rgba(0,0,0,.20);
}

.auth-form input:focus {
  border-color: rgba(0, 0, 0, .34);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .07);
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus,
.auth-form input:-webkit-autofill:active {
  -webkit-text-fill-color: #111 !important;
  caret-color: #111;
  box-shadow: 0 0 0 1000px #fffaf2 inset !important;
  transition: background-color 9999s ease-out 0s;
}
