:root {
    --dmo-primary: #435ebe;
    --dmo-primary-dark: #25396f;
    --dmo-background: #f2f7ff;
    --dmo-text: #25396f;
    --dmo-muted: #7c8db5;
    --dmo-card-radius: 14px;
}

body {
    font-family: "Nunito", sans-serif;
    color: var(--dmo-text);
    background-color: var(--dmo-background);
}

.dashboard-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-decoration: none;
}

.dashboard-brand-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 90px;
    flex-shrink: 0;
}

.dashboard-brand-logo {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.sidebar-logout-button {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(circle at top left, rgba(67, 94, 190, 0.16), transparent 34%),
        linear-gradient(135deg, #eef4ff 0%, #ffffff 48%, #f8fbff 100%);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 400px);
    width: min(100%, 1120px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(230, 237, 250, 0.9);
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(37, 57, 111, 0.16);
    backdrop-filter: blur(14px);
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
    padding: 38px 46px;
    overflow: hidden;
    color: var(--dmo-primary-dark);
    background:
        radial-gradient(circle at 18% 14%, rgba(67, 94, 190, 0.14), transparent 24%),
        radial-gradient(circle at 86% 12%, rgba(0, 207, 232, 0.18), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #eef6ff 100%);
}

.auth-visual::before,
.auth-visual::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    animation: authFloat 7s ease-in-out infinite;
}

.auth-visual::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -58px;
}

.auth-visual::after {
    width: 150px;
    height: 150px;
    bottom: 38px;
    left: -46px;
    animation-delay: -2s;
}

.auth-visual-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.auth-visual-header span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--dmo-primary);
    background: #edf2ff;
    border: 1px solid #dfe8ff;
    border-radius: 999px;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-bottom: 20px;
}

.auth-visual-logo {
    width: 82px;
    height: auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 18px;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
}

.auth-visual-content h2 {
    margin-bottom: 16px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.08;
}

.auth-visual-content p {
    margin-bottom: 0;
    color: var(--dmo-muted);
    font-size: 15px;
    line-height: 1.7;
}

.auth-dashboard-preview {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    padding: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    box-shadow: 0 22px 44px rgba(18, 28, 62, 0.18);
}

.auth-illustration-panel {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    padding: 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e6edfa;
    box-shadow: 0 24px 54px rgba(37, 57, 111, 0.12);
}

.auth-illustration-panel img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.auth-illustration-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.auth-illustration-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    color: var(--dmo-primary-dark);
    background: #f8faff;
    border: 1px solid #e6edfa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.auth-illustration-badges i {
    color: #1fce89;
}

.auth-preview-topbar {
    display: flex;
    gap: 7px;
    margin-bottom: 16px;
}

.auth-preview-topbar span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.52);
    border-radius: 50%;
}

.auth-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.auth-dashboard-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-preview-topbar,
.auth-preview-grid {
    grid-column: 1 / -1;
}

.auth-preview-stat {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
}

.auth-preview-stat i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: var(--dmo-primary);
    border-radius: 12px;
}

.auth-preview-stat strong,
.auth-preview-stat small {
    display: block;
}

.auth-preview-stat strong {
    color: var(--dmo-primary-dark);
    font-size: 15px;
    line-height: 1.1;
}

.auth-preview-stat small {
    color: var(--dmo-muted);
    font-size: 12px;
}

.auth-preview-chart {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 86px;
    padding: 18px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
}

