:root {
    --primary: #00F5A0;
    --primary-dark: #00C47F;
    --secondary: #00D1FF;
    --tertiary: #FFD161;
    --danger: #FF6B6B;
    --bg: #050505;
    --bg-soft: #0B0B0B;
    --surface: #1D1D1D;
    --surface-2: #252525;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .14);
    --text: #F5F5F5;
    --muted: #A3A3A3;
    --muted-2: #6F6F6F;
    --shadow: 0 24px 70px rgba(0, 0, 0, .45);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Montserrat', var(--font);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

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

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

.app-shell {
    min-height: 100vh;
    display: block;
    background:
        radial-gradient(circle at 18% 0%, rgba(0, 245, 160, .12), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(0, 209, 255, .08), transparent 24%),
        var(--bg);
}

.sidebar {
    height: 100vh;
    width: 256px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    padding: 24px 16px;
    background: #131313;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.brand {
    display: block;
    padding: 0 8px 40px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--primary);
    color: #00150D;
    font-weight: 900;
    box-shadow: 0 0 35px rgba(0, 245, 160, .18);
}

.brand strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: -.04em;
    font-weight: 900;
}

.brand span {
    display: block;
    margin-top: 5px;
    color: #B9CBBD;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
}

.nav-label {
    margin: 18px 10px 10px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.nav {
    display: grid;
    gap: 8px;
}

.nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 0;
    color: #B9CBBD;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    border: 0;
    border-right: 4px solid transparent;
    background: transparent;
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(53, 53, 52, .30);
    border-right-color: var(--primary);
    box-shadow: none;
}

.nav-link span {
    display: none;
}

.nav-link i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    font-size: 23px;
    font-style: normal;
    transition: .2s ease;
}

.nav-link.active {
    border-right: 4px solid var(--primary);
}

.nav-link b {
    display: none;
}

.logout-link {
    color: var(--muted);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.operator-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 0 12px;
}

.operator-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 900;
    box-shadow: 0 0 18px rgba(0, 245, 160, .16);
}

.operator-card strong {
    display: block;
    max-width: 140px;
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operator-card span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.main-area {
    min-width: 0;
    min-height: 100vh;
    margin-left: 256px;
}

.topbar {
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 40px;
    background: rgba(19, 19, 19, .80);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.topbar h1 {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

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

.topbar-search {
    width: 280px;
    height: 38px;
    position: relative;
    display: flex;
    align-items: center;
}

.topbar-search i {
    position: absolute;
    left: 12px;
    color: var(--muted);
    font-size: 19px;
}

.topbar-search input {
    width: 100%;
    height: 100%;
    padding: 0 14px 0 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #121212;
    color: var(--text);
    outline: none;
}

.topbar-actions button {
    width: 34px;
    height: 34px;
    position: relative;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.topbar-actions button span {
    width: 8px;
    height: 8px;
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 999px;
    background: var(--danger);
    box-shadow: 0 0 14px rgba(255, 107, 107, .45);
}

.access-level {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.access-level span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.access-level i {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(0, 245, 160, .70);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0, 245, 160, .13);
    border: 1px solid rgba(0, 245, 160, .25);
    color: var(--primary);
    font-weight: 900;
}

.content {
    padding: 40px;
}

.grid {
    display: grid;
    gap: 18px;
}

.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));
}

.card {
    background: rgba(29, 29, 29, .88);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-soft {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
}

.metric-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
    margin-bottom: 12px;
}

.metric-number {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.06em;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-warning { color: var(--tertiary); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--muted); }

.section-title {
    margin: 32px 0 16px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.03em;
}

.module-card {
    transition: .2s ease;
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 245, 160, .24);
}

.module-card h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 9px;
}

.module-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.module-card .action {
    display: inline-flex;
    margin-top: 18px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.ops-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.ops-eyebrow,
.ops-panel-head span,
.ops-map span {
    display: inline-flex;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.ops-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    letter-spacing: .04em;
    font-weight: 900;
    text-transform: uppercase;
}

.ops-hero p {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 650px;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.65;
}

.ops-hero p i {
    color: var(--muted);
    font-size: 18px;
}

.ops-action {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 3px;
    background: var(--primary);
    color: #00150D;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 16px 42px rgba(0, 245, 160, .16);
}

.ops-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.ops-metric-card,
.ops-panel,
.ops-map {
    background: #0D0D0D;
    border: 1px solid rgba(255, 255, 255, .05);
    box-shadow: none;
}

.ops-metric-card {
    position: relative;
    overflow: hidden;
    min-height: 142px;
    padding: 24px;
    border-radius: 12px;
}

.ops-metric-card:hover {
    border-color: rgba(255, 255, 255, .15);
}

.ops-metric-card::after {
    display: none;
}

.ops-metric-card.is-live {
    border-top: 3px solid var(--primary);
}
.ops-metric-card.is-danger {
    border: 2px solid var(--danger);
}
.ops-metric-card.is-warning {
    border-bottom: 3px solid var(--tertiary);
}

.ops-metric-card span {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.ops-metric-card span i {
    color: inherit;
    font-size: 22px;
    font-style: normal;
}

.ops-metric-card.is-live span i {
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 15px rgba(0, 245, 160, .60);
}

.ops-metric-card strong {
    display: block;
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.07em;
    font-weight: 900;
}

.ops-metric-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 800;
}

.ops-metric-card.is-live strong { color: var(--primary); }
.ops-metric-card.is-danger strong { color: var(--danger); }
.ops-metric-card.is-warning strong { color: var(--tertiary); }

.ops-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr);
    gap: 24px;
}

.ops-panel {
    border-radius: 16px;
    padding: 28px;
}

.ops-feed {
    height: 600px;
    overflow: hidden;
}

.ops-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.ops-panel-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: .04em;
    font-weight: 900;
    text-transform: uppercase;
}

.ops-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ops-tags b,
.ops-panel-head > b {
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.ops-feed-list {
    display: grid;
    gap: 14px;
    max-height: 498px;
    overflow-y: auto;
    padding-right: 6px;
}

.ops-feed-list::-webkit-scrollbar {
    width: 4px;
}

.ops-feed-list::-webkit-scrollbar-track {
    background: #0D0D0D;
}

.ops-feed-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #353534;
}

.ops-feed-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: .2s ease;
}

.ops-feed-item.warning {
    background: #1A170A;
    border-color: rgba(255, 209, 97, .26);
}

.ops-feed-item.danger {
    background: #1A0A0A;
    border-color: rgba(255, 107, 107, .24);
}

.ops-feed-item:hover {
    border-color: rgba(0, 245, 160, .22);
    transform: translateY(-2px);
}

.ops-feed-item .ops-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #202020, #080808);
    border: 1px solid rgba(255, 255, 255, .10);
    color: var(--primary);
    font-style: normal;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(0, 245, 160, .12);
    overflow: hidden;
}

.ops-feed-item .ops-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: .2s ease;
}

.ops-feed-item:hover .ops-avatar img {
    filter: grayscale(0%);
}

.ops-feed-item.warning .ops-avatar {
    color: var(--tertiary);
    border-color: rgba(255, 209, 97, .22);
}

.ops-feed-item.danger .ops-avatar {
    color: var(--danger);
    border-color: rgba(255, 107, 107, .24);
}

.ops-feed-item strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
}

