﻿.dashboard-toolbar-shell {
    position: absolute;
    top: 10px;
    left: 0px;
    z-index: 3100;
}

.dashboard-content {
    min-height: calc(100vh - 90px);
    padding-top: 0;
}

#sidenav-main {
    transition: transform .22s ease, opacity .18s ease;
    will-change: transform, opacity;
}

body.dashboard-sidebar-collapsed #sidenav-main {
    transform: translateX(-105%);
    opacity: 0;
    pointer-events: none;
}

.main-content {
    transition: margin-left .22s ease;
}

.dashboard-card-grid-content {
    height: 100%;
    padding: 3px;
    overflow: visible !important;
}

.dashboard-card-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.dashboard-card-visible-overflow,
.dashboard-card-visible-overflow .dashboard-card-body {
    overflow: visible !important;
}

.dashboard-card-visible-overflow {
    z-index: 20;
}

.dashboard-card-editing {
    outline: 1px dashed rgba(13, 110, 253, .35);
    outline-offset: 3px;
    cursor: grab;
}

.dashboard-card-blank {
    background: rgba(255, 255, 255, .28);
    border: 1px dashed rgba(108, 117, 125, .55);
    box-shadow: none !important;
}

.dashboard-card-header {
    gap: .5rem;
}

.dashboard-card-title-area {
    min-width: 0;
    flex: 1 1 auto;
}

.dashboard-card-title {
    color: #111;
    line-height: 1.35;
}

.dashboard-card-widget-select {
    width: 100%;
    max-width: 280px;
}

.dashboard-card-header-icon,
.dashboard-card-edit-button {
    flex: 0 0 auto;
}

.dashboard-card-header-icon {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: #343a40 !important;
    box-shadow: 0 4px 10px rgba(52, 58, 64, .25);
}

    .dashboard-card-header-icon .material-symbols-rounded {
        position: absolute;
        top: 50%;
        left: 50%;
        display: block;
        width: auto;
        height: auto;
        margin: 0 !important;
        font-size: 24px;
        line-height: 1;
        transform: translate(-50%, -50%);
    }

.dashboard-card-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #495057;
    background: rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .5rem;
}

    .dashboard-card-edit-button:hover,
    .dashboard-card-edit-button:focus-visible {
        color: #212529;
        background: rgba(0, 0, 0, .08);
    }

    .dashboard-card-edit-button .material-symbols-rounded {
        font-size: 20px;
        line-height: 1;
    }

.dashboard-card-zoom-button.dashboard-card-edit-button {
    color: #495057;
}

.dashboard-zoom-backdrop {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(17, 24, 39, .7);
}

.dashboard-card-zoomed {
    position: fixed !important;
    top: 5vh !important;
    left: 5vw !important;
    right: 5vw !important;
    bottom: 5vh !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    z-index: 4010;
    transition: none !important;
}

.dashboard-card-zoomed .dashboard-card-shell {
    height: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4) !important;
}

.dashboard-card-loading-indicator {
    position: absolute;
    top: .2rem;
    left: .2rem;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #344767;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
    pointer-events: none;
}

    .dashboard-card-loading-indicator .spinner-border {
        width: 1rem;
        height: 1rem;
        border-width: .15em;
    }

.dashboard-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: .75rem 1rem 1rem !important;
}

.dashboard-card-body-editing {
    display: flex;
    padding: .75rem !important;
}

.dashboard-card-body-frame {
    padding: 0 !important;
}

.dashboard-card-frame-controls {
    position: absolute;
    top: .4rem;
    right: .4rem;
    z-index: 10;
    opacity: 0;
    transition: opacity .15s;
}

.dashboard-card-shell:hover .dashboard-card-frame-controls,
.dashboard-card-zoomed .dashboard-card-frame-controls {
    opacity: 1;
}

.dashboard-card-edit-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    width: 100%;
    min-height: 100%;
    padding: .75rem;
    color: #6c757d;
    background: rgba(108, 117, 125, .06);
    border: 1px dashed rgba(108, 117, 125, .35);
    border-radius: .85rem;
    text-align: center;
    pointer-events: none;
}

.dashboard-card-edit-placeholder-icon {
    color: #495057;
    font-size: 24px;
    line-height: 1;
}

