@charset "UTF-8";
/*!
 * Auth screens (sign in / register / password reset) for the CryptoPilot-style
 * redesign: split layout with a market showcase aside and a focused form card.
 */

.cp-auth { min-height: 100vh; background: var(--cp-bg); }

.cp-auth__theme {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 30;
}

.cp-auth__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 100vh;
}

/* ---------------------------------------------------------------- aside --- */
.cp-auth__aside {
  position: relative;
  overflow: hidden;
  padding: 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #eef2ff;
  background: radial-gradient(720px 320px at 88% -10%, rgb(0, 189, 134), transparent 68%), radial-gradient(520px 300px at 6% 108%, rgba(56, 189, 248, 0.32), transparent 70%), linear-gradient(150deg, #0b1220 20%, #08423d 100%);
}

.cp-auth__aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(80% 60% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}

.cp-auth__aside > * { position: relative; z-index: 1; }
.cp-auth__brand { padding: 0; color: #fff; }
.cp-auth__brand .cp-brand__name { color: #fff; }
.cp-auth__brand .cp-brand__tag { color: rgba(238, 242, 255, 0.66); }

.cp-auth__pitch { margin-top: auto; }
.cp-auth__pitch h2 {
    font-size: 33px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 15em;
}
.cp-auth__pitch h2 em { font-style: normal; background: linear-gradient(120deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cp-auth__pitch p { margin: 14px 0 0; max-width: 34em; color: rgba(226, 232, 240, 0.78); font-size: 14.5px; }

.cp-auth__stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 26px; }
.cp-auth__stat strong { display: block; font-size: 22px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.cp-auth__stat span { font-size: 12.5px; color: rgba(226, 232, 240, 0.66); }

.cp-auth__preview {
    margin-top: auto;
    border-radius: var(--cp-r-lg);
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(11, 18, 32, 0.55);
    backdrop-filter: blur(10px);
    padding: 16px;
}
.cp-auth__preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cp-auth__preview-head .cp-muted { color: rgba(226, 232, 240, 0.6); }
.cp-auth__preview-rows { display: grid; gap: 8px; }
.cp-auth__preview-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(148, 163, 184, 0.08); }
.cp-auth__preview-row b { color: #fff; }
.cp-auth__preview-row .cp-muted { color: rgba(226, 232, 240, 0.6); }

/* ----------------------------------------------------------------- form --- */
.cp-auth__form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.cp-auth__card {
    width: 100%;
    max-width: 420px;
    background: var(--cp-surface);
    border: 1px solid var(--cp-line);
    border-radius: var(--cp-r-xl);
    box-shadow: var(--cp-shadow);
    padding: 30px;
}
.cp-auth__card h1 { font-size: 25px; letter-spacing: -0.02em; }
.cp-auth__card > p { color: var(--cp-text-mute); font-size: 13.5px; margin: 6px 0 22px; }

.cp-auth__social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cp-auth__social .cp-btn { background: var(--cp-surface-2); }

.cp-auth__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--cp-text-mute);
    font-size: 12px;
}
.cp-auth__divider::before, .cp-auth__divider::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--cp-line); }

.cp-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }

.cp-auth__foot { margin-top: 22px; text-align: center; font-size: 13px; color: var(--cp-text-mute); }

.cp-auth__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cp-line);
    color: var(--cp-text-mute);
    font-size: 11.5px;
}
.cp-auth__trust span { display: inline-flex; align-items: center; gap: 6px; }

.cp-auth__demo {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: var(--cp-r);
    background: var(--cp-primary-soft);
    color: var(--cp-primary);
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cp-auth__demo b { font-family: var(--cp-mono); font-weight: 650; }

@media (max-width: 1080px) {
    .cp-auth__grid { grid-template-columns: 1fr; }
    .cp-auth__aside { display: none; }
    .cp-auth__form { min-height: 100vh; }
}
@media (max-width: 560px) {
    .cp-auth__card { padding: 22px; border-radius: var(--cp-r-lg); }
    .cp-auth__social { grid-template-columns: 1fr; }
}
