html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin:0px;
}

a, .btn-link {
    color: #006bb7;
}
.tele-menu-container{
background-color: #eae8e8;
}
.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNz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iA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.report-filter-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.35rem 1.45rem 1.7rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.report-filter-header {
    max-width: 690px;
    margin: 0 auto 0.7rem;
}

.report-filter-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 690px;
    margin: 0 auto;
}

.report-filter-row {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    column-gap: 0.55rem;
    align-items: center;
}

.report-filter-label {
    font-weight: 600;
    color: #343a40;
    padding-top: 0;
    text-align: left;
    margin: 0;
}

.report-filter-field-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    width: 100%;
    max-width: 560px;
}

.report-filter-field {
    min-width: 0;
    flex: 1 1 0;
    max-width: 275px;
}

/* Single-control rows (Reporte / Transporte / Estatus) should span wider consistently */
.report-filter-field-group > .report-filter-field:only-child {
    flex: 1 1 100%;
    max-width: 560px;
}

.report-filter-inline-field {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.report-filter-sub-label {
    font-size: 0.74rem;
    color: #6c757d;
    margin: 0;
    min-width: 48px;
    white-space: nowrap;
}

.report-filter-stacked-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.report-filter-inline-field .k-input,
.report-filter-inline-field .k-picker,
.report-filter-inline-field .k-input-inner,
.report-filter-inline-field .k-dropdownlist,
.report-filter-inline-field .k-datepicker,
.report-filter-inline-field .k-textbox {
    width: 100%;
}

.report-filter-footer {
    margin-top: 0.9rem;
    padding-top: 0.35rem;
    display: flex;
    justify-content: flex-end;
    max-width: 690px;
    margin-left: auto;
    margin-right: auto;
}

.report-filter-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-filter-actions .k-button,
.report-filter-actions .btn {
    padding: 0.38rem 0.9rem;
    min-height: 34px;
    line-height: 1.2;
    border-radius: 0.45rem;
}

.report-filter-card .k-input,
.report-filter-card .k-picker,
.report-filter-card .k-input-inner,
.report-filter-card .k-dropdownlist,
.report-filter-card .k-datepicker,
.report-filter-card .k-textbox {
    width: 100%;
    min-height: 34px;
    border-radius: 0.45rem;
}

.report-filter-card .k-input-inner {
    font-size: 0.86rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

/* Report filter MultiSelect: hide X icons and show comma-separated tags */
.report-filter-card .k-multiselect .k-chip .k-chip-actions,
.report-filter-card .k-multiselect .k-chip .k-icon.k-i-close {
    display: none;
}

/* Aggregates dashboard hard dark overrides (global, because Telerik internals ignore scoped styles) */
.aggregates-dashboard .k-card,
.aggregates-dashboard .k-card-header,
.aggregates-dashboard .k-card-body,
.aggregates-dashboard .k-card-actions {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.aggregates-dashboard .metric-telerik.k-card {
    overflow: hidden !important;
}

.aggregates-dashboard .metric-telerik .k-card-body {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 124px !important;
    padding: 0 !important;
    background-color: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    position: relative !important;
    z-index: 2 !important;
}

.aggregates-dashboard .k-input-solid,
.aggregates-dashboard .k-picker-solid,
.aggregates-dashboard .k-numerictextbox .k-input-inner,
.aggregates-dashboard .k-datepicker .k-input-inner,
.aggregates-dashboard .k-input-inner,
.aggregates-dashboard .k-input-value-text {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

.aggregates-dashboard .k-input-button,
.aggregates-dashboard .k-button-solid-base.k-input-button {
    background-color: #333333 !important;
    color: #a0a0a0 !important;
    border-color: transparent !important;
}

.aggregates-dashboard .k-progressbar {
    background-color: #333333 !important;
}

.aggregates-dashboard .k-progressbar .k-progress-status {
    filter: none !important;
}

/* .aggregates-dashboard .dash-progress--private.k-progressbar .k-progress-status,
.aggregates-dashboard .dash-progress--private .k-progress-status {
    background-color: #3498db !important;
    border-color: #3498db !important;
}

.aggregates-dashboard .dash-progress--company.k-progressbar .k-progress-status,
.aggregates-dashboard .dash-progress--company .k-progress-status {
    background-color: #2ecc71 !important;
    border-color: #2ecc71 !important;
} */

.aggregates-dashboard .k-chart,
.aggregates-dashboard .k-chart-wrap,
.aggregates-dashboard .k-chart-surface,
.aggregates-dashboard .k-chart > div {
    background-color: #2a2a2a !important;
}

.aggregates-dashboard .k-chart-surface svg {
    background-color: #2a2a2a !important;
}

.aggregates-dashboard .k-chart-surface svg rect[fill="white"],
.aggregates-dashboard .k-chart-surface svg rect[fill="#fff"],
.aggregates-dashboard .k-chart-surface svg rect[fill="#ffffff"] {
    fill: #2a2a2a !important;
}

.aggregates-dashboard .k-chart-legend text,
.aggregates-dashboard .k-chart text,
.aggregates-dashboard .k-chart-surface text {
    fill: #ffffff !important;
}

/* Confirmation dialog (global because Telerik renders outside component scope) */
.confirmation-dialog.k-window,
.confirmation-dialog .k-dialog {
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid #cfd6e2 !important;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.28) !important;
}

.confirmation-dialog.k-window .k-dialog-titlebar,
.confirmation-dialog .k-dialog-titlebar {
    background-color: #2474c9 !important;
    color: #ffffff !important;
    padding: 10px 16px !important;
    border-bottom: 0 !important;
}

.confirmation-dialog.k-window .k-window-title,
.confirmation-dialog .k-window-title {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.confirmation-dialog.k-window .k-dialog-content,
.confirmation-dialog .k-dialog-content {
    background: #ffffff !important;
    padding: 0 !important;
}

.confirmation-dialog-content {
    min-height: 92px;
    padding: 20px 18px 16px;
}

.confirmation-dialog-message {
    margin: 0;
    color: #334155;
    font-size: 1.06rem;
    line-height: 1.55;
    white-space: pre-wrap;
}

.confirmation-dialog.k-window .k-dialog-buttongroup,
.confirmation-dialog .k-dialog-buttongroup {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    border-top: 1px solid #e5e7eb !important;
    background: #f8fafc !important;
}

.confirmation-dialog.k-window .k-dialog-actions,
.confirmation-dialog .k-dialog-actions,
.confirmation-dialog.k-window .k-actions,
.confirmation-dialog .k-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
}

.confirmation-dialog.k-window .k-dialog-actions > *,
.confirmation-dialog .k-dialog-actions > *,
.confirmation-dialog.k-window .k-actions > *,
.confirmation-dialog .k-actions > * {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

.confirmation-dialog.k-window .k-dialog-buttongroup .k-button,
.confirmation-dialog .k-dialog-buttongroup .k-button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 56px !important;
    height: 34px !important;
    border-radius: 3px !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    padding: 0 13px !important;
    max-width: none !important;
}

.confirmation-dialog.k-window .k-dialog-buttongroup.k-actions-stretched .k-button,
.confirmation-dialog .k-dialog-buttongroup.k-actions-stretched .k-button {
    flex: 0 0 auto !important;
    width: auto !important;
}

.confirmation-dialog.k-window .k-dialog-actions .k-button,
.confirmation-dialog .k-dialog-actions .k-button,
.confirmation-dialog.k-window .k-actions .k-button,
.confirmation-dialog .k-actions .k-button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 56px !important;
    max-width: none !important;
}

.confirmation-dialog-no {
    background: #ffffff !important;
    color: #374151 !important;
    border-color: #cfd6e2 !important;
}

.confirmation-dialog-yes {
    background-color: #2474c9 !important;
    border-color: #2474c9 !important;
}

.confirmation-dialog .k-dialog-buttongroup .k-button .k-button-text,
.confirmation-dialog .k-dialog-actions .k-button .k-button-text,
.confirmation-dialog .k-actions .k-button .k-button-text {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
}