.dashboard-card-edit-placeholder-title {
    max-width: 100%;
    color: #343a40;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-card-edit-placeholder-size {
    color: #212529;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-card-edit-placeholder-help {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.dashboard-card-blank-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    color: #6c757d;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    opacity: .7;
}

.dashboard-sidebar-accent-button,
.dashboard-quicklink-button {
    background: #343a40 !important;
    border-color: #343a40 !important;
    box-shadow: 0 4px 10px rgba(52, 58, 64, .25);
}

    .dashboard-sidebar-accent-button:hover,
    .dashboard-sidebar-accent-button:focus-visible,
    .dashboard-quicklink-button:hover,
    .dashboard-quicklink-button:focus-visible {
        background: #23272b !important;
        border-color: #23272b !important;
        color: #fff !important;
    }

.dashboard-marketing-materials-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding-right: .25rem;
}

.dashboard-marketing-material-button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    width: 100%;
    min-height: 74px;
    padding: .75rem;
    color: #344767;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .85rem;
    text-align: left;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .dashboard-marketing-material-button:hover,
    .dashboard-marketing-material-button:focus-visible {
        background: rgba(52, 71, 103, .03);
        border-color: rgba(52, 71, 103, .18);
        box-shadow: 0 4px 10px rgba(52, 58, 64, .08);
    }

.dashboard-marketing-material-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: #343a40;
    border-radius: .65rem;
    box-shadow: 0 4px 10px rgba(52, 58, 64, .25);
}

    .dashboard-marketing-material-icon .material-symbols-rounded {
        font-size: 20px;
        line-height: 1;
    }

.dashboard-marketing-material-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dashboard-marketing-material-title {
    color: #111;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-marketing-material-description {
    margin-top: .2rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.25;
}

.dashboard-marketing-material-cta {
    color: #344767;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(1px);
}

.dashboard-modal-card {
    width: min(680px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    background: #fff;
}

.dashboard-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #6c757d;
    background: transparent;
    border: 0;
    border-radius: .5rem;
}

    .dashboard-modal-close:hover,
    .dashboard-modal-close:focus-visible {
        color: #212529;
        background: rgba(0, 0, 0, .05);
    }

    .dashboard-modal-close .material-symbols-rounded {
        font-size: 20px;
        line-height: 1;
    }

.dashboard-modal-body {
    overflow-y: auto;
}

.dashboard-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .5rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.dashboard-new-trial-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-new-trial-choice {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    min-height: 132px;
    width: 100%;
    padding: 1rem;
    color: #344767;
    text-align: left;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

    .dashboard-new-trial-choice:hover,
    .dashboard-new-trial-choice:focus-visible {
        color: #344767;
        border-color: rgba(52, 58, 64, .35);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
        transform: translateY(-1px);
    }

    .dashboard-new-trial-choice:disabled {
        cursor: not-allowed;
        opacity: .65;
        transform: none;
    }

.dashboard-new-trial-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    color: #fff;
    background: #343a40;
    border-radius: .65rem;
    box-shadow: 0 4px 10px rgba(52, 58, 64, .25);
}

    .dashboard-new-trial-choice-icon .material-symbols-rounded {
        font-size: 22px;
        line-height: 1;
    }

.dashboard-new-trial-choice-copy {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.dashboard-new-trial-choice-title {
    color: #111;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
}

.dashboard-new-trial-choice-description {
    color: #6c757d;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
}

.dashboard-new-trial-form {
    display: flex;
    flex-direction: column;
}

.dashboard-opportunity-vendor-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: 1rem;
}

.dashboard-opportunity-vendor-label {
    color: #344767;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-opportunity-vendor-status,
.dashboard-tenant-url-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 20px;
    color: #6c757d;
    font-size: .74rem;
    font-weight: 700;
}

.dashboard-tenant-url-status {
    min-height: 24px;
    font-size: .78rem;
}

.dashboard-tenant-url-status .material-symbols-rounded {
    font-size: 20px;
    line-height: 1;
}

.dashboard-tenant-url-status-valid {
    color: #00a332;
}

.dashboard-tenant-url-status-invalid {
    color: #dc3545;
}

.dashboard-quicklinks-list {
    max-height: 100%;
    overflow-y: auto;
    padding-right: .25rem;
}

.dashboard-quicklink-button {
    min-height: 54px;
    text-align: left;
}

