@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #071517;
    --bg2: #0b2021;
    --panel: #102526;
    --panel2: #153031;
    --accent: #28d6c6;
    --accent2: #50eadc;
    --text: #f4f8f7;
    --muted: #91a6a5;
    --line: rgba(255,255,255,.08);
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: "Manrope", Arial, sans-serif;
}

body {
    background: #eef3f2;
    color: #132020;
}

.login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 20%, rgba(40,214,198,.12), transparent 35%),
        linear-gradient(135deg,#061315,#092122);
    color: var(--text);
}

.login-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 430px;
    grid-template-rows: auto 1fr;
    gap: 40px 80px;
    align-items: center;
    padding: 45px 0 70px;
}

.login-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 13px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg,var(--accent),#14b9ad);
    color: #052020;
    font-size: 26px;
    font-weight: 900;
    transform: skew(-4deg);
}

.brand-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .03em;
}

.brand-caption {
    font-size: 9px;
    letter-spacing: .22em;
    color: var(--muted);
    margin-top: 3px;
}

.eyebrow {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
}

.login-copy h1 {
    margin: 18px 0;
    font-size: clamp(44px,6vw,76px);
    line-height: .99;
    letter-spacing: -.055em;
}

.login-copy h1 span,
.hero-panel h2 span {
    color: var(--accent);
}

.login-copy p {
    max-width: 600px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.login-card {
    background: white;
    color: #122324;
    padding: 38px;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.login-card h2 {
    font-size: 27px;
    margin: 0 0 8px;
}

.login-card > p {
    color: #748686;
    margin: 0 0 28px;
}

.login-card label {
    display: block;
    margin: 17px 0 7px;
    font-size: 12px;
    font-weight: 800;
}

.login-card input {
    width: 100%;
    height: 50px;
    border: 1px solid #dce5e3;
    border-radius: 11px;
    outline: none;
    padding: 0 15px;
    font: inherit;
}

.login-card input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(40,214,198,.12);
}

.login-card button {
    width: 100%;
    height: 52px;
    margin-top: 25px;
    border: 0;
    border-radius: 11px;
    background: var(--accent);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.login-card button span {
    margin-left: 8px;
}

.alert {
    background: #fff0ef;
    border: 1px solid #ffd1cd;
    color: #b53129;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
}

.app-body {
    min-height: 100vh;
    background: #edf2f1;
}

.sidebar {
    width: 245px;
    position: fixed;
    inset: 0 auto 0 0;
    padding: 25px 18px;
    display: flex;
    flex-direction: column;
    color: var(--text);
    background:
        radial-gradient(circle at 30% 5%, rgba(40,214,198,.11), transparent 30%),
        #071719;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 8px 30px;
}

.sidebar nav {
    flex: 1;
}

.nav-section {
    font-size: 9px;
    letter-spacing: .18em;
    color: #607c7b;
    padding: 25px 11px 8px;
    font-weight: 800;
}

.nav-item {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    margin: 3px 0;
    color: #adbfbe;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.nav-item.active {
    color: white;
    background: rgba(40,214,198,.12);
}

.nav-item.active .nav-icon {
    color: var(--accent);
}

.nav-item.disabled {
    cursor: default;
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-user {
    border-top: 1px solid var(--line);
    padding: 19px 7px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--accent);
    color: #092020;
    font-weight: 900;
}

.user-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info span {
    color: #718c8a;
    font-size: 9px;
    text-transform: uppercase;
    margin-top: 3px;
}

.logout {
    color: #718c8a;
    background: none;
    border: 0;
    cursor: pointer;
}

.workspace {
    margin-left: 245px;
    min-height: 100vh;
    padding: 36px 42px 60px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.topbar h1 {
    margin: 8px 0 5px;
    font-size: 28px;
    letter-spacing: -.035em;
}

.topbar p {
    margin: 0;
    color: #718382;
    font-size: 13px;
}

.system-status {
    padding: 10px 14px;
    background: white;
    border: 1px solid #dfe7e5;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
}

.system-status span {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.hero-panel {
    min-height: 255px;
    border-radius: 23px;
    padding: 40px 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    background:
        radial-gradient(circle at 76% 35%, rgba(40,214,198,.17), transparent 35%),
        linear-gradient(115deg,#071719,#0b2929);
    box-shadow: 0 14px 36px rgba(22,53,52,.12);
}

.hero-panel h2 {
    font-size: 39px;
    line-height: 1.05;
    letter-spacing: -.045em;
    margin: 13px 0;
}

.hero-panel p {
    color: #91aaa8;
    max-width: 590px;
    line-height: 1.65;
    font-size: 13px;
}

.hero-stat {
    width: 185px;
    padding: 23px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.04);
    border-radius: 18px;
}

.hero-stat small {
    color: #688887;
    font-size: 9px;
    letter-spacing: .16em;
}

.hero-stat strong {
    display: block;
    color: var(--accent);
    font-size: 24px;
    margin: 10px 0 3px;
}

.hero-stat span {
    color: #799392;
    font-size: 10px;
}

.section-header {
    margin: 34px 0 17px;
}

.section-header h2 {
    margin: 6px 0 0;
    font-size: 22px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.module-card {
    min-height: 205px;
    position: relative;
    padding: 23px;
    border-radius: 17px;
    background: white;
    border: 1px solid #e0e8e6;
    transition: .18s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(40,65,63,.08);
}

.module-card.primary {
    border-color: rgba(40,214,198,.55);
}

.module-icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #0a5954;
    background: #ddf9f5;
    font-size: 21px;
    font-weight: 800;
}

.module-state {
    position: absolute;
    right: 18px;
    top: 20px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 6px 8px;
    border-radius: 20px;
}

.module-state.future {
    background: #f0f3f2;
    color: #7d8b8a;
}

.module-state.next {
    background: #ddf9f5;
    color: #08746c;
}

.module-card h3 {
    margin: 22px 0 8px;
    font-size: 17px;
}

.module-card p {
    margin: 0;
    color: #718382;
    font-size: 11px;
    line-height: 1.65;
}

@media(max-width:1000px) {
    .module-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

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

    .sidebar {
        display: none;
    }

    .workspace {
        margin-left: 0;
        padding: 24px 18px;
    }

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

    .hero-stat {
        display: none;
    }
}

.module-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
