/* ArahKarier Admin UI v3.0 — standalone, no external font/CDN dependencies */
:root {
    --bg: #f6f8fc;
    --ink: #202b49;
    --muted: #79859c;
    --line: #e8ecf5;
    --white: #fff;
    --indigo: #5463e6;
    --indigo-dark: #4454d1;
    --indigo-soft: #f0f1ff;
    --shadow: 0 10px 28px rgba(26, 43, 84, .035);
    --radius: 17px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: inherit;
    text-decoration: none
}

a:hover {
    text-decoration: none
}

svg {
    width: 19px;
    height: 19px;
    flex: none
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #b6bcff;
    outline-offset: 2px
}

[hidden] {
    display: none !important
}

/* Shared controls */
.btn {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 10px 18px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-weight: 730;
    font-size: 13px;
    white-space: nowrap;
    transition: background .17s, box-shadow .17s, transform .17s
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 5px 13px rgba(84, 99, 230, .17)
}

.btn-primary:hover {
    background: var(--indigo-dark);
    box-shadow: 0 8px 16px rgba(84, 99, 230, .20)
}

.btn-outline {
    background: white;
    border-color: #dee4ef;
    color: #445474
}

.btn-outline:hover {
    border-color: #b8c0e5;
    background: #fafbff
}

.btn-sm {
    min-height: 38px;
    padding: 8px 15px
}

.button-plus {
    font-size: 19px;
    font-weight: 400;
    line-height: .8
}

.required {
    color: #dc6576
}

.notice {
    border-radius: 13px;
    padding: 14px 16px;
    margin: 0 0 23px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border: 1px solid transparent
}

.notice-symbol {
    display: grid;
    place-items: center;
    flex: none;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    font-weight: 800
}

.notice strong {
    display: block;
    font-size: 13px
}

.notice p,
.notice ul {
    margin: 1px 0 0;
    font-size: 13px
}

.notice ul {
    padding-left: 18px
}

.notice.good {
    background: #edfbf4;
    border-color: #cdebdc;
    color: #176e51
}

.notice.good .notice-symbol {
    background: #d0f3e1
}

.notice.error {
    background: #fff4f4;
    border-color: #f4cbd0;
    color: #a6364b
}

.notice.error .notice-symbol {
    background: #fce0e5
}

/* Main app */
.admin-shell {
    display: flex;
    min-height: 100vh
}

.sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    width: 254px;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding: 27px 17px 18px;
    overflow-y: auto;
    scrollbar-width: thin
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 2px 13px 33px
}

.brand-symbol {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #4d60e2);
    box-shadow: 0 5px 13px rgba(84, 99, 230, .23);
    font-size: 29px;
    line-height: 1;
    color: #fff;
    font-weight: 700
}

.brand-name {
    font-size: 23px;
    font-weight: 840;
    letter-spacing: -1.25px;
    color: #1f2943;
    line-height: 1.1
}

.brand-name>span {
    color: #5964eb
}

.brand-name small {
    display: block;
    margin-top: 6px;
    font-size: 9px;
    font-weight: 800;
    color: #8d98b0;
    letter-spacing: 1.55px
}

.sidebar-label {
    font-size: 10px;
    font-weight: 820;
    letter-spacing: 1.3px;
    color: #a0aac1;
    padding: 0 13px;
    margin: 2px 0 13px
}

.label-secondary {
    margin-top: 32px
}

.sidebar-links {
    display: grid;
    gap: 5px
}

.side-link {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    border-radius: 11px;
    padding: 0 13px;
    color: #72809b;
    font-weight: 650;
    transition: .18s
}

.side-link:hover {
    background: #f6f7ff;
    color: #4c57d3
}

.side-link.active {
    background: #eff0ff;
    color: #5361df
}

.side-link.active svg {
    color: #5361df
}

.external-mark {
    margin-left: auto;
    font-size: 14px;
    color: #a8b1c6
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 30px
}

.sidebar-guidance {
    background: #f3f4ff;
    border: 1px solid #eceeff;
    border-radius: 14px;
    padding: 17px 15px;
    margin-bottom: 18px
}

.guidance-icon {
    font-size: 21px;
    color: #6268e6
}

.sidebar-guidance strong {
    font-size: 12px;
    display: block;
    margin: 4px 0 3px
}

.sidebar-guidance p {
    font-size: 11px;
    color: #7b86a2;
    line-height: 1.7;
    margin: 0
}

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