.dashboard-quicklink-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-quicklinks-empty,
.dashboard-device-breakdown-empty,
.dashboard-production-empty,
.dashboard-opportunity-empty,
.dashboard-widget-loading-message {
    display: flex;
    align-items: center;
}

.dashboard-quicklinks-empty,
.dashboard-device-breakdown-empty,
.dashboard-production-empty,
.dashboard-opportunity-empty {
    min-height: 56px;
}

.dashboard-widget-loading-message {
    gap: .5rem;
}

.dashboard-quicklinks-settings-list,
.dashboard-column-settings-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.dashboard-quicklink-settings-row {
    display: grid;
    grid-template-columns: 110px 1fr 1.5fr auto;
    align-items: center;
    gap: .75rem;
}

.dashboard-column-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .75rem;
}

.dashboard-column-settings-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #344767;
    background: rgba(52, 71, 103, .06);
    border: 0;
    border-radius: .5rem;
}

    .dashboard-column-settings-button:hover,
    .dashboard-column-settings-button:focus-visible {
        color: #111;
        background: rgba(52, 71, 103, .12);
    }

    .dashboard-column-settings-button .material-symbols-rounded {
        font-size: 20px;
        line-height: 1;
    }

.dashboard-column-checkbox {
    width: 1rem;
    height: 1rem;
    margin-top: .15rem;
    margin-right: .5rem;
    accent-color: #343a40;
}

.dashboard-device-breakdown-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-device-breakdown-settings-group {
    padding: 1rem;
    background: rgba(248, 249, 250, .8);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: .75rem;
}

.dashboard-device-breakdown-settings-title {
    margin-bottom: .75rem;
    color: #111;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.dashboard-device-breakdown-group-options {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.dashboard-device-breakdown-group-option {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #344767;
    font-size: .78rem;
    font-weight: 700;
}

.dashboard-device-breakdown-group-option input {
    accent-color: #343a40;
}

.dashboard-device-breakdown-total-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    color: #344767;
    font-size: .78rem;
    font-weight: 700;
}

.dashboard-device-breakdown-total-toggle input {
    accent-color: #343a40;
}

.dashboard-device-breakdown-table-wrapper,
.dashboard-production-table-wrapper,
.dashboard-opportunity-table-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow: auto;
    padding-right: .25rem;
}

.dashboard-production-table,
.dashboard-opportunity-table {
    min-width: 720px;
}

.dashboard-opportunity-table {
    table-layout: fixed;
    min-width: 760px;
}

.dashboard-opportunity-table th[data-column="dealer"],
.dashboard-opportunity-table td[data-column="dealer"] {
    width: 120px;
    max-width: 140px;
}

.dashboard-opportunity-table th[data-column="name"],
.dashboard-opportunity-table td[data-column="name"] {
    width: 180px;
    max-width: 220px;
}

.dashboard-opportunity-table th[data-column="stage"],
.dashboard-opportunity-table td[data-column="stage"] {
    width: 72px;
    max-width: 80px;
}

.dashboard-opportunity-table th[data-column="controls"],
.dashboard-opportunity-table td[data-column="controls"] {
    width: 300px;
    max-width: 320px;
}

.dashboard-opportunity-table th[data-column="action"],
.dashboard-opportunity-table td[data-column="action"] {
    width: 76px;
    max-width: 86px;
}

.dashboard-opportunity-table th[data-column="contract"],
.dashboard-opportunity-table td[data-column="contract"] {
    width: 130px;
    max-width: 150px;
}

