/* my.digiz.vn — DIGIZ client portal */
:root {
	--pink: #ff5794;
	--coral: #f87263;
	--ink: #2b3445;
	--ink-2: #4a5468;
	--muted: #7a8191;
	--line: #eef0f4;
	--line-2: #e3e6ec;
	--bg: #fbf8f9;
	--surface: #fff;
	--soft: #fff3f6;
	--grad: linear-gradient(120deg, #ff5794 0%, #f87263 100%);
	--shadow-sm: 0 1px 2px rgba(43, 52, 69, .05);
	--shadow: 0 14px 34px -18px rgba(43, 52, 69, .22), 0 2px 6px rgba(43, 52, 69, .04);
	--shadow-pink: 0 14px 30px -12px rgba(255, 87, 148, .5);
	--r: 18px;
	--r-sm: 12px;
	--head: "Montserrat", system-ui, sans-serif;
	--font: "Be Vietnam Pro", system-ui, sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--green: #18a067; --green-bg: #e7f7ef;
	--orange: #e2711d; --orange-bg: #fff2e6;
	--red: #e0345f; --red-bg: #ffe9ef;
	--blue: #3b6ef5; --blue-bg: #ebf1ff;
	--gray: #6b7486; --gray-bg: #f1f2f5;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.6 var(--font); color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0; }
.i { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
::selection { background: var(--pink); color: #fff; }

/* ---------- Sidebar ---------- */
.sb { position: fixed; inset: 0 auto 0 0; z-index: 40; width: 264px; display: flex; flex-direction: column; padding: 22px 16px; background: #fff; border-right: 1px solid var(--line); overflow-y: auto; }
.sb__logo { display: block; padding: 4px 10px 18px; }
.sb__logo img { height: 40px; width: auto; }
.sb__tag { align-self: flex-start; margin: -8px 10px 14px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sb__nav { display: grid; gap: 4px; }
.sb__nav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.sb__nav a:hover { background: var(--soft); color: var(--pink); }
.sb__nav a.is-active { background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.sb__count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 11px/18px var(--font); font-style: normal; text-align: center; }
.sb__nav a.is-active .sb__count { background: #fff; color: var(--pink); }
.sb__foot { margin-top: auto; padding-top: 20px; display: grid; gap: 12px; }
.sb__switch { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px dashed var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink); }
.sb__switch:hover { border-color: var(--pink); color: var(--pink); }
.sb__help { display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: var(--soft); font-size: 13px; }
.sb__help strong { color: var(--ink); font-size: 14px; }
.sb__help a { color: var(--pink); font-weight: 600; }
.sb-backdrop { display: none; }

/* ---------- Top bar ---------- */
.main { margin-left: 264px; min-height: 100vh; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 32px; background: rgba(251, 248, 249, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); cursor: pointer; align-items: center; justify-content: center; }
.top__title { font-size: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top__bell { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line); }
.top__bell:hover { color: var(--pink); }
.top__bell i { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 11px/20px var(--font); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
.top__user { position: relative; }
.top__user summary { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; list-style: none; }
.top__user summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 15px var(--head); flex-shrink: 0; }
.top__name { display: grid; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.25; max-width: 180px; }
.top__name small { font-size: 12px; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: 500 14px var(--font); color: var(--ink-2); text-align: left; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--soft); color: var(--pink); }
.content { flex: 1; width: 100%; max-width: 1280px; padding: 28px 32px 60px; }

/* ---------- Generic ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--side { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
.stack { display: grid; gap: 20px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.mt { margin-top: 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.strong { font-weight: 600; color: var(--ink); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.text-pink { color: var(--pink); }

.card { position: relative; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.card--flush { padding: 0; overflow: hidden; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card--flush .card__head { margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.card__title { font-size: 17px; font-weight: 700; }
.card__sub { margin-top: 2px; font-size: 13px; color: var(--muted); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--pink); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h2 { font-size: 24px; font-weight: 800; }
.page-head p { margin-top: 4px; color: var(--muted); }

/* Hero chào mừng */
.welcome { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 32px; border-radius: 22px; background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.welcome::before, .welcome::after { content: ""; position: absolute; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .1); }
.welcome::before { width: 300px; height: 300px; right: -80px; top: -150px; }
.welcome::after { width: 180px; height: 180px; right: 22%; bottom: -120px; border-width: 24px; }
.welcome h2 { color: #fff; font-size: 24px; }
.welcome p { margin-top: 6px; opacity: .92; max-width: 560px; }
.welcome .btn { position: relative; z-index: 1; }

/* KPI */
.kpi { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
a.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.kpi__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--soft); color: var(--pink); flex-shrink: 0; }
.kpi__icon--green { background: var(--green-bg); color: var(--green); }
.kpi__icon--orange { background: var(--orange-bg); color: var(--orange); }
.kpi__icon--blue { background: var(--blue-bg); color: var(--blue); }
.kpi b { display: block; font: 800 26px/1.1 var(--head); color: var(--ink); letter-spacing: -.03em; }
.kpi span { font-size: 13px; color: var(--muted); }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--green { background: var(--green-bg); color: var(--green); }
.badge--orange { background: var(--orange-bg); color: var(--orange); }
.badge--red { background: var(--red-bg); color: var(--red); }
.badge--blue { background: var(--blue-bg); color: var(--blue); }
.badge--gray { background: var(--gray-bg); color: var(--gray); }
.badge--pink { background: var(--soft); color: var(--pink); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 8px; background: var(--gray-bg); font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: 600 14px var(--font); cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background-color .2s, color .2s; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-pink); }
.btn--primary:hover { box-shadow: 0 18px 34px -12px rgba(255, 87, 148, .65); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--pink); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { color: var(--pink); box-shadow: inset 0 0 0 1.5px rgba(255, 87, 148, .45); }
.btn--danger { background: var(--red-bg); color: var(--red); }
.btn--danger:hover { background: var(--red); color: #fff; }
.btn--success { background: var(--green); color: #fff; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; }
.alert .i { margin-top: 1px; }
.alert--success { background: var(--green-bg); color: #137a50; }
.alert--error { background: var(--red-bg); color: #b4234a; }
.alert--info { background: var(--blue-bg); color: #2e57c4; }
.alert--warning { background: var(--orange-bg); color: #b0560f; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 12px 16px; background: #fcfafb; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); text-align: left; white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .15s; }
.table tbody tr:hover { background: #fffafb; }
.table .title { font-weight: 600; color: var(--ink); }
.table .title a:hover { color: var(--pink); }
.table .sub { display: block; font-size: 12px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field small { font-size: 12px; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: 500 14px var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8191' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255, 87, 148, .12); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; gap: 2px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink); transition: all .2s; }
.seg span small { font-weight: 400; color: var(--muted); }
.seg input:checked + span { border-color: var(--pink); background: var(--soft); color: var(--pink); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters .input { height: 40px; width: auto; min-width: 180px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.tabs a.is-active { background: var(--soft); color: var(--pink); }

/* Lists */
.list { display: grid; }
.list__item { display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.list__item:last-child { border-bottom: 0; }
a.list__item:hover { background: #fffafb; }
.list__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); color: var(--pink); flex-shrink: 0; }
.list__body { flex: 1; min-width: 0; }
.list__body b { display: block; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__body span { font-size: 13px; color: var(--muted); }

.dl { display: grid; grid-template-columns: 150px 1fr; gap: 12px 16px; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; color: var(--ink); word-break: break-word; }

/* Empty */
.empty { text-align: center; padding: 48px 24px; }
.empty__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: var(--soft); color: var(--pink); }
.empty h2, .empty h3 { font-size: 18px; }
.empty p { margin: 8px auto 20px; max-width: 420px; color: var(--muted); }

/* Meter (dung lượng) */
.meter { display: grid; gap: 8px; }
.meter__top { display: flex; justify-content: space-between; font-size: 13px; }
.meter__top b { color: var(--ink); }
.meter__bar { height: 10px; border-radius: 999px; background: var(--gray-bg); overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); width: var(--v); animation: grow 1s var(--ease); }
.meter--warn .meter__bar i { background: linear-gradient(90deg, #f7a23b, #e2711d); }
.meter--danger .meter__bar i { background: linear-gradient(90deg, #ff6b8b, #e0345f); }
@keyframes grow { from { width: 0; } }

/* Project stepper */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; display: grid; justify-items: center; gap: 10px; padding: 0 6px; text-align: center; }
.step::before { content: ""; position: absolute; top: 21px; left: -50%; width: 100%; height: 3px; background: var(--line-2); z-index: 0; }
.step:first-child::before { display: none; }
.step.is-done::before, .step.is-current::before { background: var(--grad); }
.step__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--line-2); font: 700 15px var(--head); color: var(--muted); transition: all .3s; }
.step.is-done .step__dot { background: var(--grad); color: #fff; box-shadow: none; }
.step.is-current .step__dot { background: #fff; color: var(--pink); box-shadow: 0 0 0 3px var(--pink), 0 0 0 9px rgba(255, 87, 148, .14); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px var(--pink), 0 0 0 13px rgba(255, 87, 148, .06); } }
.step b { font-size: 14px; color: var(--ink); }
.step small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mini-steps { display: flex; gap: 4px; }
.mini-steps i { width: 22px; height: 6px; border-radius: 4px; background: var(--line-2); }
.mini-steps i.on { background: var(--grad); }

/* Timeline */
.tl { display: grid; gap: 0; }
.tl__item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 22px; }
.tl__item::before { content: ""; position: absolute; left: 19px; top: 42px; bottom: 0; width: 2px; background: var(--line); }
.tl__item:last-child::before { display: none; }
.tl__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--pink); }
.tl__icon--client { background: var(--blue-bg); color: var(--blue); }
.tl__icon--ok { background: var(--green-bg); color: var(--green); }
.tl__icon--warn { background: var(--orange-bg); color: var(--orange); }
.tl__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tl__meta b { color: var(--ink); }
.tl__msg { margin-top: 6px; padding: 12px 14px; border-radius: 12px; background: #fcfafb; box-shadow: 0 0 0 1px var(--line); font-size: 14px; white-space: pre-line; }
.tl__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--pink); }

/* Acceptance box */
.accept { padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, #fff4ec, #fff0f5); box-shadow: 0 0 0 1.5px rgba(255, 87, 148, .25); }
.accept h3 { font-size: 17px; }

/* Invoice */
.inv { padding: 36px; }
.inv__head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px dashed var(--line-2); }
.inv__head img { height: 40px; width: auto; }
.inv__code { text-align: right; }
.inv__code b { display: block; font: 800 22px var(--head); color: var(--ink); }
.inv__total { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--soft); }
.inv__total b { font: 800 26px var(--head); color: var(--pink); }
.pay-box { padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.pay-box__amount { font: 800 30px var(--head); color: var(--ink); letter-spacing: -.03em; }
.pay-methods { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pay-methods span { padding: 4px 9px; border-radius: 8px; background: var(--gray-bg); font-size: 11px; font-weight: 700; color: var(--ink-2); }

/* Notifications */
.notif { display: flex; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif.is-unread { background: #fff8fa; }
.notif.is-unread .notif__title::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--pink); vertical-align: middle; }
.notif__title { font-weight: 600; color: var(--ink); }
.notif__msg { font-size: 14px; color: var(--ink-2); }
.notif__time { font-size: 12px; color: var(--muted); }

/* Service card */
.svc { display: grid; gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.svc__top { display: flex; align-items: flex-start; gap: 14px; }
.svc__top h3 { font-size: 16px; }
.svc__top .muted { font-size: 13px; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }

/* Auth */
.auth { background: #fff; }
.auth__wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth__side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 56px clamp(32px, 6vw, 88px); background: radial-gradient(70% 60% at 100% 0%, #ffd3e2 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #ffe0d3 0%, transparent 60%), var(--bg); }
.auth__side img { height: 48px; width: auto; }
.auth__side h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; max-width: 480px; }
.auth__side h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth__side ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; max-width: 440px; }
.auth__side li { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .8), var(--shadow-sm); }
.auth__side li .i { color: var(--pink); margin-top: 2px; }
.auth__side li b { display: block; color: var(--ink); }
.auth__side li span { font-size: 13px; color: var(--muted); }
.auth__blob { position: absolute; right: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 87, 148, .08); }
.auth__main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; }
.auth__card { width: 100%; max-width: 420px; }
.auth__card h1 { font-size: 28px; font-weight: 800; }
.auth__card .lead { margin: 8px 0 26px; color: var(--muted); }
.auth__links { display: flex; justify-content: space-between; font-size: 14px; }
.auth__links a, .link { color: var(--pink); font-weight: 600; }
.auth__foot { margin-top: 32px; font-size: 13px; color: var(--muted); }
.auth__foot a:hover { color: var(--pink); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font: 600 12px var(--font); cursor: pointer; padding: 6px 8px; }

/* Responsive */
@media (max-width: 1100px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--side { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.sb { transform: translateX(-100%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
	.sb-open .sb { transform: none; }
	.sb-open .sb-backdrop { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(43, 52, 69, .35); }
	.main { margin-left: 0; }
	.top { padding: 0 16px; height: 64px; }
	.top__burger { display: inline-flex; }
	.top__name { display: none; }
	.top__user summary { padding: 3px; }
	.content { padding: 20px 16px 48px; }
	.auth__wrap { grid-template-columns: 1fr; }
	.auth__side { display: none; }
	.stepper { grid-template-columns: 1fr; gap: 14px; }
	.step { grid-template-columns: 44px 1fr; justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; }
	.step__dot { grid-row: span 2; }
	.step::before { display: none; }
}
@media (max-width: 640px) {
	.grid--2, .grid--3, .form__row, .form__row--3 { grid-template-columns: 1fr; }
	.grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.kpi { padding: 14px; gap: 12px; flex-direction: column; align-items: flex-start; }
	.kpi b { font-size: 22px; }
	.welcome { flex-direction: column; align-items: flex-start; padding: 24px; }
	.card { padding: 18px; }
	.card--flush { padding: 0; }
	.inv { padding: 22px; }
	.dl { grid-template-columns: 1fr; gap: 2px; }
	.dl dd { margin-bottom: 10px; }
	.seg { grid-template-columns: 1fr; }
	.table--stack thead { display: none; }
	.table--stack tr { display: grid; padding: 12px 16px; border-bottom: 1px solid var(--line); }
	.table--stack td { padding: 3px 0; border: 0; text-align: left; }
	.filters .input { min-width: 0; flex: 1; }
	.list__item, .notif { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
