* {
    box-sizing: border-box;
}

:root {
    --bg: #09090c;
    --panel: #101014;
    --card: rgba(17, 17, 22, .78);
    --line: rgba(255, 255, 255, .10);
    --text: #f8f8fb;
    --muted: #9696a2;
    --pink: #ff0a78;
    --pink-2: #d90067;
    --green: #10f0a1;
    --dark-green: #08b77c;
    --danger: #ff617f;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
}

button,
input {
    font: inherit;
}

.login-page {
    min-height: 100vh;
    overflow: hidden;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
}

.brand-panel {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 42px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at 58% 18%, rgba(255,255,255,.08), transparent 24%),
        linear-gradient(145deg, #17171c 0%, #0b0b0f 54%, #060608 100%);
}

.brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    background:
        linear-gradient(120deg, transparent 0 35%, rgba(255,255,255,.045) 35.3% 35.7%, transparent 36%),
        repeating-linear-gradient(100deg, transparent 0 56px, rgba(255,255,255,.018) 57px 58px);
    transform: scale(1.08);
}

.brand-panel::after {
    content: "11";
    position: absolute;
    right: -2vw;
    bottom: -12vh;
    font-size: min(53vw, 720px);
    line-height: .75;
    font-weight: 900;
    letter-spacing: -.12em;
    color: rgba(255,255,255,.023);
    pointer-events: none;
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 0, 111, .09), transparent 40%),
        linear-gradient(270deg, rgba(0, 255, 170, .08), transparent 42%);
}

.orb {
    position: absolute;
    width: 36vw;
    height: 36vw;
    border-radius: 50%;
    filter: blur(95px);
    opacity: .34;
    pointer-events: none;
}

.orb-pink {
    left: -18vw;
    bottom: -8vw;
    background: var(--pink);
}

.orb-green {
    right: -14vw;
    top: 6vh;
    background: var(--green);
}

.brand-top,
.brand-copy,
.brand-bottom {
    position: relative;
    z-index: 2;
}

.brand-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}

.brand-logo {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    text-decoration: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.brand-logo--small {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
}

.mobile-logo img {
    width: 74px;
    height: 74px;
    display: block;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.brand-number {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 15px;
    font-weight: 900;
    letter-spacing: -.08em;
    background:
        linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01));
    box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.brand-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .28em;
}

.brand-pill {
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(255,255,255,.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
}

.brand-copy {
    max-width: 760px;
    padding-bottom: 5vh;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(62px, 7.5vw, 128px);
    line-height: .91;
    font-weight: 650;
    letter-spacing: -.07em;
}

.brand-copy h1 span {
    color: var(--pink);
    font-style: normal;
}

.brand-copy h1 em {
    color: var(--green);
    font-style: normal;
}

.hero-text {
    max-width: 520px;
    margin: 30px 0 0;
    color: rgba(255,255,255,.62);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.6;
}

.brand-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.42);
    font-size: 12px;
    letter-spacing: .05em;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
}

.login-panel {
    min-height: 100vh;
    padding: 48px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(16, 240, 161, .055), transparent 22%),
        radial-gradient(circle at 0% 100%, rgba(255, 10, 120, .06), transparent 24%),
        #0d0d11;
    border-left: 1px solid rgba(255,255,255,.06);
}

.login-card {
    width: min(100%, 430px);
}

.mobile-logo {
    display: none;
}

.login-heading {
    margin-bottom: 34px;
}

.login-heading h2 {
    margin: 0 0 9px;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 700;
}

.login-heading p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.login-form {
    display: grid;
    gap: 20px;
}

.field {
    display: grid;
    gap: 9px;
}

.field > span {
    color: #c8c8cf;
    font-size: 12px;
    font-weight: 700;
}

.input-wrap {
    min-height: 56px;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    transition: .2s ease;
}

.input-wrap.plain {
    grid-template-columns: 1fr;
}

.input-wrap:focus-within {
    border-color: rgba(16, 240, 161, .6);
    box-shadow: 0 0 0 4px rgba(16, 240, 161, .07);
    background: rgba(255,255,255,.05);
}

.input-wrap svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #777784;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 15px;
}

.input-wrap input::placeholder {
    color: #5f5f69;
}