.ops-feed-item p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.ops-feed-item em {
    color: var(--secondary);
    font-style: normal;
    font-weight: 700;
}

.ops-feed-item > span {
    display: grid;
    justify-items: end;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 245, 160, .08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.ops-feed-item > span small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-transform: none;
}

.ops-feed-item.warning > span {
    background: var(--tertiary);
    color: #251A00;
}

.ops-feed-item.danger > span {
    background: #93000A;
    color: #FFFFFF;
}

.ops-side {
    display: grid;
    gap: 18px;
}

.ops-panel-head.compact {
    margin-bottom: 18px;
}

.ops-bars {
    display: grid;
    gap: 17px;
}

.ops-bars div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: center;
}

.ops-bars span,
.ops-bars b {
    font-size: 12px;
}

.ops-bars b {
    color: var(--primary);
}

.ops-bars i {
    grid-column: 1 / -1;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .075);
}

.ops-bars i::before {
    content: '';
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.ops-map {
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
    padding: 24px;
    background:
        linear-gradient(180deg, transparent, rgba(13, 13, 13, .96)),
        radial-gradient(circle at 70% 30%, rgba(0, 245, 160, .22), transparent 34%),
        linear-gradient(135deg, rgba(0, 209, 255, .08), rgba(0, 245, 160, .04)),
        rgba(13, 13, 13, .95);
}

.ops-map::before {
    content: '';
    position: absolute;
    inset: 0;
    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: 34px 34px;
    opacity: .45;
}

.ops-map > * {
    position: relative;
    z-index: 1;
}

.ops-map strong {
    margin-top: 10px;
    font-size: 19px;
    font-weight: 900;
}

.ops-map p {
    max-width: 300px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    border-radius: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: all .2s ease;
}

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

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--primary);
    color: #00150D;
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.15);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 22px rgba(0, 245, 160, 0.25);
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--border);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: rgba(255, 255, 255, .22);
}

.form-control {
    width: 100%;
    height: 50px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .035);
    color: var(--text);
    outline: none;
    padding: 0 15px;
    transition: .2s ease;
}

.form-control:focus {
    border-color: rgba(0, 245, 160, .65);
    box-shadow: 0 0 0 4px rgba(0, 245, 160, .10);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #C9D8D0;
    font-size: 12px;
    font-weight: 900;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.badge-success {
    background: rgba(0, 245, 160, .12);
    border-color: rgba(0, 245, 160, .22);
    color: var(--primary);
}

.badge-warning {
    background: rgba(255, 209, 97, .12);
    border-color: rgba(255, 209, 97, .22);
    color: var(--tertiary);
}

.placeholder {
    min-height: 360px;
    display: grid;
    place-items: center;
    text-align: center;
}

.placeholder h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.06em;
    margin-bottom: 10px;
}

.placeholder p {
    max-width: 580px;
    color: var(--muted);
    line-height: 1.7;
}

.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        radial-gradient(circle at 10% 0%, rgba(0, 245, 160, .20), transparent 28%),
        radial-gradient(circle at 86% 12%, rgba(0, 209, 255, .12), transparent 25%),
        linear-gradient(135deg, rgba(0, 245, 160, .045), rgba(0, 209, 255, .02) 38%, transparent 68%),
        var(--bg);
    position: relative;
    overflow: hidden;
}

.login-page {
    width: 100%;
    max-width: 1220px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    overflow: hidden;
    border-radius: 38px;
    border: 1px solid rgba(255, 255, 255, .12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(18, 18, 18, .78);
    box-shadow: 0 36px 110px rgba(0, 0, 0, .74), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(22px);
    position: relative;
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 245, 160, .10), transparent 38%, rgba(0, 209, 255, .06));
    pointer-events: none;
}

.login-hero,
.login-card {
    min-height: 620px;
    position: relative;
    z-index: 1;
}

.login-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(30px, 5vw, 54px);
    border-right: 1px solid rgba(255, 255, 255, .08);
    background:
        radial-gradient(circle at 20% 18%, rgba(0, 245, 160, .12), transparent 34%),
        rgba(255, 255, 255, .015);
}

.login-brand-row {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #DFFEEF;
}

.login-brand-row strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.login-brand-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.login-copy h1 {
    max-width: 650px;
    font-size: clamp(46px, 6vw, 82px);
    line-height: .86;
    letter-spacing: -.07em;
    font-weight: 900;
    text-wrap: balance;
}

.login-copy p {
    max-width: 570px;
    margin-top: 24px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 15px;
}

.login-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 560px;
}

.login-highlights div {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--border);
}

.login-highlights strong {
    display: block;
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.login-highlights span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.chip {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: #C9D8D0;
    font-size: 12px;
    font-weight: 900;
}

.login-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(30px, 5vw, 54px);
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
    overflow: hidden;
}

.login-panel-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -140px;
    top: 70px;
    border-radius: 999px;
    background: rgba(0, 245, 160, .16);
    filter: blur(90px);
    pointer-events: none;
}

.login-card form {
    width: 100%;
    max-width: 410px;
    position: relative;
    z-index: 2;
}

.login-form-header {
    margin-bottom: 28px;
}

.login-card h2 {
    margin-top: 18px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.06em;
    margin-bottom: 10px;
}

.login-card .subtitle {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 14px;
}

.login-card .form-control {
    height: 58px;
    border-radius: 16px;
    background: rgba(5, 5, 5, .48);
}

.login-card .btn-primary {
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 245, 160, .18);
}

.login-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 52px rgba(0, 245, 160, .24);
}

.form-group {
    margin-bottom: 17px;
}

.form-hint {
    margin-top: 18px;
    color: var(--muted-2);
    font-size: 12px;
    line-height: 1.6;
}

.auth-error {
    margin-bottom: 18px;
}

.login-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: var(--muted-2);
    font-size: 12px;
    line-height: 1.55;
}

.login-security-note span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 999px;
    margin-top: 5px;
    background: var(--primary);
    box-shadow: 0 0 16px rgba(0, 245, 160, .72);
}

.login-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 36px 36px;
}

.onboarding-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% -10%, rgba(0, 245, 160, .14), transparent 28%),
        radial-gradient(circle at 90% 18%, rgba(0, 209, 255, .08), transparent 30%),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

.onboarding-header {
    height: 82px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    background: rgba(5, 5, 5, .76);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.support-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.support-pill i {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 18px rgba(0, 245, 160, .7);
}

.onboarding-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 124px 24px 44px;
}

.onboarding-wrap {
    width: 100%;
    max-width: 760px;
}

.stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 9%;
    right: 9%;
    height: 1px;
    background: rgba(255, 255, 255, .10);
}

.step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 10px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.step b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(29, 29, 29, .92);
    border: 2px solid rgba(255, 255, 255, .14);
    color: var(--muted);
}

.step.active {
    color: var(--primary);
}

.step.active b {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 24px rgba(0, 245, 160, .20);
}

.activation-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 48px);
}

.activation-glow {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: rgba(0, 245, 160, .14);
    filter: blur(80px);
    pointer-events: none;
}

.activation-copy {
    position: relative;
    margin-bottom: 30px;
}

.activation-copy h1 {
    margin-top: 16px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: .95;
    letter-spacing: -.07em;
    font-weight: 900;
}