.auth-preview-chart span {
    width: 100%;
    border-radius: 999px 999px 9px 9px;
    background: linear-gradient(180deg, #57caeb 0%, #435ebe 100%);
    animation: authBar 2.2s ease-in-out infinite alternate;
    transform-origin: bottom;
}

.auth-preview-chart span:nth-child(1) {
    height: 42%;
}

.auth-preview-chart span:nth-child(2) {
    height: 64%;
    animation-delay: 0.15s;
}

.auth-preview-chart span:nth-child(3) {
    height: 50%;
    animation-delay: 0.3s;
}

.auth-preview-chart span:nth-child(4) {
    height: 78%;
    animation-delay: 0.45s;
}

.auth-preview-chart span:nth-child(5) {
    height: 90%;
    animation-delay: 0.6s;
}

.auth-preview-progress {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
}

.auth-preview-progress + .auth-preview-progress {
    margin-top: 0;
}

.auth-preview-progress div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--dmo-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.auth-preview-progress i {
    display: block;
    height: 8px;
    overflow: hidden;
    background: #e9eef8;
    border-radius: 999px;
}

.auth-preview-progress i::before {
    display: block;
    width: 86%;
    height: 100%;
    content: "";
    background: linear-gradient(90deg, #ffca4a, #57caeb, #435ebe);
    border-radius: inherit;
    animation: authProgress 2.8s ease-in-out infinite;
}

.auth-preview-progress:nth-child(5) i::before {
    width: 92%;
}

.auth-card {
    width: 100%;
    padding: 38px 34px;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.auth-logo-panel {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-logo-panel img {
    width: 82px;
    height: auto;
}

.auth-brand {
    margin-bottom: 28px;
    text-align: center;
}

.auth-brand h1 {
    margin-bottom: 8px;
    color: var(--dmo-primary-dark);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}

.auth-brand p {
    margin-bottom: 0;
    color: var(--dmo-muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth-card .form-label {
    color: var(--dmo-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.auth-card .form-control {
    min-height: 46px;
    border-color: #dce4f3;
    border-radius: 12px;
}

.auth-card .form-control:focus {
    border-color: var(--dmo-primary);
    box-shadow: 0 0 0 0.2rem rgba(67, 94, 190, 0.12);
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--dmo-muted);
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus {
    color: var(--dmo-primary);
    background: #f2f7ff;
}

.auth-card .form-check-label {
    color: var(--dmo-muted);
    font-size: 14px;
}

.auth-card .btn-primary {
    min-height: 46px;
    border-radius: 12px;
    font-weight: 800;
}

@keyframes authFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes authBar {
    from {
        transform: scaleY(0.78);
        opacity: 0.72;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes authProgress {
    from {
        transform: translateX(-18%);
    }

    to {
        transform: translateX(0);
    }
}

.dashboard-brand-title {
    display: block;
    max-width: 100%;
    color: var(--dmo-primary-dark);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}

.sidebar-header {
    padding: 1.5rem 1.5rem 1rem;
}

.sidebar-wrapper {
    box-shadow: 4px 0 24px rgba(37, 57, 111, 0.04);
}

.sidebar-role-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 24px 4px;
    padding: 12px;
    background: #f2f7ff;
    border: 1px solid #e6edfa;
    border-radius: 10px;
}

.sidebar-role-card > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-role-card small {
    color: var(--dmo-muted);
    font-size: 10px;
}

.sidebar-role-card strong {
    overflow: hidden;
    color: var(--dmo-primary-dark);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-wrapper .menu .sidebar-title {
    margin-top: 26px;
    color: #a1a9bf;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.sidebar-wrapper .menu .sidebar-link {
    min-height: 46px;
    font-size: 14px;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link {
    box-shadow: 0 7px 18px rgba(67, 94, 190, 0.22);
}

#main {
    min-height: 100vh;
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
}

.dashboard-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
}

.monitoring-active-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.7rem;
    color: #0f8f67;
    background: #e8fff5;
    border: 1px solid rgba(31, 206, 137, 0.18);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-topbar-actions .topbar-icon-button {
    margin-left: auto;
}

.topbar-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--dmo-primary-dark);
    background: #ffffff;
    border: 1px solid #e6edfa;
    border-radius: 12px;
}

.topbar-icon-button span {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ff7976;
    border-radius: 50%;
}

.topbar-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--dmo-primary-dark);
    line-height: 1.2;
}

.topbar-user small {
    color: var(--dmo-muted);
    font-size: 12px;
}

.page-heading {
    margin-bottom: 1.5rem;
}

.page-heading h3 {
    color: var(--dmo-primary-dark);
    font-size: 25px;
    font-weight: 800;
}

.page-heading p {
    font-size: 14px;
}

.card {
    border-radius: var(--dmo-card-radius);
    box-shadow: 0 5px 20px rgba(37, 57, 111, 0.045);
}

.card .card-header {
    padding-top: 1.5rem;
}

.card .card-header h4 {
    color: var(--dmo-primary-dark);
    font-size: 19px;
}


.monitoring-filter h5 {
    color: var(--dmo-primary-dark);
    font-weight: 800;
}

.monitoring-filter .form-label {
    color: var(--dmo-primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.monitoring-filter .form-select,
.monitoring-filter .form-control {
    min-height: 43px;
    border-color: #dce4f3;
    border-radius: 8px;
}

.monitoring-filter .form-control[readonly] {
    color: #7c8db5;
    background-color: #f7f9fd;
}

.kpi-card {
    overflow: hidden;
}

.kpi-card .card-body {
    min-height: 124px;
}

.kpi-title {
    margin-bottom: 7px;
    color: var(--dmo-muted);
    font-size: 12px;
    font-weight: 700;
}

.kpi-value {
    margin-bottom: 0;
    color: var(--dmo-primary-dark);
    font-size: 27px;
    font-weight: 800;
}

.placeholder-chart {
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: var(--dmo-muted);
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(242, 247, 255, 0.8),
        rgba(255, 255, 255, 0.9)
    );
    border: 1px dashed #cdd7e9;
    border-radius: 12px;
}

.status-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.status-summary-item > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
}

.status-success {
    background-color: #57caeb;
}

.status-warning {
    background-color: #ffca4a;
}

.status-danger {
    background-color: #ff7976;
}

.empty-ranking {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    color: var(--dmo-muted);
    text-align: center;
}

.empty-ranking i {
    margin-bottom: 10px;
    color: #ffca4a;
    font-size: 32px;
}

footer {
    font-size: 13px;
}

@media (max-width: 1199.98px) {
    .auth-shell {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
    }

    .auth-visual {
        min-height: 330px;
        padding: 42px;
    }

    .auth-visual-content h2 {
        font-size: 30px;
    }

    .auth-dashboard-preview {
        width: 100%;
    }

    .sidebar-role-card {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media (max-width: 767.98px) {
    .auth-page {
        padding: 16px;
    }

    .auth-shell {
        border-radius: 22px;
    }

    .auth-visual {
        min-height: 260px;
        padding: 30px;
    }

    .auth-visual-header span {
        display: none;
    }

    .auth-visual-logo {
        width: 92px;
    }

    .auth-visual-header {
        margin-bottom: 22px;
    }

    .auth-visual-content h2 {
        font-size: 25px;
    }

    .auth-visual-content p {
        font-size: 14px;
    }

    .auth-card {
        padding: 28px 22px;
    }

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

    .auth-preview-chart {
        height: 92px;
    }

    .auth-logo-panel {
        display: none;
    }

    .page-heading h3 {
        font-size: 21px;
    }

    .monitoring-filter {
        padding: 1rem;
    }

    .kpi-card .card-body {
        min-height: auto;
    }

    footer .float-start,
    footer .float-end {
        float: none !important;
        text-align: center;
    }
}
.market-atl-chart {
    overflow: hidden;
    border: 1px solid rgba(37, 57, 111, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(90deg, transparent 0 58px, rgba(67, 94, 190, 0.035) 58px 59px);
}

.nova-card-login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    padding: 12px;
    background:
        radial-gradient(circle at 15% 15%, rgba(0, 74, 173, 0.34), transparent 28%),
        radial-gradient(circle at 84% 20%, rgba(0, 147, 221, 0.24), transparent 26%),
        linear-gradient(135deg, #e7f0ff 0%, #ffffff 46%, #dff2ff 100%);
}

.nova-card-bg {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.nova-card-bg-one {
    width: 330px;
    height: 330px;
    top: -120px;
    right: -90px;
    background: rgba(0, 74, 173, 0.24);
}

.nova-card-bg-two {
    width: 350px;
    height: 350px;
    left: -170px;
    bottom: -190px;
    background: rgba(0, 147, 221, 0.2);
}

.nova-card-login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 430px);
    width: min(100%, 1060px);
    min-height: auto;
    max-height: calc(100vh - 24px);
    overflow: hidden;
    border: 1px solid rgba(230, 237, 250, 0.95);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 34px 90px rgba(37, 57, 111, 0.16);
    backdrop-filter: blur(16px);
}

.nova-card-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.85), transparent 26%),
        linear-gradient(145deg, #d7e7ff 0%, #c8f2ff 100%);
}

.nova-card-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #25396f;
    font-weight: 900;
}

.nova-card-brand img {
    width: 128px;
    height: auto;
}

.nova-card-copy {
    max-width: 560px;
    margin-top: 14px;
}

.nova-card-copy span,
.nova-form-header span {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 6px 11px;
    color: #ffffff;
    background: #004aad;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nova-card-copy h1 {
    margin-bottom: 8px;
    color: #25396f;
    font-size: clamp(1.65rem, 3vw, 2.75rem);
    font-weight: 900;
    line-height: 1.06;
}

.nova-card-copy p {
    color: #7c8db5;
    font-size: 0.88rem;
    line-height: 1.48;
}

.nova-card-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 170px;
}

.nova-card-illustration img {
    width: min(100%, 510px);
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 24px 28px rgba(37, 57, 111, 0.12));
}

.nova-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.nova-card-metrics div {
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(230, 237, 250, 0.9);
}

.nova-card-metrics strong,
.nova-card-metrics span {
    display: block;
}

.nova-card-metrics strong {
    color: #25396f;
    font-size: 1.02rem;
}

.nova-card-metrics span {
    color: #7c8db5;
    font-size: 0.74rem;
    font-weight: 800;
}

.nova-card-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 32px;
    background: #ffffff;
}

.nova-form-header {
    margin-bottom: 14px;
}

.nova-form-header h2 {
    margin-bottom: 5px;
    color: #25396f;
    font-size: 1.95rem;
    font-weight: 900;
}

.nova-form-header p {
    color: #7c8db5;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.38;
}

.nova-card-form-panel .mb-3 {
    margin-bottom: 0.62rem !important;
}

.nova-card-form-panel .mb-4 {
    margin-bottom: 0.78rem !important;
}

.nova-card-form-panel .nova-input .form-control {
    height: 43px;
}

.nova-card-form-panel .nova-login-button {
    height: 44px;
}

.nova-card-form-panel .nova-field label,
.nova-card-form-panel .form-check-label,
.nova-card-form-panel .nova-helper {
    font-size: 0.86rem;
}

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

    .nova-card-visual {
        min-height: auto;
    }

    .nova-card-illustration {
        min-height: 220px;
    }
}