.user-avatar {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #dce4fc;
    color: #4c5cd2;
    font-size: 15px;
    font-weight: 800;
    flex: none
}

.user-details {
    min-width: 0;
    flex: 1
}

.user-details strong {
    display: block;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-details small {
    display: block;
    font-size: 11px;
    color: #929db1
}

.sidebar-user form {
    margin: 0
}

.signout-button {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8490a6
}

.signout-button:hover {
    background: #fff0f3;
    color: #cc5667
}

.signout-button svg {
    width: 16px;
    height: 16px
}

.main-shell {
    margin-left: 254px;
    min-width: 0;
    flex: 1
}

.topbar {
    height: 75px;
    padding: 0 40px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 13px
}

.breadcrumb-root {
    color: #9aa5b9;
    font-size: 12px
}

.breadcrumb-divider {
    color: #bec5d3
}

.breadcrumb-current {
    font-weight: 730;
    color: #455270;
    font-size: 12px
}

.topbar-right {
    gap: 22px
}

.environment-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6a7691;
    font-size: 11px;
    font-weight: 690
}

.environment-pill span {
    width: 7px;
    height: 7px;
    border-radius: 100%;
    background: #31bb91;
    box-shadow: 0 0 0 3px #e3f9f1
}

.top-visit {
    color: #4b58d5;
    font-size: 12px;
    font-weight: 750
}

.top-visit span {
    margin-left: 3px
}

.menu-button {
    display: none;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #495778;
    padding: 8px
}

.main-content {
    max-width: 1530px;
    padding: 39px 40px 14px;
    margin: auto
}

.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px
}

.eyebrow,
.section-eyebrow {
    font-size: 10px;
    font-weight: 830;
    color: #6370ee;
    letter-spacing: 1.35px
}

.page-heading h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
    line-height: 1.22;
    margin: 8px 0
}

.page-heading p {
    margin: 0;
    color: #8b96aa;
    font-size: 13px;
    max-width: 700px
}

.page-heading-action {
    flex: none
}

.content-footer {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding: 23px 1px 27px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
    color: #a0abc0
}

/* Dashboard */
.welcome-banner {
    min-height: 215px;
    background: linear-gradient(115deg, #555ce1 0%, #6d70e9 59%, #8f85f4 100%);
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 29px 37px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 8px 24px rgba(88, 99, 222, .11)
}

.welcome-copy {
    position: relative;
    z-index: 1;
    max-width: 575px
}

.welcome-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 1.1px;
    font-weight: 800;
    font-size: 10px;
    color: #eef0ff
}

.welcome-dot {
    width: 7px;
    height: 7px;
    background: #b8f7db;
    border-radius: 50%
}

.welcome-copy h2 {
    font-size: clamp(22px, 2.9vw, 30px);
    letter-spacing: -.85px;
    margin: 16px 0 7px;
    line-height: 1.3
}

.wave {
    font-size: 22px;
    color: #e0d2ff
}

.welcome-copy p {
    font-size: 12px;
    line-height: 1.85;
    color: #eeedff;
    max-width: 515px;
    margin: 0
}

.welcome-art {
    position: relative;
    width: 220px;
    height: 160px;
    flex: none;
    margin-right: 10px
}

.art-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.ring-a {
    width: 230px;
    height: 230px
}

.ring-b {
    width: 165px;
    height: 165px
}

.art-square {
    position: absolute;
    top: 28px;
    left: 65px;
    width: 104px;
    height: 104px;
    border-radius: 25px;
    background: rgba(255, 255, 255, .18);
    transform: rotate(-12deg);
    box-shadow: 0 16px 24px rgba(40, 50, 140, .13);
    display: grid;
    place-items: center
}

.art-square>span {
    font-size: 76px;
    line-height: 1;
    color: white;
    transform: rotate(12deg)
}

.art-spark {
    position: absolute;
    font-style: normal;
    font-size: 26px;
    color: #d9f5ff
}

.spark-1 {
    top: -25px;
    right: -25px
}

.spark-2 {
    bottom: -20px;
    left: -30px
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 21px
}

.stat-card {
    min-width: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 19px 20px 18px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column
}

.stat-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px
}

.stat-icon {
    width: 41px;
    height: 41px;
    border-radius: 12px;
    display: grid;
    place-items: center
}

.stat-icon.blue {
    background: #eef1ff;
    color: #5365e4
}

.stat-icon.green {
    background: #e8f9f2;
    color: #2eb889
}

.stat-icon.violet {
    background: #f3ecff;
    color: #9466da
}

