* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    color: #17202a;
    background: #f1f5f9;
}

a {
    color: inherit;
}

.soon-page {
    color: #fff;
    background:
        linear-gradient(120deg, rgba(11, 18, 32, .86), rgba(185, 35, 64, .74)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23d9e4ee'/%3E%3Cg opacity='.32' fill='%2323344d'%3E%3Crect x='80' y='92' width='430' height='265' rx='20'/%3E%3Crect x='130' y='420' width='300' height='42' rx='8'/%3E%3Crect x='470' y='415' width='580' height='56' rx='12'/%3E%3Ccircle cx='910' cy='185' r='94'/%3E%3C/g%3E%3Cg opacity='.22' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M0 640 C240 560 370 750 610 650 S1000 500 1200 610'/%3E%3Cpath d='M0 710 C240 640 390 780 650 705 S990 620 1200 720'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.soon-shell {
    width: min(1120px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.soon-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.soon-brand,
.login-link,
.primary-link {
    text-decoration: none;
    font-weight: 650;
}

.soon-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
}

.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: #111827;
    border: 3px solid #ff557a;
    font-size: 14px;
    font-weight: 700;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-link {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.soon-hero {
    width: min(760px, 100%);
    margin: auto 0;
    padding: 72px 0;
}

.soon-kicker {
    margin: 0 0 14px;
    font-weight: 650;
    color: #ffd7df;
    text-transform: uppercase;
}

.soon-hero h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 1;
    letter-spacing: 0;
}

.soon-copy {
    width: min(630px, 100%);
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.7;
}

.soon-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    color: rgba(255, 255, 255, .68);
    font-weight: 500;
}

.primary-link {
    padding: 13px 22px;
    border-radius: 999px;
    color: #111827;
    background: #fff;
}

.secondary-link {
    padding: 13px 20px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
    font-weight: 650;
}

.soon-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-bottom: 28px;
}

.soon-strip article {
    min-height: 96px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
}

.soon-strip strong,
.soon-strip span {
    display: block;
}

.soon-strip span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .72);
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 18px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 85, 122, .13), transparent 28%),
        radial-gradient(circle at 82% 22%, rgba(58, 108, 214, .22), transparent 18rem),
        radial-gradient(circle at 16% 80%, rgba(18, 184, 134, .12), transparent 16rem),
        linear-gradient(155deg, #0d1423, #1a2432 55%, #111827);
    overflow-x: hidden;
}

.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .55), transparent 82%);
}

.auth-shell {
    width: min(350px, 100%);
}

.auth-card {
    position: relative;
    padding: 22px 20px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(18, 27, 43, .93), rgba(15, 23, 42, .88));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(18px);
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 34%, rgba(255, 85, 122, .08));
}

.back-link {
    position: absolute;
    top: 16px;
    left: 18px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    z-index: 1;
}

.back-link:hover {
    color: #fff;
}

.auth-brand {
    position: relative;
    z-index: 1;
    padding: 10px 0 18px;
    text-align: center;
}

.signup-page {
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 90, 127, .22), transparent 18rem),
        radial-gradient(circle at 86% 16%, rgba(92, 124, 250, .24), transparent 18rem),
        linear-gradient(145deg, #0f172a, #182235 58%, #111827);
}

.signup-shell {
    width: min(980px, 100%);
    min-height: calc(100vh - 48px);
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.signup-panel {
    position: relative;
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    color: #fff;
    background: rgba(15, 23, 42, .88);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}

.signup-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-left: 76px;
}

.signup-head p {
    margin: 0 0 4px;
    color: #ff9ab3;
    font-weight: 500;
    text-transform: uppercase;
}

.signup-head h1 {
    margin: 0;
    font-size: 32px;
}

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

.signup-grid label {
    display: grid;
    gap: 6px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.signup-grid input,
.signup-grid textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(203, 213, 225, .28);
    border-radius: 9px;
    padding: 10px 12px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font: inherit;
}

.signup-grid textarea {
    resize: vertical;
}

.signup-grid .span-2 {
    grid-column: 1 / -1;
}

.signup-panel form > button {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #ff5a7f, #5c7cfa);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.form-alert {
    margin-bottom: 14px;
    padding: 11px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 9px;
    color: #14532d;
    background: #f0fdf4;
}

