:root {
  --gold: #d9a441;
  --gold-strong: #f2c56a;
  --gold-soft: rgba(217, 164, 65, .16);
  --success: #22c55e;
  --lime: var(--gold);
  --lime-dim: #a97727;
  --buy: var(--success);
  --sell: #ef4444;
}

body {
  background: #080808;
}

input,
select,
textarea {
  background-color: #121212;
  border-color: #2e2e2e;
}

input:focus,
select:focus,
textarea:focus,
input:active,
select:active,
textarea:active {
  border-color: var(--gold);
  background: #14110b;
  box-shadow:
    0 0 0 1px #000,
    0 0 0 3px rgba(217, 164, 65, .28),
    inset 0 0 0 1px rgba(217, 164, 65, .34);
}

.auth-wrap {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(380px, 40%);
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #121212;
}

.auth-wrap:before,
.auth-wrap:after {
  content: none !important;
}

.osocio-login-info {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  min-height: 100vh;
  padding: clamp(42px, 6vw, 92px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 28%, rgba(217, 164, 65, .16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(135deg, #090909 0%, #111 52%, #080808 100%);
  background-size: auto, 64px 64px, 64px 64px, auto;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.osocio-login-copy,
.osocio-feature-grid {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.osocio-kicker {
  margin: 0 0 18px;
  color: var(--gold-strong);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.osocio-login-copy h1 {
  max-width: 660px;
  margin: 0;
  color: #fff7e8;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.7vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.osocio-description {
  max-width: 620px;
  margin: 22px 0 0;
  color: #c9c0ae;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.6;
}

.osocio-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.osocio-feature-grid article {
  min-height: 136px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(18, 18, 18, .78);
  border: 1px solid rgba(217, 164, 65, .18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28), inset 0 1px rgba(255, 255, 255, .06);
}

.osocio-feature-grid strong {
  display: block;
  margin-bottom: 10px;
  color: #f6d58a;
  font-size: 14px;
  font-weight: 800;
}

.osocio-feature-grid .osocio-feature-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(217, 164, 65, .36);
  border-radius: 7px;
  color: var(--gold-strong);
  font-size: 18px;
  line-height: 1;
}

.osocio-feature-grid span {
  display: block;
  color: #aaa397;
  font-size: 13px;
  line-height: 1.45;
}

.auth-card {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(430px, calc(100% - 48px));
  max-width: 430px;
  margin: 0;
  z-index: 2;
}

.auth-card:before {
  content: none !important;
}

.auth-card .panel {
  background: rgba(13, 13, 13, .97);
  border: 1px solid rgba(217, 164, 65, .22);
  border-radius: 18px;
  padding: 32px;
  box-shadow:
    0 32px 88px rgba(0, 0, 0, .62),
    inset 0 1px rgba(255, 255, 255, .08);
}

.osocio-card-logo {
  display: block;
  width: min(168px, 62%);
  height: auto;
  object-fit: contain;
  max-width: 100%;
  margin: 0 auto 24px;
}

.auth-card h2 {
  color: #fff7e4;
  font-size: 25px;
  line-height: 1.15;
  text-align: center;
}

.auth-card p,
.auth-switch,
.auth-links {
  color: #b9b2a7;
}

.auth-brand-bar {
  display: none !important;
  position: absolute;
  top: calc(50% - 286px);
  right: max(24px, calc(20vw - 215px));
  left: auto;
  width: min(430px, calc(40vw - 48px));
  max-width: 430px;
  justify-content: center;
  margin: 0;
  z-index: 3;
}

.auth-brand-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-brand-bar a svg,
.auth-brand-bar a > span:not(.osocio-brand-only) {
  display: none !important;
}

.auth-brand-bar a img.osocio-app-logo {
  display: none !important;
}

.auth-brand-bar a span.osocio-app-logo {
  display: block !important;
  color: #fff7e8 !important;
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: .03em !important;
  line-height: 1.1;
  text-transform: uppercase;
}

.auth-brand-bar a svg {
  display: none !important;
}

.auth-brand-bar a svg[viewBox="0 0 32 32"] > rect,
svg[viewBox="0 0 32 32"] > rect {
  fill: var(--gold) !important;
}

.auth-brand-bar a > div > span {
  color: #fff7e8 !important;
  font-family: var(--font-display);
  font-size: 21px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2;
}

.auth-brand-bar a > div > span > span {
  color: var(--gold-strong) !important;
}

.auth-brand-bar a:before {
  content: none !important;
}

.auth-brand-bar a:after {
  content: none !important;
}

.auth-brand-bar:after {
  content: none !important;
}

.auth-lang-btn {
  top: 28px;
  right: 28px;
}

.auth-card .btn-lime {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 30px rgba(217, 164, 65, .28), inset 0 1px rgba(255, 255, 255, .42);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .38);
}

.auth-card .btn-lime:hover {
  background: linear-gradient(180deg, #ffd783, #d29a36);
  color: #fff;
}

.auth-switch a,
.auth-links a,
.auth-form-row > a {
  color: var(--gold-strong);
}

.auth-switch a:hover,
.auth-links a:hover,
.auth-form-row > a:hover {
  color: #fff2cf;
}

.auth-remember {
  color: #c2c2c2;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 14px !important;
  width: 14px !important;
  min-width: 14px !important;
  height: 14px !important;
  padding: 0 !important;
  border-radius: 3px;
  border: 1px solid #51462f !important;
  background: #171717 !important;
  box-shadow: none !important;
  accent-color: var(--gold);
  cursor: pointer;
}

.auth-remember input[type="checkbox"] {
  flex-basis: 14px !important;
  margin-right: 0 !important;
}

input[type="checkbox"]:checked {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold)) !important;
  border-color: var(--gold-strong) !important;
}

input[type="checkbox"]:checked:after {
  content: "";
  display: block;
  width: 7px;
  height: 4px;
  margin: 3px 0 0 2px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.pos,
.lime,
.text-success,
.status-success {
  color: var(--success) !important;
}

.btn-buy {
  background: var(--success);
  color: #071107;
}

.btn-buy:hover {
  background: #16a34a;
}

.btn-danger,
.btn-sell {
  background: var(--sell);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: #fff4da;
}

.mono[style*="var(--lime)"],
.panel [style*="color:var(--lime)"],
.panel [style*="color: var(--lime)"] {
  color: var(--gold-strong) !important;
}

@media (max-width: 980px) {
  .auth-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #101010;
  }

  .osocio-login-info {
    min-height: auto;
    padding: 92px 22px 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .osocio-login-copy h1 {
    font-size: clamp(30px, 7vw, 40px);
  }

  .osocio-feature-grid {
    grid-template-columns: 1fr;
  }

  .osocio-feature-grid article {
    min-height: auto;
  }

  .auth-brand-bar {
    display: none !important;
    position: absolute;
    top: 30px;
    left: 22px;
    right: auto;
    width: auto;
    justify-content: flex-start;
  }

  .auth-brand-bar a span.osocio-app-logo {
    font-size: 20px !important;
  }

  .auth-card {
    width: 100%;
    max-width: 430px;
    margin: 28px auto;
  }

  .auth-card .panel {
    padding: 26px 22px;
  }

  .osocio-card-logo {
    width: min(150px, 60%);
    margin-bottom: 20px;
  }
}

.auth-remember {
  display: inline-flex;
  align-items: center;
}

.auth-remember input[type="checkbox"] {
  vertical-align: middle;
}