.stat-icon.amber {
    background: #fff5e5;
    color: #d99542
}

.stat-note {
    font-size: 10px;
    font-weight: 720;
    color: #a6b0c2
}

.stat-card>strong {
    font-size: 30px;
    line-height: 1.25;
    letter-spacing: -1px
}

.stat-title {
    font-weight: 700;
    font-size: 12px;
    margin-top: 1px
}

.stat-card>small {
    font-size: 11px;
    margin-top: 4px;
    color: #98a4b7
}

.dashboard-tip {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: #fff;
    border: 1px solid #ebedf6;
    border-radius: 12px;
    padding: 13px 17px;
    color: #7f8ca5
}

.tip-icon {
    width: 20px;
    height: 20px;
    background: #eff2ff;
    color: #6071d7;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex: none
}

.dashboard-tip p {
    font-size: 12px;
    line-height: 1.7;
    margin: 0
}

.dashboard-tip strong {
    color: #566581
}

.dashboard-section {
    scroll-margin-top: 30px;
    margin-top: 42px
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 17px
}

.section-heading h2 {
    font-size: 21px;
    letter-spacing: -.5px;
    line-height: 1.4;
    margin: 4px 0
}

.section-heading p {
    font-size: 12px;
    color: #909cb0;
    margin: 0
}

.count-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    min-width: 27px;
    height: 23px;
    padding: 0 8px;
    background: #eef0ff;
    color: #646ee4;
    border-radius: 7px;
    font-size: 12px;
    letter-spacing: 0;
    margin-left: 4px
}

.data-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.table-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 13px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line)
}

.table-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(100%, 370px);
    margin: 0
}

.table-search svg {
    position: absolute;
    left: 13px;
    color: #a0abc1;
    width: 17px;
    height: 17px;
    pointer-events: none
}

.table-search input {
    padding: 11px 12px 11px 40px;
    background: #fbfcff;
    border: 1px solid #e7ebf4;
    border-radius: 10px;
    width: 100%;
    min-width: 0;
    font-size: 12px
}

.table-search input::placeholder {
    color: #a9b2c3
}

.filter-select {
    border: 1px solid #e6eaf3;
    border-radius: 10px;
    padding: 10px 34px 10px 12px;
    background: #fff;
    color: #63718d;
    font-size: 12px;
    min-width: 165px
}

.table-scroll {
    overflow-x: auto
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 710px
}

.data-table thead th {
    background: #fbfcff;
    color: #9da8bc;
    text-align: left;
    font-size: 10px;
    letter-spacing: .7px;
    font-weight: 780;
    text-transform: uppercase;
    padding: 13px 20px;
    white-space: nowrap
}

.data-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-top: 1px solid #f0f2f7;
    font-size: 12px
}

.data-table tbody tr:hover {
    background: #fcfdff
}

.job-cell {
    display: flex;
    align-items: center;
    gap: 11px
}

.job-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff2ff;
    color: #6876d9;
    font-size: 13px;
    font-weight: 830;
    display: grid;
    place-items: center
}

.job-cell strong {
    display: block;
    font-size: 12px;
    font-weight: 750;
    color: #34425f
}

.job-cell small {
    display: block;
    font-size: 10px;
    color: #a4aec0;
    margin-top: 3px;
    max-width: 190px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap
}

.table-main-text {
    display: block;
    font-weight: 650;
    color: #52617e
}

.table-subtext {
    display: block;
    font-size: 10px;
    color: #9da9bc;
    margin-top: 2px
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 770;
    white-space: nowrap
}

.status-pill i {
    width: 6px;
    height: 6px;
    display: inline-block;
    border-radius: 50%
}

.status-pill.published,
.status-pill.reviewed {
    background: #eaf9f1;
    color: #2d9d71
}

.status-pill.published i,
.status-pill.reviewed i {
    background: #36b986
}

.status-pill.unpublished {
    background: #f2f4f8;
    color: #8e99a9
}

.status-pill.unpublished i {
    background: #a2aabc
}

.status-pill.linked {
    background: #fff5e8;
    color: #c18a45
}

.status-pill.linked i {
    background: #d99b53
}

.table-action-head,
.table-actions {
    text-align: right !important
}

.edit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5967da;
    font-size: 12px;
    font-weight: 730
}

.edit-link:hover {
    color: #3546bf
}

.edit-link span {
    font-size: 13px
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #9ba7bb;
    font-size: 11px;
    border-top: 1px solid #edf0f7
}