.password-toggle {
    border: 0;
    padding: 5px;
    cursor: pointer;
    background: transparent;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: -3px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.remember input {
    accent-color: var(--pink);
}

.muted-link {
    color: #666671;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-button {
    min-height: 58px;
    margin-top: 4px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background:
        linear-gradient(110deg, var(--pink) 0%, var(--pink-2) 55%, #b90072 100%);
    box-shadow: 0 16px 40px rgba(255, 10, 120, .18);
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(255, 10, 120, .27);
}

.login-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 97, 127, .25);
    border-radius: 12px;
    color: #ffc0cd;
    background: rgba(255, 97, 127, .08);
    font-size: 13px;
    line-height: 1.45;
}

.alert.success {
    color: #a9ffd9;
    border-color: rgba(16, 240, 161, .25);
    background: rgba(16, 240, 161, .07);
}

.login-footer {
    margin: 30px 0 0;
    color: #555560;
    font-size: 11px;
    text-align: center;
}

/* SETUP */
.setup-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background:
        radial-gradient(circle at 10% 90%, rgba(255,10,120,.12), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(16,240,161,.09), transparent 30%),
        #0a0a0d;
}

.setup-card {
    width: min(100%, 520px);
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(18,18,23,.78);
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
}

.brand-mark.dark {
    margin-bottom: 28px;
}

.setup-card h1 {
    margin: 0 0 28px;
    font-size: 34px;
    letter-spacing: -.04em;
}

.setup-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 800;
}

.setup-warning {
    margin: 24px 0 0;
    color: #777782;
    font-size: 12px;
    line-height: 1.55;
}

/* DASHBOARD PLACEHOLDER */
.dashboard-preview {
    min-height: 100vh;
    background: #0b0b0e;
}

.dash-header {
    min-height: 78px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 22px;
}

.dash-user > div {
    display: grid;
    gap: 3px;
    text-align: right;
}

.dash-user small {
    color: var(--muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .12em;
}

.logout-link {
    padding: 10px 13px;
    color: #ddd;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
}

.dash-preview-main {
    padding: 10vh 8vw;
}

.dash-preview-main h1 {
    margin: 0 0 10px;
    font-size: clamp(44px, 6vw, 82px);
    letter-spacing: -.06em;
}

.dash-preview-main > p:last-child {
    color: var(--muted);
    font-size: 18px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        padding: 30px 20px;
        border-left: 0;
    }

    .login-card {
        max-width: 460px;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 56px;
    }
}

@media (max-width: 520px) {
    .login-heading h2 {
        font-size: 32px;
    }

    .login-panel {
        place-items: start center;
        padding-top: 38px;
    }

    .mobile-logo {
        margin-bottom: 44px;
    }

    .form-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .setup-card {
        padding: 28px 20px;
    }
}


/* ============================================================
   STUDIO 11 · LOGIN / BASE UI LEGIBLE V2
   ============================================================ */

html {
    font-size: 16px;
}

body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.login-heading h2 {
    font-size: 42px;
}

.login-heading p:last-child {
    font-size: 16px;
}

.field > span {
    font-size: 14px;
}

.input-wrap {
    min-height: 60px;
}

.input-wrap input {
    font-size: 16px;
}

.remember {
    font-size: 14px;
}

.muted-link {
    font-size: 12px;
}

.login-button {
    min-height: 60px;
    font-size: 15px;
}

.alert {
    font-size: 14px;
}

.login-footer {
    font-size: 12px;
}

@media (max-width: 980px) {
    .login-panel {
        padding: 34px 24px;
    }

    .login-card {
        width: min(100%, 500px);
    }

    .mobile-logo {
        margin-bottom: 44px;
    }

    .login-heading {
        margin-bottom: 30px;
    }

    .login-heading h2 {
        font-size: 38px;
    }

    .login-heading p:last-child {
        font-size: 15px;
    }
}

@media (max-width: 520px) {
    .login-page {
        overflow: auto;
    }

    .login-panel {
        min-height: 100dvh;
        place-items: start center;
        padding: 24px 18px 36px;
    }

    .mobile-logo {
        margin-bottom: 34px;
    }

    .mobile-logo img {
        width: 82px;
        height: 82px;
    }

    .login-heading {
        margin-bottom: 25px;
    }

    .login-heading h2 {
        font-size: 32px;
    }

    .login-heading p:last-child {
        font-size: 14px;
    }

    .login-form {
        gap: 18px;
    }

    .field > span {
        font-size: 13px;
    }

    .input-wrap {
        min-height: 58px;
        padding: 0 15px;
    }

    .input-wrap input {
        font-size: 16px;
    }

    .form-row {
        gap: 12px;
    }

    .remember {
        font-size: 13px;
    }

    .login-button {
        min-height: 58px;
        font-size: 15px;
    }

    .login-footer {
        margin-top: 24px;
        font-size: 11px;
    }
}