.activation-copy p {
    max-width: 590px;
    margin-top: 15px;
    color: var(--muted);
    line-height: 1.75;
}

.activation-form {
    position: relative;
}

.activation-button {
    width: 100%;
    margin-top: 12px;
    min-height: 56px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.trust-row span {
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
}

.onboarding-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .035;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 38px 38px;
}

@media (max-width: 1100px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-area {
        margin-left: 0;
    }

    .topbar {
        position: relative;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .topbar-left,
    .topbar-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .topbar-search {
        width: 100%;
    }

    .ops-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-hero,
    .login-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .content,
    .topbar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .ops-metrics {
        grid-template-columns: 1fr;
    }

    .ops-hero h2 {
        font-size: 36px;
    }

    .ops-panel,
    .ops-map,
    .ops-metric-card {
        border-radius: 20px;
        padding: 20px;
    }

    .ops-feed {
        height: auto;
        min-height: auto;
    }

    .ops-feed-item {
        grid-template-columns: 48px 1fr;
        align-items: flex-start;
    }

    .ops-feed-item > span {
        grid-column: 2;
    }

    .card {
        border-radius: 22px;
        padding: 20px;
    }
}

.login-page::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 37px;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .035;
    pointer-events: none;
}

.login-highlights div {
    backdrop-filter: blur(14px);
}

.login-orbit-card {
    position: absolute;
    min-width: 148px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(10, 10, 10, .62);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .36);
    backdrop-filter: blur(18px);
    z-index: 2;
}

.login-orbit-card span,
.login-orbit-card small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-orbit-card strong {
    display: block;
    margin: 6px 0;
    color: var(--primary);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.login-orbit-card-one {
    right: 34px;
    top: 104px;
}

.login-orbit-card-two {
    right: 78px;
    bottom: 126px;
}

.login-preview-card {
    position: absolute;
    left: 40px;
    bottom: 38px;
    right: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
}

.login-preview-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.login-preview-card strong {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 900;
}

.login-preview-card i {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 22px rgba(0, 245, 160, .8);
}

@media (max-width: 900px) {
    .login-orbit-card,
    .login-preview-card {
        display: none;
    }
}

.auth-experience {
    width: min(1180px, calc(100vw - 48px));
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.auth-brand-panel,
.auth-login-card {
    border: 1px solid rgba(255, 255, 255, .10);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)),
        rgba(16, 16, 16, .74);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .56), inset 0 1px 0 rgba(255, 255, 255, .08);
    backdrop-filter: blur(22px);
}

.auth-brand-panel {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: 34px;
}

.auth-brand-panel::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    left: -180px;
    top: -160px;
    border-radius: 999px;
    background: rgba(0, 245, 160, .18);
    filter: blur(120px);
}

.auth-brand-panel::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 35px;
    background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .04;
}

.auth-topline,
.auth-hero-grid {
    position: relative;
    z-index: 2;
}

.auth-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(0, 245, 160, .10);
    border: 1px solid rgba(0, 245, 160, .22);
    color: var(--primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.auth-live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 16px rgba(0, 245, 160, .8);
}

.auth-hero-grid {
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: end;
}

.auth-copy-block {
    padding-bottom: 30px;
}

.auth-copy-block h1 {
    max-width: 660px;
    font-size: clamp(46px, 5.8vw, 82px);
    line-height: .88;
    letter-spacing: -.075em;
    font-weight: 900;
    text-wrap: balance;
}

.auth-copy-block p {
    max-width: 610px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.auth-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.auth-feature-row span {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid var(--border);
    color: #D7E7DE;
    font-size: 12px;
    font-weight: 900;
}

.auth-dashboard-preview {
    position: relative;
    border-radius: 30px;
    padding: 22px;
    background:
        linear-gradient(180deg, rgba(0, 245, 160, .10), rgba(255,255,255,.03)),
        rgba(8, 8, 8, .72);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 70px rgba(0,0,0,.44);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.preview-header span,
.preview-metrics span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.preview-header strong {
    color: var(--primary);
    font-size: 46px;
    line-height: .9;
    font-weight: 900;
    letter-spacing: -.07em;
}

.preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.preview-metrics div {
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--border);
}

.preview-metrics b {
    display: block;
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.preview-bars {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.preview-bars i {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), rgba(0, 245, 160, .12));
}

.preview-bars i:nth-child(2) {
    width: 78%;
    background: linear-gradient(90deg, var(--secondary), rgba(0, 209, 255, .10));
}

.preview-bars i:nth-child(3) {
    width: 58%;
    background: linear-gradient(90deg, var(--tertiary), rgba(255, 209, 97, .10));
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D7E7DE;
    font-size: 12px;
    font-weight: 900;
}

.preview-status span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 18px rgba(0, 245, 160, .75);
}

.auth-login-panel {
    display: flex;
    align-items: center;
}

.auth-login-card {
    width: 100%;
    border-radius: 32px;
    padding: 34px;
}

.auth-login-card h2 {
    margin-top: 18px;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 900;
}

.auth-login-card > p {
    margin: 10px 0 30px;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.auth-login-card .form-label {
    margin-top: 16px;
}

.auth-login-card .form-control {
    height: 58px;
    border-radius: 16px;
    background: rgba(5, 5, 5, .56);
}

.auth-login-card .btn-primary {
    width: 100%;
    min-height: 58px;
    margin-top: 22px;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 245, 160, .20);
}

@media (max-width: 1050px) {
    .auth-experience {
        grid-template-columns: 1fr;
    }

    .auth-hero-grid {
        grid-template-columns: 1fr;
    }

    .auth-dashboard-preview {
        display: none;
    }
}

.login-body {
    display: block;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.auth-grid-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .7;
}

.auth-blob {
    position: fixed;
    width: 620px;
    height: 620px;
    border-radius: 999px;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 245, 160, .12), rgba(0, 245, 160, 0) 70%);
    filter: blur(60px);
    z-index: 0;
}

.auth-blob-one {
    top: -250px;
    left: -220px;
}

.auth-blob-two {
    right: -220px;
    bottom: -260px;
    opacity: .55;
}

.auth-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(18px, 4vw, 44px);
    background: rgba(5, 5, 5, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
}

.auth-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.auth-header-actions span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.auth-header-actions a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .035);
    font-weight: 900;
}

.auth-shell {
    position: relative;
    z-index: 2;
    width: min(1520px, calc(100vw - 48px));
    min-height: calc(100vh - 146px);
    margin: 0 auto;
    padding: 112px 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: clamp(34px, 7vw, 120px);
    align-items: center;
}

.auth-hero-section {
    max-width: 760px;
}

.auth-copy-block h1 {
    max-width: 760px;
    font-size: clamp(44px, 5vw, 74px);
    line-height: .98;
    letter-spacing: -.075em;
    font-weight: 900;
    color: #fff;
}

.auth-copy-block p {
    max-width: 650px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.auth-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 46px;
}

.auth-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.auth-trust-item > span {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    flex: 0 0 26px;
    color: var(--primary);
    font-weight: 900;
}

.auth-trust-item strong,
.auth-trust-item small {
    display: block;
}

.auth-trust-item strong {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.auth-trust-item small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.auth-presence {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
}

.auth-presence i,
.auth-context-alert i {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 16px rgba(0, 245, 160, .8);
}

.auth-login-panel {
    display: block;
}

.auth-login-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(30px, 4vw, 46px);
    background: rgba(20, 20, 20, .48);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
    backdrop-filter: blur(24px);
}