.table-footer strong {
    color: #6f7b93
}

.empty-filter {
    padding: 24px;
    text-align: center;
    color: #98a2b4;
    font-size: 12px
}

.question-no {
    font-weight: 760;
    color: #8d99ad
}

.riasec-badge {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    margin-right: 8px
}

.type-r {
    background: #fff0e4;
    color: #d88d46
}

.type-i {
    background: #edf0ff;
    color: #5967db
}

.type-a {
    background: #f7edff;
    color: #ad71d9
}

.type-s {
    background: #e6f8f1;
    color: #2caa89
}

.type-e {
    background: #fff0f1;
    color: #d97685
}

.type-c {
    background: #e9f6fa;
    color: #538fa6
}

.dimension-name {
    color: #64718d;
    font-weight: 650
}

.question-text {
    color: #52617b;
    max-width: 560px
}

/* Editors */
.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 22px;
    align-items: start
}

.editor-panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.panel-heading {
    padding: 24px 26px;
    border-bottom: 1px solid #f0f2f8
}

.panel-heading h2 {
    font-size: 19px;
    letter-spacing: -.5px;
    margin: 5px 0 2px
}

.panel-heading p {
    font-size: 12px;
    color: #8c98ac;
    margin: 0
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 25px 26px
}

.form-field {
    min-width: 0
}

.form-field.full {
    grid-column: 1/-1
}

.form-field>label,
.login-form>label {
    display: block;
    font-size: 12px;
    font-weight: 750;
    color: #4c5a77;
    margin-bottom: 8px
}

.form-field input,
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid #dfe5ef;
    border-radius: 10px;
    color: #364461;
    background: #fff;
    font-size: 13px;
    outline: none;
    transition: box-shadow .15s, border-color .15s
}

.form-field textarea {
    resize: vertical;
    line-height: 1.7
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #7380e7;
    box-shadow: 0 0 0 3px #eceeff
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #b0b9ca
}

.field-help {
    font-size: 11px;
    color: #9ca7b9;
    display: block;
    margin-top: 7px
}

.editor-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap
}

.sticky-actions {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    padding: 15px 17px;
    border: 1px solid #e7eaf5;
    border-radius: 13px;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 25px #16215013
}

.editor-side {
    position: sticky;
    top: 22px;
    display: grid;
    gap: 16px
}

.aside-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 21px;
    box-shadow: var(--shadow)
}

.aside-icon {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    font-size: 21px
}

.aside-icon.purple {
    background: #f1eeff;
    color: #8270e6
}

.aside-card h3 {
    font-size: 14px;
    letter-spacing: -.2px;
    margin: 11px 0 6px
}

.aside-card p,
.aside-card .small-disclaimer {
    font-size: 11px;
    line-height: 1.75;
    color: #8e9ab0;
    margin: 0
}

.tip-list {
    margin: 13px 0 0;
    padding-left: 17px;
    color: #738099;
    font-size: 11px;
    line-height: 1.95
}

.aside-card.pale {
    background: #f0f1ff;
    border-color: #e9ebff
}

.aside-card.pale strong {
    font-size: 12px;
    color: #5e65c9;
    display: block;
    margin-bottom: 7px
}

.publish-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 18px 0 13px;
    font-size: 12px;
    font-weight: 710;
    color: #465575
}

.publish-toggle input[type=checkbox] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0
}

.switch-track {
    position: relative;
    flex: none;
    width: 43px;
    height: 24px;
    border-radius: 20px;
    background: #d4dbe8;
    transition: background .18s
}

.switch-track:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 3px #28385230;
    transition: left .18s
}

.publish-toggle input:checked+.switch-track {
    background: #606de7
}

.publish-toggle input:checked+.switch-track:before {
    left: 22px
}

.publish-toggle input:focus-visible+.switch-track {
    outline: 3px solid #b5c0ff;
    outline-offset: 3px
}

.compact-editor {
    max-width: 1120px
}

.compact-editor .editor-form {
    padding: 26px
}

.compact-editor .editor-form .form-field {
    margin-bottom: 25px
}

.compact-editor .editor-actions {
    padding-top: 10px
}

/* Login */
.login-body {
    background: white
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(375px, 45%) minmax(0, 1fr);
    min-height: 100vh
}

.auth-art {
    min-height: 100vh;
    background: linear-gradient(145deg, #565ee0 0%, #6568e3 58%, #7879ea 100%);
    padding: 43px clamp(28px, 5vw, 75px) 28px;
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    align-self: flex-start;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1.1px
}

.auth-brand .brand-symbol {
    background: rgba(255, 255, 255, .18);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, .27)
}