@media (max-width: 575.98px) {
    .nova-card-login-page {
        padding: 16px;
    }

    .nova-card-visual,
    .nova-card-form-panel {
        padding: 26px;
    }

    .nova-card-metrics {
        grid-template-columns: 1fr;
    }
}

.market-atl-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.15rem 0.65rem;
    border-bottom: 1px solid rgba(37, 57, 111, 0.07);
}

.market-atl-head span,
.market-atl-head small {
    color: #8a93a7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.market-atl-head strong {
    display: block;
    margin-top: 0.15rem;
    color: #25396f;
    font-size: 1.12rem;
}

.market-atl-source {
    display: block;
    margin-top: 0.2rem;
    color: #a6afc2 !important;
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.market-atl-grid {
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.market-atl-line {
    display: grid;
    grid-template-columns: 132px minmax(160px, 1fr) 76px;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    padding: 0.45rem 0.55rem;
    border-bottom: 1px solid rgba(37, 57, 111, 0.06);
}

.market-atl-line:last-child {
    border-bottom: 0;
}

.market-atl-symbol strong,
.market-atl-symbol span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-atl-symbol strong {
    color: #25396f;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.market-atl-symbol span {
    color: #8a93a7;
    font-size: 0.7rem;
}

.market-atl-track {
    position: relative;
    height: 34px;
}

.market-atl-track::before {
    content: "";
    position: absolute;
    inset: 16px 0 auto;
    height: 2px;
    background: rgba(37, 57, 111, 0.1);
}

.market-atl-fill {
    position: absolute;
    top: 14px;
    left: 0;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #004aad, #00a6ff);
    box-shadow: 0 0 22px rgba(0, 166, 255, 0.34);
}

.market-atl-line.down .market-atl-fill {
    background: linear-gradient(90deg, #e11d48, #fb7185);
    box-shadow: 0 0 22px rgba(225, 29, 72, 0.22);
}

.market-atl-spark {
    position: absolute;
    inset: 4px 0 0;
    width: 100%;
    height: 22px;
    pointer-events: none;
}

.market-atl-spark polyline {
    fill: none;
    stroke: rgba(0, 74, 173, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.market-atl-line.down .market-atl-spark polyline {
    stroke: rgba(225, 29, 72, 0.78);
}

.market-atl-price {
    text-align: right;
}

.market-atl-price strong,
.market-atl-price span {
    display: block;
}

.market-atl-price small {
    display: block;
    color: #a6afc2;
    font-size: 0.66rem;
    font-weight: 900;
}

.market-atl-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    color: #7c8db5;
    font-size: 0.78rem;
    font-weight: 800;
}

.market-atl-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.legend-dot.up { background: #004aad; }
.legend-dot.down { background: #e11d48; }

.legend-line {
    width: 24px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #004aad, #00a6ff);
}

.market-atl-price strong {
    color: #25396f;
    font-size: 0.95rem;
}

.market-atl-price span {
    color: #00a991;
    font-size: 0.72rem;
    font-weight: 800;
}

.market-atl-line.down .market-atl-price span {
    color: #ff5b5c;
}

@media (max-width: 767.98px) {
    .market-atl-line {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.75rem 0.55rem;
    }

    .market-atl-price {
        text-align: left;
    }
}
.attendance-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.attendance-kpi-grid.four-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.attendance-kpi-grid.five-items {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.attendance-kpi-grid.three-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.attendance-kpi-grid.two-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attendance-kpi-card {
    border-radius: 20px;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(37, 57, 111, 0.08);
    box-shadow: 0 10px 26px rgba(37, 57, 111, 0.06);
}

.attendance-kpi-card span {
    display: block;
    color: #8a93a7;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.attendance-kpi-card strong {
    display: block;
    margin-top: 0.35rem;
    color: #25396f;
    font-size: 1.65rem;
    line-height: 1;
}

.attendance-kpi-card .compact-date {
    font-size: 1.05rem;
    line-height: 1.2;
}

.attendance-kpi-card.primary { border-top: 4px solid #435ebe; }
.attendance-kpi-card.success { border-top: 4px solid #198754; }
.attendance-kpi-card.danger { border-top: 4px solid #dc3545; }
.attendance-kpi-card.warning { border-top: 4px solid #ffc107; }
.attendance-kpi-card.info { border-top: 4px solid #0dcaf0; }
.attendance-kpi-card.secondary { border-top: 4px solid #6c757d; }

.attendance-filter-card,
.attendance-table-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 12px 32px rgba(37, 57, 111, 0.07);
}

.attendance-count-badge {
    align-self: flex-start;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #435ebe;
    font-size: 0.82rem;
    font-weight: 800;
}

.attendance-table-wrap {
    border-top: 1px solid rgba(37, 57, 111, 0.08);
}

.attendance-table thead th {
    padding: 1rem 1.25rem;
    background: #f8faff;
    color: #607080;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.attendance-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: top;
}

.attendance-note {
    max-width: 260px;
    color: #6c757d;
}

@media (max-width: 1199.98px) {
    .attendance-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .attendance-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .attendance-kpi-grid {
        grid-template-columns: 1fr;
    }
}
.mechanic-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 26px;
    background: linear-gradient(135deg, #25396f 0%, #435ebe 52%, #00cfe8 100%);
    color: #fff;
    box-shadow: 0 18px 42px rgba(67, 94, 190, 0.25);
}

.mechanic-hero span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.mechanic-hero h4 {
    margin: 0.35rem 0;
    color: #fff;
}

.mechanic-hero p {
    margin: 0;
    opacity: 0.84;
}

.mechanic-hero > strong {
    flex: 0 0 auto;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.mechanic-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mechanic-kpi-card {
    padding: 1.1rem;
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 14px 32px rgba(37, 57, 111, 0.13);
}

.mechanic-kpi-card span,
.mechanic-kpi-card strong {
    display: block;
}

.mechanic-kpi-card span {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.86;
}

.mechanic-kpi-card strong {
    margin-top: 0.35rem;
    font-size: 1.8rem;
    line-height: 1;
}

.mechanic-kpi-card .date-value {
    font-size: 1.05rem;
}

.mechanic-kpi-card.blue { background: linear-gradient(135deg, #435ebe, #67a5ff); }
.mechanic-kpi-card.green { background: linear-gradient(135deg, #198754, #2fd17c); }
.mechanic-kpi-card.red { background: linear-gradient(135deg, #dc3545, #ff8a7a); }
.mechanic-kpi-card.purple { background: linear-gradient(135deg, #6f42c1, #b197fc); }

.mechanic-filter-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(37, 57, 111, 0.07);
}

.mechanic-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mechanic-profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(67, 94, 190, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff, #f8faff);
    box-shadow: 0 12px 30px rgba(37, 57, 111, 0.07);
}

.mechanic-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #435ebe, #00cfe8);
    color: #fff;
    font-weight: 900;
    font-size: 1.35rem;
}

.mechanic-nip {
    color: #8a93a7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.mechanic-profile-main h5 {
    margin: 0.15rem 0;
    color: #25396f;
}

.mechanic-profile-main p {
    margin: 0 0 0.55rem;
    color: #6c757d;
}

.mechanic-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

@media (max-width: 991.98px) {
    .mechanic-kpi-grid,
    .mechanic-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nova-login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 28px clamp(20px, 4vw, 64px) 44px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.nova-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.nova-shape-one {
    top: -160px;
    right: -120px;
    width: 440px;
    height: 440px;
    background: rgba(67, 94, 190, 0.11);
}

.nova-shape-two {
    left: -170px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    background: rgba(0, 207, 232, 0.12);
}

.nova-login-nav,
.nova-login-hero {
    position: relative;
    z-index: 1;
}

.nova-login-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto 54px;
}

.nova-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #25396f;
    font-weight: 900;
    text-decoration: none;
}

.nova-login-brand img {
    width: 156px;
    height: auto;
}

.nova-nav-badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    color: #435ebe;
    background: #edf2ff;
    border-radius: 999px;
    font-weight: 900;
}

.nova-login-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px) minmax(280px, 0.8fr);
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
    max-width: 1180px;
    margin: 0 auto;
}

.nova-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 9px 15px;
    color: #435ebe;
    background: #edf2ff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nova-hero-copy h1 {
    max-width: 560px;
    margin-bottom: 18px;
    color: #25396f;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: 1.05;
}

.nova-hero-copy p {
    max-width: 540px;
    color: #7c8db5;
    font-size: 1.08rem;
    line-height: 1.8;
}

.nova-feature-row {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.nova-feature-row div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #25396f;
    font-weight: 800;
}

.nova-feature-row i {
    color: #1fce89;
    font-size: 1.15rem;
}

.nova-login-card {
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e6edfa;
    box-shadow: 0 24px 64px rgba(37, 57, 111, 0.13);
}

.nova-card-head span {
    display: block;
    color: #435ebe;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nova-card-head h2 {
    margin: 4px 0 6px;
    color: #25396f;
    font-size: 2.45rem;
    font-weight: 900;
}

.nova-card-head p,
.nova-field label,
.nova-helper {
    color: #7c8db5;
}

.nova-field label {
    margin-bottom: 8px;
    font-weight: 900;
}

.nova-input {
    position: relative;
}

.nova-input > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #a8b2c7;
    transform: translateY(-50%);
}

.nova-input .form-control {
    height: 52px;
    padding-left: 44px;
    padding-right: 46px;
    background: #f8faff;
    border: 1px solid #e6edfa;
    border-radius: 15px;
}

.nova-input .form-control:focus {
    border-color: #435ebe;
    box-shadow: 0 0 0 0.18rem rgba(67, 94, 190, 0.12);
}

.nova-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #7c8db5;
    background: transparent;
    border: 0;
    transform: translateY(-50%);
}

.nova-login-button {
    height: 52px;
    color: #ffffff;
    background: #435ebe;
    border: 0;
    border-radius: 15px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(67, 94, 190, 0.28);
}

.nova-login-button:hover {
    color: #ffffff;
    background: #25396f;
}

.nova-hero-visual {
    position: relative;
}

.nova-hero-visual img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0 24px 64px rgba(37, 57, 111, 0.16);
}

.nova-floating-card {
    position: absolute;
    min-width: 132px;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(37, 57, 111, 0.16);
}

.nova-floating-card.top {
    top: 42px;
    left: -34px;
}

.nova-floating-card.bottom {
    right: -24px;
    bottom: 58px;
}

.nova-floating-card strong,
.nova-floating-card span {
    display: block;
}

.nova-floating-card strong {
    color: #25396f;
    font-size: 1.55rem;
    line-height: 1;
}

.nova-floating-card span {
    color: #7c8db5;
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .nova-login-hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    }

    .nova-hero-visual {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .nova-login-page {
        padding: 22px 16px 32px;
    }

    .nova-login-nav {
        margin-bottom: 28px;
    }

    .nova-nav-badge,
    .nova-login-brand span,
    .nova-hero-copy {
        display: none;
    }

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

    .nova-login-card {
        padding: 26px;
        border-radius: 24px;
    }
}

@media (max-width: 575.98px) {
    .mechanic-hero,
    .mechanic-profile-card {
        grid-template-columns: 1fr;
        display: grid;
    }

    .mechanic-kpi-grid,
    .mechanic-card-grid {
        grid-template-columns: 1fr;
    }
}
.dashboard-vibrant {
    --dash-blue: #435ebe;
    --dash-navy: #25396f;
    --dash-cyan: #00cfe8;
    --dash-emerald: #1fce89;
    --dash-orange: #ff9f43;
    --dash-rose: #ff5b8a;
    --dash-violet: #8b5cf6;
}

.dashboard-vibrant::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 8%, rgba(0, 74, 173, 0.06), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(0, 207, 232, 0.06), transparent 24%);
    pointer-events: none;
}

.dashboard-command-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    padding: 1.6rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.28), transparent 26%),
        radial-gradient(circle at 88% 0%, rgba(0, 207, 232, 0.38), transparent 28%),
        linear-gradient(135deg, #18264f 0%, #435ebe 48%, #00a6c8 100%);
    color: #fff;
    box-shadow: 0 24px 52px rgba(37, 57, 111, 0.25);
}

.dashboard-command-hero.compact {
    display: block;
    margin-bottom: 1rem;
    padding: 1.05rem 1.25rem;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(37, 57, 111, 0.14);
}

.dashboard-command-hero.compact .hero-content h2 {
    margin: 0.45rem 0 0.2rem;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.dashboard-command-hero.compact .hero-content p {
    font-size: 0.92rem;
}

.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.hero-orbit.one {
    width: 180px;
    height: 180px;
    right: 18%;
    top: -80px;
}

.hero-orbit.two {
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -140px;
}

.hero-content,
.hero-metrics {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content h2 {
    margin: 0.85rem 0 0.45rem;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.hero-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 96px);
    gap: 0.75rem;
    align-self: end;
}

.hero-metrics div {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
}

.hero-metrics span,
.hero-metrics strong {
    display: block;
}

.hero-metrics span {
    font-size: 0.72rem;
    opacity: 0.76;
}

.hero-metrics strong {
    margin-top: 0.2rem;
    font-size: 1.35rem;
}

.dashboard-filter-card {
    margin-bottom: 1.25rem;
    padding: 0.85rem;
    border: 1px solid rgba(67, 94, 190, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 14px 36px rgba(37, 57, 111, 0.08);
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.72rem;
}

.dashboard-kpi-card {
    position: relative;
    overflow: hidden;
    display: block;
    min-height: 86px;
    padding: 1.22rem 0.95rem 0.9rem;
    border: 1px solid rgba(37, 57, 111, 0.08);
    border-radius: 18px;
    color: #25396f;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 57, 111, 0.075);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dashboard-kpi-card:hover {
    border-color: rgba(0, 74, 173, 0.12);
    box-shadow: 0 16px 34px rgba(37, 57, 111, 0.1);
    transform: translateY(-2px);
}

.dashboard-kpi-card::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.62;
    background:
        linear-gradient(90deg, var(--kpi-accent, #435ebe) 0 5px, transparent 5px),
        radial-gradient(circle at 92% 18%, var(--kpi-soft, rgba(67, 94, 190, 0.12)), transparent 28%),
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(37, 57, 111, 0.018) 12px 13px);
    pointer-events: none;
}

.dashboard-kpi-card::before {
    content: "";
    position: absolute;
    right: 0.85rem;
    top: 0.62rem;
    width: 34px;
    height: 4px;
    border-radius: 999px;
    background: var(--kpi-accent, #435ebe);
    opacity: 0.9;
}

.dashboard-kpi-card.violet {
    --kpi-accent: #7c3aed;
    --kpi-soft: rgba(124, 58, 237, 0.13);
}

.dashboard-kpi-card.blue {
    --kpi-accent: #004aad;
    --kpi-soft: rgba(0, 74, 173, 0.14);
}

.dashboard-kpi-card.emerald {
    --kpi-accent: #0f9f75;
    --kpi-soft: rgba(15, 159, 117, 0.13);
}

.dashboard-kpi-card.cyan {
    --kpi-accent: #0086c9;
    --kpi-soft: rgba(0, 134, 201, 0.13);
}

.dashboard-kpi-card.orange {
    --kpi-accent: #ea580c;
    --kpi-soft: rgba(234, 88, 12, 0.13);
}

.dashboard-kpi-card.sky {
    --kpi-accent: #2563eb;
    --kpi-soft: rgba(37, 99, 235, 0.13);
}

.dashboard-kpi-card.rose {
    --kpi-accent: #e11d48;
    --kpi-soft: rgba(225, 29, 72, 0.13);
}

.dashboard-kpi-card .kpi-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
}

.dashboard-kpi-card .kpi-icon {
    display: none;
}

.dashboard-kpi-card div:last-child {
    position: relative;
    z-index: 1;
    padding-top: 0.28rem;
}

.dashboard-kpi-card span,
.dashboard-kpi-card strong,
.dashboard-kpi-card small {
    display: block;
}

.dashboard-kpi-card span {
    color: #7c8db5;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-kpi-card strong {
    margin: 0.32rem 0 0;
    color: #25396f;
    font-size: 1.46rem;
    line-height: 1;
}

.dashboard-kpi-card small {
    opacity: 0.78;
}

.dashboard-glass-card,
.dashboard-status-card {
    border: 0;
    border-radius: 26px;
    box-shadow: 0 14px 36px rgba(37, 57, 111, 0.08);
}

.dashboard-table-card {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(37, 57, 111, 0.07);
}

.dashboard-table-card .card-header,
.dashboard-glass-card .card-header,
.dashboard-status-card .card-header {
    padding: 1rem 1.15rem 0.75rem;
}

.dashboard-table-card .card-body,
.dashboard-glass-card .card-body,
.dashboard-status-card .card-body {
    padding: 1rem 1.15rem;
}

.dealer-performance-chart {
    padding: 1rem;
    border: 1px solid rgba(67, 94, 190, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.dealer-performance-chart.is-loading {
    opacity: 0.62;
    transition: opacity 160ms ease;
}

.dealer-performance-head,
.dealer-performance-line,
.dashboard-productivity-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dealer-performance-head {
    margin-bottom: 0.9rem;
}

.dealer-performance-head span,
.dealer-performance-value span {
    display: block;
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dealer-performance-head strong {
    display: block;
    color: var(--dmo-primary-dark);
    font-size: 1rem;
}

.dealer-performance-grid {
    display: grid;
    gap: 0.7rem;
}

.dealer-performance-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 57, 111, 0.045);
}

.dealer-performance-name {
    width: 34%;
    min-width: 170px;
}

.dealer-performance-name strong,
.dealer-performance-name span,
.dealer-performance-value strong {
    display: block;
}

.dealer-performance-name strong {
    color: var(--dmo-primary-dark);
    font-size: 0.88rem;
}

.dealer-performance-name span {
    color: var(--dmo-muted);
    font-size: 0.75rem;
}

.dealer-performance-track {
    position: relative;
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2ff;
}

.dealer-check-stack {
    display: grid;
    flex: 1;
    gap: 0.38rem;
}

.dealer-check-stack .dealer-performance-track {
    flex: none;
    width: 100%;
    padding-left: 42px;
}

.dealer-performance-track span {
    position: absolute;
    left: 8px;
    top: 50%;
    z-index: 2;
    color: #7c8db5;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: translateY(-50%);
}

.dealer-performance-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #435ebe 0%, #00cfe8 100%);
}

.dealer-performance-track.precheck .dealer-performance-fill {
    background: linear-gradient(90deg, #ff9f43 0%, #ffd166 100%);
}

.dealer-performance-track.postcheck .dealer-performance-fill {
    background: linear-gradient(90deg, #004aad 0%, #00a6ff 100%);
}

.dealer-performance-value {
    min-width: 92px;
    text-align: right;
}

.dealer-performance-value strong {
    color: var(--dmo-primary-dark);
    font-size: 1rem;
}

.dashboard-productivity-note {
    justify-content: flex-start;
    padding: 0.75rem 0.9rem;
    color: var(--dmo-primary-dark);
    background: #f8faff;
    border-radius: 16px;
}

.dashboard-productivity-note i {
    color: var(--dmo-primary);
}

.inspection-flow-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 57, 111, 0.07);
}

.inspection-flow-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: #f8faff;
}

.inspection-flow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: var(--dmo-primary);
    border-radius: 12px;
    font-weight: 900;
}

.inspection-flow-step strong,
.inspection-flow-step small {
    display: block;
}

.inspection-flow-step strong {
    color: var(--dmo-primary-dark);
}

.inspection-flow-step small {
    color: var(--dmo-muted);
}

.inspection-flow-step.warning span {
    background: #ff9f43;
}

.inspection-flow-step.danger span {
    background: #ff5b8a;
}

.inspection-flow-step.done span {
    background: #1fce89;
}

.inspection-flow-line {
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #435ebe, #00cfe8);
}

.inspection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.inspection-tabs a {
    padding: 0.65rem 0.95rem;
    color: var(--dmo-primary-dark);
    background: #ffffff;
    border: 1px solid #e6edfa;
    border-radius: 999px;
    font-weight: 800;
}

.inspection-tabs a.active {
    color: #ffffff;
    background: var(--dmo-primary);
    border-color: var(--dmo-primary);
}

.report-action-card {
    height: 100%;
    padding: 1rem;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 57, 111, 0.07);
}

.report-action-card span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.32rem 0.6rem;
    color: var(--dmo-primary);
    background: #edf2ff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.report-action-card h5 {
    color: var(--dmo-primary-dark);
    font-weight: 900;
}

.report-action-card p {
    min-height: 58px;
    color: var(--dmo-muted);
}

.notification-list {
    display: grid;
}

.notification-row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    color: var(--dmo-primary-dark);
    border-bottom: 1px solid #edf2ff;
}

.notification-row:hover {
    background: #f8faff;
}

.notification-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dmo-primary);
}

.notification-row.warning .notification-marker {
    background: #ff9f43;
}

.notification-row.danger .notification-marker {
    background: #ff5b8a;
}

.notification-content span,
.notification-content strong,
.notification-content p {
    display: block;
}

.profile-summary-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border-radius: 24px;
    color: #ffffff;
    background: linear-gradient(135deg, #25396f 0%, #435ebe 55%, #00a6c8 100%);
    box-shadow: 0 18px 38px rgba(37, 57, 111, 0.16);
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.7rem;
    font-weight: 900;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-main-info {
    flex: 1;
}

.profile-main-info span,
.profile-meta small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.profile-main-info h4,
.profile-main-info p,
.profile-meta strong {
    margin: 0;
    color: #ffffff;
}

.profile-info-list {
    display: grid;
    gap: 0.8rem;
}

.profile-info-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #edf2ff;
}

.profile-info-list span {
    color: var(--dmo-muted);
}

.profile-info-list strong {
    color: var(--dmo-primary-dark);
    text-align: right;
}

.profile-summary-card.compact {
    padding: 1rem 1.15rem;
    border-radius: 20px;
}

.profile-summary-card.compact .profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.45rem;
}

.profile-compact-card .card-body {
    padding-top: 0.95rem;
}

.profile-card-row .profile-compact-card {
    min-height: 360px;
}

.profile-card-row .profile-compact-card .card-body {
    flex: 1;
}

.profile-photo-form {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #edf2ff;
}

.profile-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.profile-info-grid.compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.profile-info-grid.compact div {
    padding: 0.75rem;
    border: 1px solid #edf2ff;
    border-radius: 14px;
    background: #f8faff;
}

.profile-info-grid.compact .wide {
    grid-column: 1 / -1;
}

.profile-info-grid.compact span,
.profile-info-grid.compact strong {
    display: block;
}

.dealer-entity strong,
.dealer-entity span {
    display: block;
}

.employee-table-toolbar {
    display: flex;
    justify-content: flex-end;
}

.employee-table-toolbar label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dmo-muted);
    font-weight: 800;
}