.form-alert.danger {
    border-color: #fecaca;
    color: #7f1d1d;
    background: #fef2f2;
}

.signup-page {
    background:
        radial-gradient(circle at 12% 10%, rgba(92, 124, 250, .08), transparent 18rem),
        radial-gradient(circle at 90% 8%, rgba(255, 90, 127, .06), transparent 18rem),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.light-signup {
    width: min(980px, 100%);
}

.light-signup .signup-panel {
    padding: 0;
    color: #172033;
    background: #fff;
    border-color: #e2e8f0;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(15, 23, 42, .08);
}

.signup-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fbff;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    z-index: 2;
}

.signup-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.signup-back svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signup-login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 13px;
    border: 1px solid #d8e2f1;
    border-radius: 999px;
    color: #26354f;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.signup-login-link:hover {
    color: #fff;
    border-color: #4051b5;
    background: #4051b5;
}

.signup-back:hover {
    color: #111827;
}

.signup-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .82fr);
    gap: 0;
    align-items: stretch;
}

.signup-form-card {
    padding: 24px 28px 22px;
    background: #fff;
}

.light-signup .signup-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin: 0 0 16px auto;
    max-width: calc(100% - 190px);
    transform: translateX(8px);
    padding-left: 0;
    color: inherit;
    text-decoration: none;
}

.light-signup .signup-head p {
    color: #5c7cfa;
    font-size: 11px;
}

.light-signup .signup-head h1 {
    color: #0f172a;
    font-size: 22px;
}

.light-signup .signup-grid {
    gap: 8px 12px;
}

.light-signup .signup-grid label {
    position: relative;
    min-width: 0;
    color: #b8bed0;
    font-size: 11px;
    letter-spacing: .02em;
}

.light-signup .signup-grid input,
.light-signup .signup-grid textarea,
.light-signup .signup-grid select {
    min-height: 34px;
    border-color: #c7d2e4;
    border-radius: 6px;
    color: #111827;
    background: #fff;
    font-size: 12px;
    font-weight: 400;
}

.light-signup .signup-grid input,
.light-signup .signup-grid select {
    height: 34px;
}

.password-field,
.experience-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-width: 0;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 36px;
}

.password-field button {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 24px;
    height: 24px;
    min-height: 0;
    margin: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #64748b;
    background: #edf3fb;
    box-shadow: none;
    font-size: 12px;
}

.password-field button.showing {
    color: #fff;
    background: #111827;
}

.experience-row {
    grid-template-columns: 1fr 1fr;
}

.experience-row select,
.password-field input {
    min-width: 0;
    width: 100%;
}

.tag-select {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;
    height: 34px;
    width: 100%;
    padding: 3px 5px;
    border: 1px solid #b9c8df;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
}

.light-signup .signup-grid .tag-select input.tag-input {
    flex: 1 1 74px;
    min-width: 74px;
    min-height: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #111827;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    outline: 0;
}

.light-signup .signup-grid .tag-select input.tag-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.tag-chips {
    display: flex;
    flex: 0 1 66%;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    max-width: 66%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.tag-chips::-webkit-scrollbar {
    display: none;
}

.tag-chips button {
    flex: 0 0 auto;
    width: auto;
    max-width: 78px;
    min-height: 22px;
    height: 22px;
    margin: 0;
    padding: 2px 7px 2px 9px;
    border: 0;
    border-radius: 6px;
    background: #40519b;
    color: #fff;
    box-shadow: none;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-chips span {
    margin-left: 7px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1;
}

.tag-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 1px);
    z-index: 40;
    display: none;
    max-height: 116px;
    overflow: auto;
    padding: 0;
    border: 1px solid #d6deea;
    border-radius: 0 0 5px 5px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
}

.tag-suggestions.open {
    display: block;
}