.auth-brand strong {
    color: #e1e3ff
}

.auth-art-content {
    margin: auto 0;
    position: relative;
    z-index: 2
}

.auth-art-tag {
    display: inline-block;
    border-radius: 100px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 830
}

.auth-art h2 {
    font-size: clamp(27px, 3.3vw, 43px);
    line-height: 1.23;
    letter-spacing: -1.8px;
    margin: 25px 0 17px
}

.auth-art h2 em {
    font-style: normal;
    color: #dddeff
}

.auth-art-content>p {
    font-size: 13px;
    color: #e4e7ff;
    line-height: 1.9;
    max-width: 390px
}

.auth-art-illustration {
    height: 220px;
    position: relative;
    margin-top: 35px
}

.illustration-note {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, .97);
    color: #38445e;
    box-shadow: 0 20px 35px rgba(31, 39, 114, .14);
    border-radius: 15px;
    width: min(100%, 330px)
}

.illustration-note.note-a {
    top: 14px;
    left: 8px;
    transform: rotate(-4deg)
}

.illustration-note.note-b {
    top: 108px;
    left: 38px;
    transform: rotate(3deg)
}

.illustration-note strong {
    display: block;
    font-size: 12px
}

.illustration-note small {
    display: block;
    color: #9ba6bd;
    font-size: 10px
}

.illustration-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 850
}

.illustration-icon.purple {
    color: #7368e6;
    background: #efedff
}

.illustration-icon.teal {
    color: #329d8b;
    background: #e6f7f1
}

.note-check {
    margin-left: auto;
    color: #3db48e;
    font-weight: 800
}

.illustration-ring {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    width: 400px;
    height: 400px;
    left: -50px;
    top: -40px
}

.illustration-ring.ring-two {
    width: 300px;
    height: 300px;
    left: 0;
    top: 10px
}

.auth-art-foot {
    margin: 0;
    font-size: 11px;
    color: #d8dcff
}

.auth-main {
    display: flex;
    flex-direction: column;
    padding: 25px clamp(25px, 5vw, 76px);
    min-width: 0
}

.login-card {
    width: min(100%, 425px);
    margin: auto;
    display: grid;
    gap: 26px
}

.login-badge {
    color: #6370e7;
    font-size: 10px;
    font-weight: 840;
    letter-spacing: 1.2px
}

.login-head h1 {
    font-size: clamp(25px, 3vw, 33px);
    letter-spacing: -1.1px;
    line-height: 1.25;
    margin: 12px 0 8px
}

.login-head p {
    font-size: 13px;
    line-height: 1.8;
    color: #8f9bb0;
    max-width: 390px;
    margin: 0
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0
}

.login-form>label {
    margin: 2px 0 8px
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 22px
}

.input-group input {
    height: 51px;
    width: 100%;
    border: 1px solid #dfe4ed;
    background: #fff;
    border-radius: 11px;
    padding: 0 65px 0 45px;
    font-size: 13px;
    color: #37435f;
    outline: 0;
    transition: border-color .16s, box-shadow .16s
}

.input-group input:focus {
    border-color: #747eeb;
    box-shadow: 0 0 0 3px #eff0ff
}

.input-group input::placeholder {
    color: #b4bece
}

.input-prefix {
    position: absolute;
    left: 15px;
    color: #a3aec2;
    display: flex
}

.input-prefix svg {
    width: 18px;
    height: 18px
}

.password-toggle {
    position: absolute;
    right: 10px;
    border: 0;
    background: #f2f3f9;
    padding: 6px 11px;
    border-radius: 7px;
    color: #6d78a2;
    font-size: 11px;
    font-weight: 720
}

.password-toggle:hover {
    background: #e9ecfb
}

.login-submit {
    height: 49px;
    font-size: 13px;
    width: 100%;
    margin-top: 7px;
    justify-content: space-between;
    padding: 0 20px
}

.login-submit span {
    font-size: 21px;
    font-weight: 450
}

.login-helper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9aa5b9;
    font-size: 11px;
    line-height: 1.7;
    margin: 19px 0 0
}

.login-helper svg {
    color: #77bfa0;
    width: 17px;
    height: 17px
}

.auth-main-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    font-size: 11px;
    color: #a6b0c2
}

.auth-main-footer a {
    color: #6976dd;
    font-weight: 650
}

.auth-mobile-brand {
    display: none
}