.employee-table-toolbar select {
    width: auto;
}

.employee-table-wrap {
    overflow-x: auto;
}

.employee-table {
    min-width: 2200px;
    font-size: 0.82rem;
}

.employee-table thead th {
    white-space: nowrap;
    color: var(--dmo-primary-dark);
    background: #f8faff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.employee-table tbody td {
    white-space: nowrap;
    vertical-align: middle;
}

.employee-table tbody tr:nth-child(even) {
    background: #fbfdff;
}

.mechanic-profile-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1.15rem;
    border-radius: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.22), transparent 26%),
        linear-gradient(135deg, #25396f 0%, #004aad 55%, #00a6ff 100%);
    box-shadow: 0 18px 38px rgba(37, 57, 111, 0.16);
}

.mechanic-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 1.65rem;
    font-weight: 900;
}

.mechanic-profile-main {
    flex: 1;
}

.mechanic-profile-main span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mechanic-profile-main h4,
.mechanic-profile-main p {
    margin: 0;
    color: #ffffff;
}

.mechanic-profile-main h4 {
    font-weight: 900;
}

.mechanic-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.mechanic-info-grid div {
    padding: 0.8rem;
    border: 1px solid #edf2ff;
    border-radius: 15px;
    background: #f8faff;
}

.mechanic-info-grid span,
.mechanic-info-grid strong {
    display: block;
}