.auth-login-card::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    top: -70px;
    right: -70px;
    border-radius: 999px;
    background: rgba(0, 245, 160, .14);
    filter: blur(50px);
}

.auth-lock-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.auth-lock-row span {
    font-size: 10px;
}

.auth-login-card h2 {
    margin-top: 18px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.auth-login-card > p {
    margin: 10px 0 32px;
    color: var(--muted);
    line-height: 1.6;
}

.auth-input-wrap {
    position: relative;
    margin-bottom: 20px;
}

.auth-input-wrap > span {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    font-weight: 900;
    z-index: 1;
}

.auth-input-wrap .form-control {
    height: 58px;
    padding-left: 46px;
    border-radius: 16px;
    background: rgba(18, 18, 18, .62);
}

.auth-password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-password-row a {
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .78;
}

.auth-login-card .btn-primary {
    width: 100%;
    min-height: 58px;
    margin-top: 4px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 0 22px rgba(0, 245, 160, .24);
}

.auth-context-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 0 22px;
    color: var(--muted);
}

.auth-context-alert div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-context-alert span,
.auth-context-alert strong {
    font-size: 12px;
    font-weight: 900;
}

.auth-context-alert strong {
    color: #fff;
}

.auth-footer {
    position: relative;
    z-index: 2;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(18px, 4vw, 44px);
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: var(--muted-2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.auth-footer nav {
    display: flex;
    gap: 26px;
}

.auth-footer a:hover {
    color: var(--primary);
}

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

    .auth-login-panel {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .auth-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .auth-header-actions span,
    .auth-footer nav {
        display: none;
    }

    .auth-trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .login-body {
        min-height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .auth-grid-pattern {
        background-size: 30px 30px;
        opacity: .45;
    }

    .auth-blob {
        width: 420px;
        height: 420px;
        filter: blur(54px);
    }

    .auth-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;
        height: 64px;
        padding: 0 16px;
        margin: 0;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 12px;
    }

    .login-brand-row {
        gap: 10px;
    }

    .login-brand-row strong {
        font-size: 13px;
    }

    .login-brand-row small {
        font-size: 8px;
        letter-spacing: .10em;
    }

    .auth-header-actions a {
        width: 32px;
        height: 32px;
    }

    .auth-shell {
        width: 100%;
        min-height: auto;
        padding: 88px 16px 30px;
        gap: 26px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .auth-hero-section {
        max-width: none;
        text-align: left;
        order: 2;
    }

    .auth-login-panel {
        order: 1;
    }

    .eyebrow {
        font-size: 10px;
        margin-bottom: 14px;
    }

    .auth-copy-block h1 {
        font-size: clamp(30px, 10vw, 40px);
        line-height: .96;
        letter-spacing: -.065em;
    }

    .auth-copy-block p {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.6;
    }

    .auth-trust-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .auth-trust-item {
        gap: 12px;
    }

    .auth-trust-item > span {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .auth-trust-item strong {
        font-size: 13px;
    }

    .auth-trust-item small {
        font-size: 9px;
    }

    .auth-presence {
        margin-top: 24px;
        font-size: 12px;
    }

    .auth-login-panel {
        max-width: none;
        width: 100%;
    }

    .auth-login-card {
        border-radius: 28px;
        padding: 28px 20px;
    }

    .auth-login-card h2 {
        font-size: 28px;
    }

    .auth-login-card > p {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .auth-input-wrap {
        margin-bottom: 18px;
    }

    .auth-input-wrap .form-control {
        height: 56px;
        font-size: 16px;
    }

    .auth-input-password .form-control {
        padding-right: 52px;
    }

    .auth-input-password .auth-password-toggle {
        right: 10px;
        top: 28px;
        transform: none;
    }

    .auth-password-row a {
        font-size: 9px;
    }

    .auth-login-card .btn-primary {
        min-height: 56px;
        font-size: 13px;
    }

    .login-security-note {
        margin-top: 18px;
        font-size: 11px;
    }

    .auth-context-alert {
        margin-top: 18px;
        padding: 0 8px;
    }

    .auth-footer {
        min-height: auto;
        padding: 22px 16px 28px;
        font-size: 9px;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    .auth-copy-block h1 {
        font-size: 34px;
    }

    .auth-login-card {
        padding: 24px 16px;
        border-radius: 24px;
    }

    .auth-password-row {
        align-items: flex-start;
        gap: 8px;
    }
}

.auth-input-password {
    position: relative;
}

.auth-input-password .form-control {
    width: 100%;
    padding-right: 56px;
}

.auth-input-password .auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted-2);
    cursor: pointer;
    z-index: 5;
    appearance: none;
    -webkit-appearance: none;
}

.auth-input-password .auth-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-input-password .auth-password-toggle:hover,
.auth-input-password .auth-password-toggle.is-visible {
    color: var(--primary);
    background: rgba(0, 245, 160, .08);
}

@media (max-width: 560px) {
    .auth-input-password .auth-password-toggle {
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
    }
}

/* ==========================================
   CUSTOM UI SELECTS & DATEPICKERS (PREMIUM DARK MODE)
   ========================================== */

/* Custom Select Dropdowns */
.custom-select-container {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    cursor: pointer;
    background-color: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
}

.custom-select-trigger:hover {
    border-color: rgba(0, 245, 160, 0.3) !important;
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.05);
}

.custom-select-trigger:focus,
.custom-select-trigger.border-\[\#00F5A0\] {
    border-color: #00F5A0 !important;
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.2) !important;
}

.custom-select-dropdown {
    background: #0d0d0d !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.custom-select-dropdown::-webkit-scrollbar {
    width: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 245, 160, 0.4);
}

.custom-select-option {
    transition: all 0.15s ease !important;
}

.custom-select-option:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #F5F5F5 !important;
}

/* Custom Datepicker Input & Calendar */
.custom-datepicker-container {
    position: relative;
    width: 100%;
}

.custom-datepicker-input {
    cursor: pointer;
    background-color: #121212 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease-in-out !important;
}

.custom-datepicker-input:hover {
    border-color: rgba(0, 245, 160, 0.3) !important;
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.05);
}

.custom-datepicker-input:focus,
.custom-datepicker-input.border-\[\#00F5A0\] {
    border-color: #00F5A0 !important;
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.2) !important;
}

.custom-datepicker-calendar {
    background: #0d0d0d !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
    width: 280px;
}

/* Datepicker internals transition and style polish */
.custom-datepicker-calendar button {
    transition: all 0.2s ease;
}

.custom-datepicker-calendar button:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
}

.custom-datepicker-calendar .grid-cols-7 > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
}

/* ==========================================
   DATEPICKER GRID & Z-INDEX CORRECTIONS (Tree-shaking Purge Bypass)
   ========================================== */

/* Scope layout styles inside the calendar to bypass PurgeCSS/Tailwind tree-shaking */
.custom-datepicker-calendar .flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.custom-datepicker-calendar .grid {
    display: grid !important;
}

.custom-datepicker-calendar .grid-cols-7 {
    grid-template-columns: repeat(7, 1fr) !important;
}

.custom-datepicker-calendar .gap-1 {
    gap: 4px !important;
}