/* Responsive */
@media(max-width:1200px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .welcome-art {
        width: 160px
    }

    .editor-layout {
        grid-template-columns: minmax(0, 1fr) 235px
    }
}

@media(max-width:970px) {
    .sidebar {
        transform: translateX(-105%);
        transition: transform .22s;
        box-shadow: 15px 0 30px transparent
    }

    .sidebar.is-open {
        transform: translateX(0);
        box-shadow: 15px 0 35px #27345625
    }

    .sidebar-shade:not([hidden]) {
        position: fixed;
        inset: 0;
        background: #17244766;
        z-index: 29
    }

    .main-shell {
        margin-left: 0
    }

    .menu-button {
        display: grid;
        place-items: center
    }

    .topbar {
        padding: 0 25px
    }

    .main-content {
        padding: 28px 25px
    }

    .editor-layout {
        grid-template-columns: minmax(0, 1fr) 250px
    }

    .auth-layout {
        grid-template-columns: 42% 58%
    }

    .auth-art {
        padding: 32px
    }

    .auth-main {
        padding: 28px
    }
}

@media(max-width:720px) {
    .topbar {
        height: 65px;
        padding: 0 17px
    }

    .environment-pill {
        display: none
    }

    .topbar-right {
        gap: 6px
    }

    .top-visit {
        font-size: 11px
    }

    .main-content {
        padding: 24px 16px 10px
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px
    }

    .page-heading h1 {
        font-size: 26px
    }

    .page-heading-action {
        width: 100%
    }

    .page-heading-action .btn {
        width: 100%
    }

    .welcome-banner {
        padding: 25px;
        min-height: 185px
    }

    .welcome-art {
        display: none
    }

    .welcome-copy h2 {
        font-size: 24px
    }

    .stats {
        gap: 11px
    }

    .stat-card {
        padding: 14px
    }

    .stat-card>strong {
        font-size: 26px
    }

    .stat-note {
        display: none
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .section-heading .btn {
        width: 100%
    }

    .table-toolbar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px
    }

    .table-search {
        width: 100%;
        max-width: none
    }

    .filter-select {
        width: 100%
    }

    .table-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .editor-layout {
        grid-template-columns: 1fr
    }

    .editor-side {
        position: static;
        grid-row: 1;
        grid-template-columns: 1fr
    }

    .editor-side .aside-card:not(.publish-card) {
        display: none
    }

    .form-grid {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 17px
    }

    .panel-heading {
        padding: 20px
    }

    .compact-editor .editor-form {
        padding: 20px
    }

    .editor-actions {
        justify-content: stretch
    }

    .editor-actions .btn {
        flex: 1
    }

    .content-footer {
        flex-direction: column;
        margin-top: 28px
    }

    .auth-layout {
        display: block;
        min-height: 100vh
    }

    .auth-art {
        display: none
    }

    .auth-main {
        min-height: 100vh;
        padding: 26px 22px
    }

    .auth-mobile-brand {
        display: flex;
        align-items: center;
        gap: 9px;
        font-size: 21px;
        font-weight: 840;
        letter-spacing: -1px;
        color: #23304a
    }

    .auth-mobile-brand span:last-child {
        color: #6169e5
    }

    .auth-mobile-brand .brand-symbol {
        width: 34px;
        height: 34px;
        font-size: 25px
    }

    .login-card {
        margin: auto;
        max-width: 440px
    }

    .login-head h1 {
        font-size: 30px
    }

    .auth-main-footer {
        padding-top: 30px
    }
}

@media(max-width:410px) {
    .stats {
        grid-template-columns: 1fr 1fr
    }

    .stat-card-head {
        margin-bottom: 9px
    }

    .stat-icon {
        width: 35px;
        height: 35px
    }

    .stat-card .stat-title {
        font-size: 11px
    }

    .stat-card>small {
        font-size: 10px
    }

    .table-footer {
        font-size: 10px
    }

    .breadcrumb-root {
        display: none
    }

    .breadcrumb-divider {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        transition: none !important;
        scroll-behavior: auto !important
    }
}
/* CRUD controls: preserve the existing dashboard layout. */
.row-actions{display:flex;align-items:center;gap:14px;white-space:nowrap}
.delete-form{display:inline-flex;margin:0}
.delete-link{border:0;background:transparent;color:#c04452;font:inherit;font-weight:650;cursor:pointer;padding:6px 2px}
.delete-link:hover,.delete-link:focus-visible{color:#9c2638;text-decoration:underline}