.tag-suggestions button {
    width: 100%;
    min-height: 28px;
    margin: 0;
    padding: 4px 10px;
    border: 0;
    border-radius: 0;
    color: #111827;
    background: #fff;
    box-shadow: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-suggestions button:hover {
    color: #111827;
    background: #eef2f7;
}

.light-signup .signup-grid textarea {
    min-height: 64px;
}

.light-signup .signup-panel form > button {
    min-height: 42px;
    margin-top: 14px;
    border-radius: 9px;
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 12px 24px rgba(225, 29, 72, .22);
}

.light-signup .signup-panel .password-field button {
    width: 24px;
    min-height: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    background: #edf3fb;
    box-shadow: none;
}

.light-signup .signup-panel .tag-chips button,
.light-signup .signup-panel .tag-suggestions button {
    width: auto;
    min-height: 24px;
    margin: 0;
    box-shadow: none;
    font-weight: 400;
}

.light-signup .signup-panel .tag-suggestions button {
    width: 100%;
}

.light-signup .signup-panel .tag-suggestions button:hover {
    color: #111827;
    background: #eef2f7;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border-left: 1px solid #edf2f8;
    border-radius: 0;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 90, 127, .06), transparent 10rem),
        linear-gradient(160deg, #fff, #f7fbff);
}

.benefit-visual {
    width: 100%;
    height: 108px;
    margin-bottom: 12px;
    object-fit: cover;
    border: 1px solid #d8e2f1;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.signup-benefits > span {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    color: #4051b5;
    background: #eef0ff;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.signup-benefits h2 {
    margin: 10px 0 6px;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.1;
}

.signup-benefits p {
    margin: 0;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.45;
}

.benefit-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.benefit-list article {
    position: relative;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 8px;
    align-items: center;
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid #d8e2f1;
    border-left-width: 4px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.benefit-list article.blue {
    border-left-color: #2563eb;
}

.benefit-list article.green {
    border-left-color: #34d399;
}

.benefit-list article.pink {
    border-left-color: #e11d48;
}

.benefit-list i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: #eff6ff;
    color: #2563eb;
}

.benefit-list article.green i {
    color: #047857;
    background: #ecfdf5;
}

.benefit-list article.pink i {
    color: #be123c;
    background: #fff1f2;
}

.benefit-list svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.benefit-list strong,
.benefit-list small {
    display: block;
}

.benefit-list strong {
    color: #111827;
    font-size: 12.5px;
}

.benefit-list small {
    margin-top: 2px;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.35;
}

.benefit-note {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    color: #065f46;
    background: linear-gradient(135deg, #d1fae5, #ccfbf1);
    font-size: 12px;
    font-weight: 500;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    color: #475569;
    font-size: 13px;
    font-weight: 400;
}

.terms-check input {
    width: 16px;
    height: 16px;
    accent-color: #e11d48;
}

.terms-check a {
    color: #4051b5;
    font-weight: 500;
    text-decoration: none;
}

.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .48);
    backdrop-filter: blur(8px);
}

.terms-modal.open {
    display: grid;
}

.terms-box {
    width: min(760px, 100%);
    max-height: min(82vh, 720px);
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
}

.terms-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fbff;
}

.terms-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.terms-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    color: #334155;
    background: #eaf0f8;
    cursor: pointer;
    font-size: 22px;
}

.terms-content {
    max-height: calc(82vh - 72px);
    overflow: auto;
    padding: 20px;
    color: #334155;
    line-height: 1.65;
}

.legal-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f7f9ff, #eaf2fb);
}

.legal-shell {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.legal-nav a {
    color: #334155;
    text-decoration: none;
    font-weight: 800;
}

.legal-card {
    padding: 26px;
    border: 1px solid #d8e2f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .1);
}

.legal-card > span {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    color: #4051b5;
    background: #eef0ff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-card h1 {
    margin: 14px 0;
    color: #0f172a;
}

.legal-content {
    color: #334155;
    line-height: 1.7;
}

.auth-brand .logo-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    font-size: 15px;
    box-shadow: 0 16px 35px rgba(255, 85, 122, .2);
}

.auth-brand p {
    margin: 0 0 5px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.auth-brand h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.1;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: min(360px, calc(100% - 32px));
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    color: #fff;
    background: rgba(15, 23, 42, .94);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .36);
    backdrop-filter: blur(18px);
    animation: toastIn .38s ease-out both;
}

.toast::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff557a, #4f7cff);
    animation: toastLine 4.5s linear both;
}

.toast-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #ff557a, #b8325d);
    font-weight: 700;
}

.toast strong,
.toast p {
    margin: 0;
}

.toast strong {
    display: block;
    font-size: 14px;
}

.toast p {
    margin-top: 3px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.4;
}