.custom-datepicker-calendar .text-center {
    text-align: center !important;
}

.custom-datepicker-calendar .text-xs {
    font-size: 12px !important;
}

.custom-datepicker-calendar .text-\[10px\] {
    font-size: 10px !important;
}

.custom-datepicker-calendar .font-bold {
    font-weight: 700 !important;
}

.custom-datepicker-calendar .mb-2 {
    margin-bottom: 8px !important;
}

.custom-datepicker-calendar .mb-3 {
    margin-bottom: 12px !important;
}

.custom-datepicker-calendar .mt-3 {
    margin-top: 12px !important;
}

.custom-datepicker-calendar .pt-2 {
    padding-top: 8px !important;
}

.custom-datepicker-calendar .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Elevate the container and card stacking context when a dropdown or calendar is active */
section.glass-card {
    position: relative;
    z-index: 1;
}

section.glass-card:focus-within {
    z-index: 100 !important;
}

.custom-datepicker-container:focus-within {
    z-index: 200 !important;
}

.custom-select-container:focus-within {
    z-index: 200 !important;
}

/* ==========================================
   CUSTOM AJAX REGISTRATION MODAL STYLES
   ========================================== */
#custom-register-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 0 !important;
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
}

#custom-register-modal.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#custom-register-modal .modal-content {
    width: 100%;
    max-width: 440px;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    transform: scale(0.95);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

#custom-register-modal.show .modal-content {
    transform: scale(1);
}

/* ==========================================
   TOAST CONTAINER STACKING FIX
   ========================================== */
#toast-container {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    pointer-events: none !important;
}

/* ==========================================
   PREMIUM UPLOAD & VIEW BUTTONS
   ========================================== */
.btn-upload {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 20px !important;
    background: rgba(0, 245, 160, 0.08) !important;
    color: #00F5A0 !important;
    border: 1px solid rgba(0, 245, 160, 0.25) !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.02) !important;
}

.btn-upload:hover {
    background: #00F5A0 !important;
    color: #00150D !important;
    border-color: #00F5A0 !important;
    box-shadow: 0 0 15px rgba(0, 245, 160, 0.3) !important;
}

.btn-upload:active {
    transform: scale(0.96) !important;
}

.btn-view {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.btn-view:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(0, 245, 160, 0.3) !important;
    color: #00F5A0 !important;
}

.btn-view:active {
    transform: scale(0.96) !important;
}

/* Elevate current active glass-card above adjacent cards when custom select or datepicker is open */
.glass-card.z-active, section.z-active, .z-active {
    z-index: 100 !important;
}

/* ==========================================
   PROPOSALS PREMIUM VIEW & CARDS STYLES
   ========================================== */

/* Bento Stats Cards Premium styling */
.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
@media (max-width: 1024px) {
    .crm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 640px) {
    .crm-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.crm-stat-card {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.75) 0%, rgba(8, 8, 8, 0.95) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 24px;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}