.mechanic-info-grid span {
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mechanic-info-grid strong {
    overflow: hidden;
    margin-top: 0.18rem;
    color: var(--dmo-primary-dark);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dealer-address-box {
    margin-top: 0.75rem;
    padding: 0.9rem;
    border: 1px solid #edf2ff;
    border-radius: 16px;
    background: #ffffff;
}

.dealer-address-box span {
    display: block;
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dealer-address-box p {
    margin: 0.25rem 0 0;
    color: var(--dmo-primary-dark);
    line-height: 1.55;
}

.inspection-detail-row td {
    background: #f8faff;
}

.inspection-detail-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid #e7eefc;
    border-radius: 16px;
    background: #ffffff;
}

.inspection-detail-box div {
    padding: 0.75rem;
    border-radius: 12px;
    background: #f8faff;
}

.inspection-detail-box span,
.inspection-detail-box strong,
.inspection-detail-box p {
    display: block;
}

.inspection-detail-box span {
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.inspection-detail-box strong,
.inspection-detail-box p {
    margin: 0.25rem 0 0;
    color: var(--dmo-primary-dark);
    line-height: 1.55;
}

.inspection-branch-card {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(37, 57, 111, 0.08);
}

.inspection-branch-table th,
.inspection-branch-table td {
    white-space: nowrap;
}

.inspection-branch-table td:nth-child(3) {
    min-width: 220px;
    white-space: normal;
}

.inspection-page .attendance-table th,
.inspection-page .attendance-table td {
    vertical-align: top;
}

.inspection-page .attendance-table th:nth-child(5),
.inspection-page .attendance-table td:nth-child(5) {
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.inspection-page .attendance-table td:nth-child(5) .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
}

.inspection-branch-table th:nth-child(7),
.inspection-branch-table td:nth-child(7),
.inspection-branch-table th:nth-child(8),
.inspection-branch-table td:nth-child(8),
.inspection-branch-table th:nth-child(9),
.inspection-branch-table td:nth-child(9) {
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .inspection-detail-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199.98px) {
    .attendance-kpi-grid.five-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .mechanic-profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .mechanic-info-grid,
    .attendance-kpi-grid.five-items {
        grid-template-columns: 1fr;
    }
}

.dealer-entity strong {
    color: var(--dmo-primary-dark);
    font-weight: 900;
}

.dealer-entity span {
    margin-top: 0.15rem;
    color: var(--dmo-muted);
    font-size: 0.82rem;
}

.profile-info-grid.compact span {
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-info-grid.compact strong {
    overflow: hidden;
    margin-top: 0.2rem;
    color: var(--dmo-primary-dark);
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .profile-upload-row,
    .profile-info-grid.compact {
        grid-template-columns: 1fr;
    }
}

/* Premium admin login refresh */
.auth-page {
    background:
        radial-gradient(circle at 12% 8%, rgba(67, 94, 190, 0.18), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(0, 207, 232, 0.14), transparent 28%),
        linear-gradient(135deg, #eef4ff 0%, #ffffff 44%, #f4f8ff 100%);
}

.auth-shell {
    grid-template-columns: minmax(0, 1.28fr) minmax(380px, 420px);
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(37, 57, 111, 0.18);
}

.auth-visual {
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 202, 74, 0.24), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(87, 202, 235, 0.3), transparent 28%),
        linear-gradient(145deg, #1c2c62 0%, #435ebe 54%, #0284c7 100%);
}

.auth-dashboard-preview {
    padding: 18px;
    background: rgba(255, 255, 255, 0.14);
}

.auth-preview-command-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
}

.auth-preview-command-head span,
.auth-preview-command-head strong {
    display: block;
}

.auth-preview-command-head span {
    color: var(--dmo-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-preview-command-head strong {
    color: var(--dmo-primary-dark);
}

.auth-preview-command-head i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(135deg, #1fce89, #00cfe8);
    border-radius: 14px;
}

.auth-preview-ops-list {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
}

.auth-preview-ops-list div {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 10px;
    align-items: center;
}

.auth-preview-ops-list strong {
    color: var(--dmo-primary-dark);
    font-size: 13px;
}

.auth-preview-ops-list small {
    color: var(--dmo-muted);
    font-size: 12px;
}

.ops-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.ops-dot.green { background: #1fce89; }
.ops-dot.blue { background: #435ebe; }
.ops-dot.orange { background: #ff9f43; }

.auth-brand-eyebrow {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.32rem 0.65rem;
    color: var(--dmo-primary);
    background: #edf2ff;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.auth-input-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 14px;
    color: var(--dmo-muted);
    transform: translateY(-50%);
}

.auth-input-wrap .form-control {
    padding-left: 42px;
}

.password-field.auth-input-wrap .form-control {
    padding-right: 46px;
}

.auth-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 15px;
    font-weight: 900;
}

.auth-visual {
    color: var(--dmo-primary-dark);
    background:
        radial-gradient(circle at 18% 14%, rgba(67, 94, 190, 0.14), transparent 24%),
        radial-gradient(circle at 86% 12%, rgba(0, 207, 232, 0.18), transparent 30%),
        linear-gradient(145deg, #ffffff 0%, #eef6ff 100%) !important;
}

.auth-visual-content h2 {
    color: var(--dmo-primary-dark);
}

.auth-visual-content p {
    color: var(--dmo-muted);
}

.mazer-login-page {
    min-height: 100vh;
    background: #ffffff;
}

.mazer-login-page .row {
    min-height: 100vh;
}

.mazer-auth-left {
    min-height: 100vh;
    padding: 5rem 4.5rem;
    background: #ffffff;
}

.mazer-login-logo {
    width: 220px;
    height: auto;
}

.mazer-auth-left .auth-title {
    color: #25396f;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.mazer-auth-left .auth-subtitle {
    color: #a8b2c7;
    font-size: 1.35rem;
    line-height: 1.5;
}

.mazer-auth-left .form-control-xl {
    min-height: 64px;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    color: #25396f;
    background: #f2f7ff;
    border: 0;
    border-radius: 0.7rem;
    font-size: 1.05rem;
}

.mazer-auth-left .form-control-xl:focus {
    background: #eef4ff;
    box-shadow: 0 0 0 0.18rem rgba(67, 94, 190, 0.14);
}

.mazer-auth-left .form-control-icon {
    position: absolute;
    top: 50%;
    left: 1.2rem;
    color: #7c8db5;
    font-size: 1.25rem;
    transform: translateY(-50%);
}

.mazer-password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #7c8db5;
    background: transparent;
    border: 0;
    transform: translateY(-50%);
}

.mazer-auth-left .btn-primary {
    min-height: 58px;
    background: #435ebe;
    border-color: #435ebe;
    border-radius: 0.7rem;
    font-weight: 800;
}

.mazer-auth-right {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(37, 57, 111, 0.32), rgba(67, 94, 190, 0.18)),
        url("../mazer/assets/images/bg/4853433.jpg") center center / cover no-repeat;
}

.mazer-auth-overlay {
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    width: min(520px, calc(100% - 6rem));
    padding: 1.5rem;
    color: #ffffff;
    background: rgba(37, 57, 111, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 1.4rem;
    backdrop-filter: blur(12px);
}

.mazer-auth-overlay span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
}

.mazer-auth-overlay h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.18;
}

@media (max-width: 991.98px) {
    .mazer-auth-left {
        padding: 3rem 2rem;
    }

    .mazer-auth-left .auth-title {
        font-size: 3rem;
    }
}

.notification-content span {
    color: var(--dmo-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.notification-content p {
    margin: 0.15rem 0 0;
    color: var(--dmo-muted);
}

@media (max-width: 767.98px) {
    .inspection-flow-card {
        grid-template-columns: 1fr;
    }

    .inspection-flow-line {
        display: none;
    }
}

.dashboard-section-header {
    border-bottom: 1px solid rgba(67, 94, 190, 0.08);
}

.status-summary-item.vivid {
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    background: #f8faff;
}

@media (max-width: 1199.98px) {
    .dashboard-command-hero {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .hero-metrics,
    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-kpi-card {
        min-height: auto;
    }
}