.dashboard-device-breakdown-table th,
.dashboard-production-table th,
.dashboard-opportunity-table th {
    color: #6c757d !important;
    font-size: .62rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.dashboard-production-tenant-name,
.dashboard-opportunity-name {
    max-width: 180px;
    color: #111;
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-opportunity-title-cell {
    min-width: 0;
}

.dashboard-opportunity-name,
.dashboard-opportunity-subtitle {
    max-width: 100%;
}

.dashboard-production-tenant-subtitle,
.dashboard-opportunity-subtitle,
.dashboard-opportunity-dealer {
    max-width: 180px;
    color: #344767;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-production-time-left {
    min-width: 100px;
}

.dashboard-production-time-left-bar {
    width: 96px;
    height: 3px;
    margin-bottom: .25rem;
    background: rgba(0, 0, 0, .08);
}

.dashboard-production-time-left-progress {
    height: 100%;
    background: #48a347;
}

.dashboard-production-time-left-label,
.dashboard-production-expiry-date,
.dashboard-production-support-level,
.dashboard-production-devices,
.dashboard-opportunity-contract {
    color: #344767;
    font-size: .74rem;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-opportunity-contract {
    color: #00a332;
    font-size: .92rem;
    font-weight: 900;
}

.dashboard-opportunity-widget {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.dashboard-opportunity-table-wrapper {
    padding-bottom: 4.75rem;
    overscroll-behavior: contain;
}

.dashboard-opportunity-new-button {
    position: absolute;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    color: #fff;
    background: #ea580c !important;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(234, 88, 12, .35);
}

    .dashboard-opportunity-new-button:hover,
    .dashboard-opportunity-new-button:focus-visible {
        color: #fff;
        background: #c2410c !important;
        box-shadow: 0 10px 22px rgba(234, 88, 12, .45);
    }

    .dashboard-opportunity-new-button .material-symbols-rounded {
        font-size: 26px;
        line-height: 1;
    }

.dashboard-table-sort-button {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    font-weight: inherit;
    text-transform: inherit;
}

    .dashboard-table-sort-button .material-symbols-rounded {
        font-size: 16px;
        line-height: 1;
    }

.dashboard-opportunity-stage-indicator {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 0, 0, .08);
    border-radius: 50%;
}

.dashboard-opportunity-stage-arc {
    position: absolute;
    inset: -2px;
    border: 2px solid #28a745;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.dashboard-opportunity-controls {
    display: grid;
    grid-template-columns: auto minmax(120px, 220px);
    row-gap: .45rem;
    column-gap: .5rem;
    max-width: 300px;
    min-width: 0;
}

.dashboard-opportunity-control-row {
    display: contents;
    color: #344767;
    font-size: .72rem;
    font-weight: 700;
}

    .dashboard-opportunity-control-row span {
        text-align: right;
        white-space: nowrap;
    }

.dashboard-opportunity-control-input,
.dashboard-opportunity-control-number,
.dashboard-opportunity-control-date {
    height: 28px;
    padding-top: .2rem;
    padding-bottom: .2rem;
    color: #344767;
    font-size: .72rem;
    font-weight: 700;
    border-color: #d2d6da;
}

.dashboard-opportunity-control-input {
    max-width: 220px;
    min-width: 0;
}

.dashboard-opportunity-picker-shell {
    max-width: 220px;
    min-width: 0;
}

.dashboard-opportunity-control-number {
    max-width: 76px;
}

.dashboard-opportunity-control-date {
    max-width: 150px;
}

    .dashboard-opportunity-control-input:disabled,
    .dashboard-opportunity-control-number:disabled,
    .dashboard-opportunity-control-date:disabled {
        background: #fff;
        opacity: 1;
    }

.dashboard-opportunity-action-button,
.dashboard-production-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: #fff;
    background: #343a40 !important;
    border: 0;
    border-radius: .5rem;
    box-shadow: 0 4px 10px rgba(52, 58, 64, .25);
}

    .dashboard-opportunity-action-button:hover,
    .dashboard-opportunity-action-button:focus-visible,
    .dashboard-production-action-button:hover,
    .dashboard-production-action-button:focus-visible {
        background: #23272b !important;
        color: #fff;
    }

    .dashboard-opportunity-action-button .material-symbols-rounded,
    .dashboard-production-action-button .material-symbols-rounded {
        font-size: 20px;
        line-height: 1;
    }

    .dashboard-opportunity-action-button:disabled {
        opacity: 1;
    }

@media (max-width: 768px) {
    .dashboard-new-trial-choice-grid,
    .dashboard-device-breakdown-settings-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-quicklink-settings-row {
        grid-template-columns: 1fr;
    }

    .dashboard-column-settings-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-column-settings-button {
        justify-self: flex-start;
    }
}

@media (max-width: 576px) {
    .dashboard-modal-backdrop {
        align-items: stretch;
        padding: .75rem;
    }

    .dashboard-modal-card {
        max-height: none;
    }
}

main.main-content.dashboard-main-content-expanded,
body.dashboard-sidebar-collapsed main.main-content {
    margin-left: 0 !important;
}