.crm-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.8);
}
.crm-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(var(--color-rgb), 0.08) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.crm-stat-card:hover::before { opacity: 1; }
.crm-stat-glow-bar {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: rgba(var(--color-rgb), 0.3); transition: all 0.3s ease;
}
.crm-stat-card:hover .crm-stat-glow-bar {
    height: 5px;
    background: rgba(var(--color-rgb), 0.95);
    box-shadow: 0 0 12px rgba(var(--color-rgb), 0.8);
}
.crm-stat-header { display: flex; justify-content: space-between; align-items: flex-start; }
.crm-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.12em; color: #A3A3A3; line-height: 1.2;
}
.crm-stat-icon-wrapper {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(var(--color-rgb), 0.06); border: 1px solid rgba(var(--color-rgb), 0.15);
    color: rgba(var(--color-rgb), 0.85); transition: all 0.3s ease;
}
.crm-stat-card:hover .crm-stat-icon-wrapper {
    background: rgba(var(--color-rgb), 0.15); border-color: rgba(var(--color-rgb), 0.4);
    color: rgba(var(--color-rgb), 1); transform: scale(1.08) rotate(3deg);
}
.crm-stat-icon-wrapper .material-symbols-outlined { font-size: 22px; }
.crm-stat-body { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; z-index: 2; }
.crm-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px; font-weight: 900; line-height: 1;
    color: #FFFFFF; letter-spacing: -0.02em; transition: all 0.3s ease;
}
.crm-stat-card:hover .crm-stat-number {
    color: rgba(var(--color-rgb), 1);
    text-shadow: 0 0 10px rgba(var(--color-rgb), 0.2);
}
.crm-stat-subtitle { font-size: 11px; font-weight: 600; color: #737373; text-transform: lowercase; }

/* Badges */
.status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px; border: 1px solid;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.status-badge--rascunho { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); color: #a3a3a3; }
.status-badge--enviada { background: rgba(255, 159, 67, 0.08); border-color: rgba(255, 159, 67, 0.25); color: #ff9f43; }
.status-badge--aprovada { background: rgba(0, 245, 160, 0.08); border-color: rgba(0, 245, 160, 0.25); color: #00f5a0; }
.status-badge--convertida { background: rgba(181, 95, 230, 0.08); border-color: rgba(181, 95, 230, 0.25); color: #b55fe6; }
.status-badge--recusada { background: rgba(255, 107, 107, 0.08); border-color: rgba(255, 107, 107, 0.25); color: #ff6b6b; }

.status-badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Proposal Cards */
.cc-card {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.cc-card--rascunho:hover  { border-color: rgba(255,255,255,.15);  box-shadow: 0 12px 40px rgba(255,255,255,.05); }
.cc-card--enviada:hover   { border-color: rgba(255,159,67,.25);  box-shadow: 0 12px 40px rgba(255,159,67,.08); }
.cc-card--aprovada:hover  { border-color: rgba(0,245,160,.25);   box-shadow: 0 12px 40px rgba(0,245,160,.08); }
.cc-card--convertida:hover{ border-color: rgba(181,95,230,.25);  box-shadow: 0 12px 40px rgba(181,95,230,.08); }
.cc-card--recusada:hover  { border-color: rgba(255,107,107,.25); box-shadow: 0 12px 40px rgba(255,107,107,.08); }

/* Card components */
.cc-bar { height: 3px; width: 100%; }
.cc-bar--rascunho  { background: rgba(255,255,255,.1); }
.cc-bar--enviada   { background: linear-gradient(90deg, transparent, #ff9f43, transparent); }
.cc-bar--aprovada  { background: linear-gradient(90deg, transparent, #00F5A0, transparent); }
.cc-bar--convertida{ background: linear-gradient(90deg, transparent, #b55fe6, transparent); }
.cc-bar--recusada  { background: linear-gradient(90deg, transparent, #ff6b6b, transparent); }

.cc-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.cc-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cc-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cc-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 900; flex-shrink: 0; border: 1px solid;
    transition: transform .25s;
}
.cc-card:hover .cc-avatar { transform: scale(1.06); }
.cc-avatar--rascunho  { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #888; }
.cc-avatar--enviada   { background: rgba(255,159,67,.12); border-color: rgba(255,159,67,.3); color: #ff9f43; }
.cc-avatar--aprovada  { background: rgba(0,245,160,.12); border-color: rgba(0,245,160,.3); color: #00F5A0; }
.cc-avatar--convertida{ background: rgba(181,95,230,.12); border-color: rgba(181,95,230,.3); color: #b55fe6; }
.cc-avatar--recusada  { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.3); color: #FF6B6B; }

/* Clientes: status-based avatar colors */
.cc-avatar--ativo   { background: rgba(0,245,160,.12);  border-color: rgba(0,245,160,.3);  color: #00F5A0; }
.cc-avatar--inativo { background: rgba(255,107,107,.12); border-color: rgba(255,107,107,.3); color: #FF6B6B; }
.cc-avatar--default { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #888; }

/* Serviços: dynamic palette (hash-based index 0-5) */
.cc-avatar--c0 { background: rgba(0,245,160,.12);  border-color: rgba(0,245,160,.3);  color: #00F5A0; }
.cc-avatar--c1 { background: rgba(0,209,255,.12);  border-color: rgba(0,209,255,.3);  color: #00D1FF; }
.cc-avatar--c2 { background: rgba(181,95,230,.12); border-color: rgba(181,95,230,.3); color: #b55fe6; }
.cc-avatar--c3 { background: rgba(255,168,40,.12); border-color: rgba(255,168,40,.3); color: #FFA828; }
.cc-avatar--c4 { background: rgba(255,209,97,.12); border-color: rgba(255,209,97,.3); color: #FFD161; }
.cc-avatar--c5 { background: rgba(255,107,107,.12);border-color: rgba(255,107,107,.3);color: #FF6B6B; }

.cc-name-col {
    min-width: 0;
}

.cc-name { font-size: 14px; font-weight: 700; color: #e8eaed; transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-card:hover .cc-name { color: #00F5A0; }
.cc-sub  { font-size: 10px; color: rgba(232,234,237,.4); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* status pill */
.cc-pill {
    display: flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px; border: 1px solid;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    flex-shrink: 0; white-space: nowrap;
}
.cc-pill--rascunho  { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #888; }
.cc-pill--enviada   { background: rgba(255,159,67,.1); border-color: rgba(255,159,67,.35); color: #ff9f43; }
.cc-pill--aprovada  { background: rgba(0,245,160,.1); border-color: rgba(0,245,160,.35); color: #00F5A0; }
.cc-pill--convertida{ background: rgba(181,95,230,.1); border-color: rgba(181,95,230,.35); color: #b55fe6; }
.cc-pill--recusada  { background: rgba(255,107,107,.1); border-color: rgba(255,107,107,.35); color: #FF6B6B; }
.cc-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.cc-dot--rascunho   { background: #555; }
.cc-dot--enviada    { background: #ff9f43; }
.cc-dot--aprovada   { background: #00F5A0; animation: pulse 2s infinite; }
.cc-dot--convertida { background: #b55fe6; }
.cc-dot--recusada   { background: #FF6B6B; }

/* bento cells */
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-cell {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px; padding: 10px 12px;
}
.cc-cell--full { grid-column: span 2; }
.cc-cell-label {
    display: flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 600; text-transform: uppercase;
    letter-spacing: .08em; color: rgba(232,234,237,.32); margin-bottom: 4px;
}
.cc-cell-label .material-symbols-outlined { font-size: 12px; }
.cc-cell-val { font-size: 11px; font-weight: 600; color: #cdd3da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-cell-val--mono { font-family: monospace; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.cc-cell-val--highlight { color: #00F5A0; font-weight: 800; }

/* service tag */
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 245, 160, 0.05);
    border: 1px solid rgba(0, 245, 160, 0.15);
    color: #00F5A0;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s ease;
}
.service-tag:hover {
    background: rgba(0, 245, 160, 0.12);
    border-color: rgba(0, 245, 160, 0.3);
    box-shadow: 0 0 10px rgba(0, 245, 160, 0.1);
}
.service-tag::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #00F5A0;
    box-shadow: 0 0 6px #00F5A0;
}

.cc-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* footer */
.cc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.cc-type { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.22); }
.cc-type .material-symbols-outlined { font-size: 13px; }
.cc-actions { display: flex; align-items: center; gap: 6px; }
.cc-btn {
    width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease-in-out; text-decoration: none;
}
.cc-btn .material-symbols-outlined { font-size: 14px; }

/* Colored buttons by default */
.cc-btn--view { background: rgba(0, 209, 255, 0.08); color: #00d1ff; border: 1px solid rgba(0, 209, 255, 0.15); }
.cc-btn--view:hover { background: rgba(0, 209, 255, 0.18) !important; color: #00d1ff !important; border-color: rgba(0, 209, 255, 0.45) !important; box-shadow: 0 0 10px rgba(0, 209, 255, 0.15); }

.cc-btn--edit { background: rgba(255, 209, 97, 0.08); color: #ffd161; border: 1px solid rgba(255, 209, 97, 0.15); }
.cc-btn--edit:hover { background: rgba(255, 209, 97, 0.18) !important; color: #ffd161 !important; border-color: rgba(255, 209, 97, 0.45) !important; box-shadow: 0 0 10px rgba(255, 209, 97, 0.15); }

.cc-btn--whatsapp { background: rgba(37, 211, 102, 0.08); color: #25D366; border: 1px solid rgba(37, 211, 102, 0.15); }
.cc-btn--whatsapp:hover { background: rgba(37, 211, 102, 0.18) !important; color: #25D366 !important; border-color: rgba(37, 211, 102, 0.45) !important; box-shadow: 0 0 10px rgba(37, 211, 102, 0.15); }

.cc-btn--email { background: rgba(6, 182, 212, 0.08); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.15); }
.cc-btn--email:hover { background: rgba(6, 182, 212, 0.18) !important; color: #06b6d4 !important; border-color: rgba(6, 182, 212, 0.45) !important; box-shadow: 0 0 10px rgba(6, 182, 212, 0.15); }

.cc-btn--link { background: rgba(181, 95, 230, 0.08); color: #b55fe6; border: 1px solid rgba(181, 95, 230, 0.15); }
.cc-btn--link:hover { background: rgba(181, 95, 230, 0.18) !important; color: #b55fe6 !important; border-color: rgba(181, 95, 230, 0.45) !important; box-shadow: 0 0 10px rgba(181, 95, 230, 0.15); }

.cc-btn--download { background: rgba(59, 130, 246, 0.08); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.15); }
.cc-btn--download:hover { background: rgba(59, 130, 246, 0.18) !important; color: #3b82f6 !important; border-color: rgba(59, 130, 246, 0.45) !important; box-shadow: 0 0 10px rgba(59, 130, 246, 0.15); }

.cc-btn--convert { background: rgba(99, 102, 241, 0.08); color: #6366f1; border: 1px solid rgba(99, 102, 241, 0.15); }
.cc-btn--convert:hover { background: rgba(99, 102, 241, 0.18) !important; color: #6366f1 !important; border-color: rgba(99, 102, 241, 0.45) !important; box-shadow: 0 0 10px rgba(99, 102, 241, 0.15); }

.cc-btn--delete { background: rgba(255, 107, 107, 0.08); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.15); }
.cc-btn--delete:hover { background: rgba(255, 107, 107, 0.18) !important; color: #ff6b6b !important; border-color: rgba(255, 107, 107, 0.45) !important; box-shadow: 0 0 10px rgba(255, 107, 107, 0.15); }

/* ==========================================
   EMAIL CONFIRMATION MODAL (GF SERVICES BRAND GREEN STYLE)
   ========================================== */
#email-confirm-modal, #email-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#email-confirm-modal.opacity-100, #email-modal.opacity-100 {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#email-confirm-modal .modal-card, #email-modal .modal-card {
    width: 100%;
    max-width: 560px;
    background-color: #121214 !important;
    border: 1px solid rgba(0, 245, 160, 0.25) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
    margin: 16px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    transform: scale(0.95);
}

#email-confirm-modal .modal-card.scale-100, #email-modal .modal-card.scale-100 {
    transform: scale(1) !important;
}

#email-confirm-modal .icon-box, #email-modal .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 245, 160, 0.1) !important;
    border: 1px solid rgba(0, 245, 160, 0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f5a0 !important;
    flex-shrink: 0;
}

#email-confirm-modal .destinatario-box, #email-modal .destinatario-box {
    background-color: #1a1a1e !important;
    border: 1px solid rgba(0, 245, 160, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    display: flex;
    align-items: start;
    gap: 12px;
    margin-top: 8px;
}

#email-confirm-modal .destinatario-icon, #email-modal .destinatario-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 245, 160, 0.05) !important;
    border: 1px solid rgba(0, 245, 160, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f5a0 !important;
    flex-shrink: 0;
}

#email-confirm-modal .subject-box, #email-confirm-modal .message-box,
#email-modal .subject-box, #email-modal .message-box {
    background-color: #1a1a1e !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-top: 8px;
}

#email-confirm-modal .message-box, #email-modal .message-box {
    max-height: 180px;
    overflow-y: auto;
}

#email-confirm-modal input[type="text"], #email-confirm-modal textarea,
#email-modal input[type="text"], #email-modal textarea {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

#email-confirm-modal textarea, #email-modal textarea {
    resize: none !important;
    line-height: 1.6 !important;
}

#email-confirm-modal .btn-cancel, #email-modal .btn-cancel {
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

#email-confirm-modal .btn-cancel:hover, #email-modal .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

#email-confirm-modal .btn-submit, #email-modal .btn-submit {
    padding: 12px 32px !important;
    border-radius: 8px !important;
    border: none !important;
    background-color: #00f5a0 !important;
    color: #000000 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 245, 160, 0.3) !important;
    transition: background 0.2s ease !important;
}

#email-confirm-modal .btn-submit:hover, #email-modal .btn-submit:hover {
    background-color: #00d48a !important;
}

/* Modal Form structure helper styling */
.confirm-modal-section {
    margin-bottom: 20px;
}
.confirm-modal-label {
    font-size: 9px;
    font-weight: 700;
    color: #00f5a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* Force brand green color for focused inputs, selects, and textareas */
input:focus, select:focus, textarea:focus,
.focus\:border-primary:focus, .focus\:ring-primary:focus {
    border-color: #00F5A0 !important;
    --tw-ring-color: #00F5A0 !important;
    --tw-ring-opacity: 1 !important;
    box-shadow: 0 0 0 1px #00F5A0 !important;
    outline: none !important;
}

/* ────────────────────────────────────────────────────────────
   MÓDULO DE OCORRÊNCIAS & ADVERTÊNCIAS (RH/OPERACIONAL)
   ──────────────────────────────────────────────────────────── */

/* ── Unified Filter Bar Custom Utilities ── */
.filter-bar-container {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}
@media (max-width: 1024px) {
    .filter-bar-container {
        flex-direction: column;
        align-items: stretch;
    }
}

.filter-input-wrapper {
    position: relative;
    flex: 2 1 280px;
}
.filter-input {
    width: 100%;
    background: #121212;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 16px 10px 40px !important;
    font-size: 12px;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    height: 38px;
}
.filter-input:focus {
    border-color: #00F5A0;
    box-shadow: 0 0 0 1px #00F5A0;
}

.filter-select-wrapper {
    flex: 1 1 160px;
    max-width: 200px;
}
@media (max-width: 1024px) {
    .filter-select-wrapper {
        max-width: 100%;
    }
}
.filter-select {
    width: 100%;
    background: #121212;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    color: #ffffff;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    height: 38px;
}
.filter-select:focus {
    border-color: #00F5A0;
}

.filter-actions-wrapper {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
@media (max-width: 1024px) {
    .filter-actions-wrapper {
        width: 100%;
    }
}
.filter-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #00F5A0;
    color: #000000;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    height: 38px;
    white-space: nowrap;
    text-decoration: none;
}
.filter-btn-submit:hover {
    background: #00d58a;
}
.filter-btn-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    height: 38px;
    text-decoration: none;
}
.filter-btn-clear:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.3);
}

/* ── Ocorrência Cards ── */
.oc-card {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, box-shadow .25s;
}
.oc-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.oc-card--critica:hover  { border-color: rgba(255,71,87,.3);   box-shadow: 0 12px 40px rgba(255,71,87,.08); }
.oc-card--alta:hover     { border-color: rgba(255,168,40,.3);  box-shadow: 0 12px 40px rgba(255,168,40,.08); }
.oc-card--media:hover    { border-color: rgba(255,209,97,.3);  box-shadow: 0 12px 40px rgba(255,209,97,.08); }
.oc-card--baixa:hover    { border-color: rgba(0,245,160,.3);   box-shadow: 0 12px 40px rgba(0,245,160,.08); }

.oc-bar { height: 3px; width: 100%; }
.oc-bar--critica { background: linear-gradient(90deg, transparent, #FF4757, transparent); }
.oc-bar--alta    { background: linear-gradient(90deg, transparent, #FFA828, transparent); }
.oc-bar--media   { background: linear-gradient(90deg, transparent, #FFD161, transparent); }
.oc-bar--baixa   { background: linear-gradient(90deg, transparent, #00F5A0, transparent); }

.oc-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 900; flex-shrink: 0; border: 1px solid;
    transition: transform .25s;
}
.oc-card:hover .oc-avatar { transform: scale(1.06); }
.oc-avatar--critica { background: rgba(255,71,87,.12);  border-color: rgba(255,71,87,.35);  color: #FF4757; }
.oc-avatar--alta    { background: rgba(255,168,40,.12); border-color: rgba(255,168,40,.35); color: #FFA828; }
.oc-avatar--media   { background: rgba(255,209,97,.12); border-color: rgba(255,209,97,.35); color: #FFD161; }
.oc-avatar--baixa   { background: rgba(0,245,160,.12);  border-color: rgba(0,245,160,.35);  color: #00F5A0; }

.oc-name { font-size: 14px; font-weight: 700; color: #e8eaed; transition: color .2s; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.oc-card--critica:hover .oc-name { color: #FF4757; }
.oc-card--alta:hover .oc-name    { color: #FFA828; }
.oc-card--media:hover .oc-name   { color: #FFD161; }
.oc-card--baixa:hover .oc-name   { color: #00F5A0; }
.oc-sub  { font-size: 10px; color: rgba(232,234,237,.4); margin-top: 2px; }

.oc-pill {
    display: flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px; border: 1px solid;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    flex-shrink: 0; white-space: nowrap;
}
.oc-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.oc-pill--aberta     { background: rgba(255,168,40,.1);  border-color: rgba(255,168,40,.35);  color: #FFA828; }
.oc-dot--aberta      { background: #FFA828; }
.oc-pill--em_analise { background: rgba(0,209,255,.1);   border-color: rgba(0,209,255,.35);   color: #00D1FF; }
.oc-dot--em_analise  { background: #00D1FF; animation: pulse 2s infinite; }
.oc-pill--resolvida  { background: rgba(0,245,160,.1);   border-color: rgba(0,245,160,.35);   color: #00F5A0; }
.oc-dot--resolvida   { background: #00F5A0; }
.oc-pill--arquivada  { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #888; }
.oc-dot--arquivada   { background: #555; }

.oc-grav--critica { background: rgba(255,71,87,.1);  border: 1px solid rgba(255,71,87,.3);  color: #FF4757; padding: 2px 8px; border-radius: 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.oc-grav--alta    { background: rgba(255,168,40,.1); border: 1px solid rgba(255,168,40,.3); color: #FFA828; padding: 2px 8px; border-radius: 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.oc-grav--media   { background: rgba(255,209,97,.1); border: 1px solid rgba(255,209,97,.3); color: #FFD161; padding: 2px 8px; border-radius: 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.oc-grav--baixa   { background: rgba(0,245,160,.1);  border: 1px solid rgba(0,245,160,.3);  color: #00F5A0; padding: 2px 8px; border-radius: 6px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.oc-tipo { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.3); display: flex; align-items: center; gap: 4px; }
.oc-tipo .material-symbols-outlined { font-size: 13px; }

.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.oc-cell { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.oc-cell--full { grid-column: span 2; }
.oc-cell-label { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.32); margin-bottom: 4px; }
.oc-cell-label .material-symbols-outlined { font-size: 12px; }
.oc-cell-val { font-size: 11px; font-weight: 600; color: #cdd3da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.oc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.oc-actions { display: flex; align-items: center; gap: 6px; }
.oc-btn {
    width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease-in-out; text-decoration: none;
    border: 1px solid;
}
.oc-btn .material-symbols-outlined { font-size: 14px; }

.oc-btn--edit {
    background: rgba(255,209,97,.08); color: #FFD161;
    border-color: rgba(255,209,97,.15);
}
.oc-btn--edit:hover {
    background: rgba(255,209,97,.2); border-color: rgba(255,209,97,.45);
    box-shadow: 0 0 10px rgba(255,209,97,.15);
}
.oc-btn--del {
    background: rgba(255,71,87,.08); color: #FF4757;
    border-color: rgba(255,71,87,.15);
}
.oc-btn--del:hover {
    background: rgba(255,71,87,.2); border-color: rgba(255,71,87,.45);
    box-shadow: 0 0 10px rgba(255,71,87,.15);
}

.oc-stat {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color .2s;
}
.oc-stat:hover { border-color: rgba(255,255,255,.14); }
.oc-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) {
    .oc-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .oc-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.oc-stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; border: 1px solid;
}
.oc-stat-val { font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.oc-stat-lbl { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.4); margin-top: 2px; }

.oc-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.oc-modal-overlay.show { opacity: 1; pointer-events: auto; }
.oc-modal {
    background: #111; border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 32px; max-width: 420px; width: 90%;
    transform: scale(.95); transition: transform .25s;
}
.oc-modal-overlay.show .oc-modal { transform: scale(1); }

/* ── Advertência Cards ── */
.adv-card {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .25s, box-shadow .25s;
}
.adv-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.adv-card--suspensao:hover { border-color: rgba(255,71,87,.3); box-shadow: 0 12px 40px rgba(255,71,87,.08); }
.adv-card--advertencia:hover { border-color: rgba(255,168,40,.3); box-shadow: 0 12px 40px rgba(255,168,40,.08); }

.adv-bar { height: 3px; width: 100%; }
.adv-bar--suspensao    { background: linear-gradient(90deg, transparent, #FF4757, transparent); }
.adv-bar--advertencia  { background: linear-gradient(90deg, transparent, #FFA828, transparent); }

.adv-avatar {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 900; flex-shrink: 0; border: 1px solid;
    transition: transform .25s;
}
.adv-card:hover .adv-avatar { transform: scale(1.06); }
.adv-avatar--suspensao   { background: rgba(255,71,87,.12);  border-color: rgba(255,71,87,.35);  color: #FF4757; }
.adv-avatar--advertencia { background: rgba(255,168,40,.12); border-color: rgba(255,168,40,.35); color: #FFA828; }

.adv-name { font-size: 14px; font-weight: 700; color: #e8eaed; transition: color .2s; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.adv-card--suspensao:hover .adv-name   { color: #FF4757; }
.adv-card--advertencia:hover .adv-name { color: #FFA828; }
.adv-sub  { font-size: 10px; color: rgba(232,234,237,.4); margin-top: 2px; }

.adv-pill {
    display: flex; align-items: center; gap: 5px;
    padding: 3px 10px; border-radius: 999px; border: 1px solid;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    flex-shrink: 0; white-space: nowrap;
}
.adv-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

.adv-pill--suspensao   { background: rgba(255,71,87,.1);  border-color: rgba(255,71,87,.35);  color: #FF4757; }
.adv-dot--suspensao    { background: #FF4757; }
.adv-pill--advertencia { background: rgba(255,168,40,.1); border-color: rgba(255,168,40,.35); color: #FFA828; }
.adv-dot--advertencia  { background: #FFA828; }

.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.adv-cell { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.adv-cell--full { grid-column: span 2; }
.adv-cell-label { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.32); margin-bottom: 4px; }
.adv-cell-label .material-symbols-outlined { font-size: 12px; }
.adv-cell-val { font-size: 11px; font-weight: 600; color: #cdd3da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.adv-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
.adv-actions { display: flex; align-items: center; gap: 6px; }
.adv-btn {
    width: 28px; height: 28px; border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease-in-out; text-decoration: none;
    border: 1px solid;
}
.adv-btn .material-symbols-outlined { font-size: 14px; }

.adv-btn--edit {
    background: rgba(255,209,97,.08); color: #FFD161;
    border-color: rgba(255,209,97,.15);
}
.adv-btn--edit:hover {
    background: rgba(255,209,97,.2); border-color: rgba(255,209,97,.45);
    box-shadow: 0 0 10px rgba(255,209,97,.15);
}
.adv-btn--del {
    background: rgba(255,71,87,.08); color: #FF4757;
    border-color: rgba(255,71,87,.15);
}
.adv-btn--del:hover {
    background: rgba(255,71,87,.2); border-color: rgba(255,71,87,.45);
    box-shadow: 0 0 10px rgba(255,71,87,.15);
}

.adv-stat {
    background: #0e0f11;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color .2s;
}
.adv-stat:hover { border-color: rgba(255,255,255,.14); }
.adv-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .adv-stats-grid { grid-template-columns: 1fr; }
}
.adv-stat-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; border: 1px solid;
}
.adv-stat-val { font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.adv-stat-lbl { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(232,234,237,.4); margin-top: 2px; }

.adv-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px); z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.adv-modal-overlay.show { opacity: 1; pointer-events: auto; }
.adv-modal {
    background: #111; border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px; padding: 32px; max-width: 420px; width: 90%;
    transform: scale(.95); transition: transform .25s;
}
.adv-modal-overlay.show .adv-modal { transform: scale(1); }