.field {
    position: relative;
    z-index: 1;
    height: 42px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.field:focus-within {
    border-color: rgba(255, 85, 122, .7);
    background: rgba(255, 255, 255, .095);
    box-shadow: 0 0 0 4px rgba(255, 85, 122, .1);
}

.icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #cbd5e1;
}

.icon svg {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fake-input {
    position: fixed;
    top: -120px;
    left: -120px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.field input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    transition: background-color 9999s ease-out;
    box-shadow: 0 0 0 1000px transparent inset;
}

.field input::placeholder {
    color: #9ca3af;
}

.form-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 5px 0 14px;
    color: #aeb7c4;
    font-size: 13px;
    font-weight: 400;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.remember input {
    width: 16px;
    height: 16px;
    accent-color: #ff557a;
}

.form-row a {
    color: #d1d5db;
    text-decoration: none;
}

button {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 42px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f0527d, #7d58c8 48%, #3f6ed8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(63, 110, 216, .28);
    transition: transform .16s ease, box-shadow .16s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(63, 110, 216, .33);
}

.role-dashboard-page {
    color: #0f172a;
    background:
        radial-gradient(circle at 18% 16%, rgba(92, 124, 250, .08), transparent 18rem),
        radial-gradient(circle at 82% 18%, rgba(255, 85, 122, .06), transparent 18rem),
        #fff;
}

.role-dashboard-page::before {
    opacity: .35;
}

.role-dashboard {
    width: min(820px, calc(100% - 28px));
}

.role-card {
    padding: 24px;
    border: 1px solid #d8e2f1;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .1);
}

.role-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.role-top p {
    margin: 0 0 4px;
    color: #4051b5;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.role-top h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.role-grid article {
    padding: 14px;
    border: 1px solid #d8e2f1;
    border-radius: 10px;
    background: #f8fbff;
}

.role-grid span,
.role-grid strong {
    display: block;
}

.role-grid span {
    color: #64748b;
    font-size: 12px;
}

.role-grid strong {
    margin-top: 5px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
}

.role-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.role-actions form {
    margin: 0;
}

.role-actions a {
    padding: 10px 14px;
    border: 1px solid #d8e2f1;
    border-radius: 10px;
    color: #26354f;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.role-actions a.danger {
    color: #fff;
    border-color: #e11d48;
    background: #e11d48;
}

.back-admin-btn {
    width: auto;
    height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: #111827;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes toastLine {
    from {
        transform: scaleX(1);
        transform-origin: left;
    }
    to {
        transform: scaleX(0);
        transform-origin: left;
    }
}

.error-page {
    display: grid;
    place-items: center;
    padding: 18px;
    color: #fff;
    background: #111827;
}

.error-box {
    width: min(380px, 100%);
    padding: 34px 24px;
    text-align: center;
    border-radius: 18px;
    background: #1f2937;
}

.error-box h1 {
    margin: 0;
    font-size: 72px;
}

.error-box a {
    color: #ff8aa3;
    font-weight: 650;
}

@media (max-width: 720px) {
    .soon-shell {
        width: min(100% - 24px, 560px);
    }

    .soon-nav {
        padding: 18px 0;
    }

    .soon-hero {
        padding: 58px 0 36px;
    }

    .soon-copy {
        font-size: 16px;
    }

    .soon-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .soon-strip {
        grid-template-columns: 1fr;
    }

    .role-grid {
        grid-template-columns: 1fr;
    }

    .signup-content,
    .signup-grid {
        grid-template-columns: 1fr;
    }

    .signup-form-card,
    .signup-benefits {
        padding: 20px 16px;
    }

    .benefit-visual {
        height: 96px;
    }

    .signup-login-link {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
    }

    .light-signup .signup-head {
        margin: 0 0 18px;
        max-width: none;
        transform: none;
    }

    .signup-grid .span-2 {
        grid-column: auto;
    }

    .signup-page {
        padding: 8px;
    }

    .signup-shell {
        min-height: calc(100vh - 24px);
    }
}

@media (max-width: 440px) {
    .auth-page {
        display: block;
        padding: 0;
        background: #111827;
    }

    .auth-page.signup-page {
        background: #fff;
    }

    .auth-shell {
        width: 100%;
        min-height: 100vh;
    }

    .auth-card {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 34px 18px;
    }

    .auth-brand {
        padding-top: 0;
    }

    .toast {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}
