﻿p, .media-body {
    font-size: 16px;
}


.dropzone .dz-default.dz-message>span {
    margin-top: 2.25rem;
}

.col-form-label {
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    line-height: 16px;
    color: #356984;
}
.navbar-dark{
    background-color:#263238;
}

/* MudBlazor.min.css defines .order-1/.order-2 with !important and uses a 1920px
   xl breakpoint, so Bootstrap's order-xl-1/order-xl-2 on the main navbar lose
   between 1200px and 1919px — the avatar/user group renders next to the logo
   instead of pinned top right. Re-assert the intended desktop order. */
@media (min-width: 1200px) {
    .navbar .navbar-collapse.order-xl-1 {
        order: 1 !important;
    }

    .navbar > .navbar-nav.order-xl-2 {
        order: 2 !important;
    }
}

.sidebar{
    /*background-color:#263238;*/
}
 .sidebar-med{
     background-color: #2f444e;
     color: #fff;
 }
.large-header {
    font-weight: 900;
    font-size: 18px;
    color: #27546b;
    border-bottom: 1px solid rgba(39, 84, 107, 0.12);
    margin-bottom: 20px;
}

.summary-header {
    font-weight: 900;
    font-size: 26px;
    color: #27546b;
    border-bottom: 1px solid rgba(39, 84, 107, 0.12);
    margin-top: 0px;
}

h5.card-title, .h5.card-title {
    font-weight: 600;
    font-style: normal;
}

.tcresultrow, .tcresultdetrow {
    font-weight: 900;
    font-size: 16px;
    color: #356984
}

.tcresultdetrow {
    height: 65px;
    border-top: none;
}

.redtext {
    color: #f44336;
}

.form-control, .select2, .select2-selection--single:not([class*=bg-]), .tcthead {
    color: rgba(53, 71, 80, 0.82);
    font-size: 15px;
    font-weight: 700;
}

.card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.btn {
    transition: all .22s;
    box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
        filter: brightness(130%);
    }

.tresultbody {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.tcresultrow {
    background-color: #f6fafd;
    height: 65px;
    border-top: none;
}

.tcthead {
    border-bottom: 0;
}

.chevdown {
    width: 20px;
    text-align: right;
}

/*.datatable-button-html5-basic {
}

.deleteitem {
}*/

.cardrightbutton {
    right: 10px;
    top: 10px;
}

.companyTile {
    background-image: url(/assets/images/icon/company.png);
    background-repeat: no-repeat;
    background-position-x: 168px;
    background-position-y: -31px;
}

.calendarTile {
    background-image: url(/assets/images/icon/calendar.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -30px;
}

.randTile {
    background-image: url(/assets/images/icon/rand.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -30px;
}

.carTile {
    background-image: url(/assets/images/icon/car.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -30px;
}

.calcTile {
    background-image: url(/assets/images/icon/calculator.png);
    background-repeat: no-repeat;
    background-position-x: 168px;
    background-position-y: 5px;
}

.purchaseTile {
    background-image: url(/assets/images/icon/purchase.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -19px;
}

.capitalTile {
    background-image: url(/assets/images/icon/capital.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -19px;
}

.salesTile {
    background-image: url(/assets/images/icon/sales.png);
    background-repeat: no-repeat;
    background-position-x: 199px;
    background-position-y: -38px;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08);
    filter: brightness(105%);
}

.icon60 {
    width: 60px !important;
    height: 60px !important;
    max-width: none;
    margin-top: 20px;
}

.accMenuIcon {
    max-height: 29px !important;
    margin-top: -5px !important;
}

.icon-account {
    display: block;
    margin: auto;
   
}

#logoicon {
    height: 100px;
}

[v-cloak] {
    display: none;
}

.help-button-wrapper {
    position: fixed;
    bottom: 1em;
    right: 1em;
    text-align: center;
}
.help-button {
    height: 6em;
    width: 6em;
    font-size: 14px;
    border-radius: 50%;
    border: 0 none;
    background: #3479d4;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    transform: scale(1);
    transition: all 200ms ease;
}
.help-button:hover,
.help-button:focus,
.help-button:active {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
    outline: 0;
}
.help-button span {
    display: block;
    font-size: 2em;
    transform: scale(1);
    transition: transform 100ms ease;
}
.help-button:hover span,
.expanded .help-button span,
.expanded .help-button span {
    transform: scale(1.25);
}
.expanded .help-button {
    transform: scale(.5);
    color: rgba(255,255,255,.5);
    background: #3145b3;
}
.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 200ms ease;
    transform: translate(0, 90px) scale(.5);
    transform-origin: bottom center;
    opacity: 0;
}
.expanded .help-list {
    transform: translate(0px,20px) scale(1);
    opacity: 1;
}
.help-list li {
    margin-bottom: 1em;
}
.help-list a {
    color: #212121;
}

.iframe-loading-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.iframe-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    z-index: 2;
}

.iframe-loading-text {
    margin-top: 0.75rem;
    font-size: 16px;
    color: #356984;
}

/* Extra-wide modal (one step larger than Bootstrap's modal-xl) */
.modal-xxl {
    max-width: 1320px;
}

@media (max-width: 1360px) {
    .modal-xxl {
        max-width: 95%;
    }
}

/* Full screen-height modal: dialog fills the viewport, body scrolls,
   header/footer stay pinned (mirrors Bootstrap's .modal-dialog-scrollable). */
.modal-dialog.modal-xxl {
    height: calc(100vh - 3.5rem);
    margin: 1.75rem auto;
}

.modal-dialog.modal-xxl .modal-content {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
}

.modal-dialog.modal-xxl .modal-body {
    overflow-y: auto;
}

/* White close (×) on colour-filled modal headers */
.modal-header.bg-primary .close,
.modal-header.bg-danger .close,
.modal-header.bg-success .close {
    color: #fff;
    opacity: .8;
}

.modal-header.bg-primary .close:hover,
.modal-header.bg-danger .close:hover,
.modal-header.bg-success .close:hover {
    opacity: 1;
}

/* ──────────────────────────────────────────────────────────────
   NotesModal UX overhaul — Spec/notes-modal-ux-improvements.md
   All rules namespaced under .notes-ui (content) or .modal-xxl
   (shell), which only NotesModal uses — nothing else is affected.
   ────────────────────────────────────────────────────────────── */
.notes-ui {
    --brand-500: #2D89EF;
    --brand-600: #1E73D6;
    --brand-50: #EFF6FF;
    --slate-900: #0F172A;
    --slate-700: #334155;
    --slate-500: #64748B;
    --slate-300: #CBD5E1;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --radius-sm: 6px;
}

/* Search */
.notes-ui .notes-search {
    position: relative;
}

.notes-ui .notes-search input {
    padding-left: 36px;
}

.notes-ui .notes-search input:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}

.notes-ui .notes-search__icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-500);
    pointer-events: none;
}

/* Sidebar — typographic categories, clear group→note hierarchy */
.notes-ui nav ul,
.notes-ui nav li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-ui .notes-category {
    margin: 0 0 6px;
}

.notes-ui .notes-category + .notes-category {
    margin-top: 22px;
}

.notes-ui .notes-category__label {
    margin: 0 0 6px;
    padding: 0 8px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--slate-500);
    border-bottom: 1px solid var(--slate-200);
}

.notes-ui .notes-category > ul {
    margin-left: 10px;
    padding-left: 6px;
    border-left: 1px solid var(--slate-200);
}

.notes-ui .notes-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: none;
    padding: 7px 10px;
    margin: 1px 0;
    font-size: 14px;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.notes-ui .notes-item:hover {
    background: var(--slate-100);
    color: var(--slate-900);
}

.notes-ui .notes-item--selected {
    background: var(--brand-50);
    color: var(--brand-600);
    font-weight: 600;
    border-left-color: var(--brand-500);
}

/* Content header — breadcrumb + title + template link */
.notes-ui .notes-content__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.notes-ui .notes-breadcrumb {
    font-size: 12px;
    color: var(--slate-500);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notes-ui .notes-content__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0;
}

.notes-ui .notes-template-link {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--brand-500);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
}

.notes-ui .notes-template-link:hover {
    text-decoration: underline;
    color: var(--brand-600);
}

/* Accessibility */
.notes-ui :focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.sr-only-live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------------
   In-app Help article (Views/Help/ArticleApp.cshtml) — signed-in users see
   help articles inside the admin chrome. Scoped to .help-article-app.
   ------------------------------------------------------------------------ */

.help-article-app .ha-app-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.75rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.help-article-app .ha-app-body h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.help-article-app .ha-app-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}

.help-article-app .ha-app-body p {
    line-height: 1.65;
}

.help-article-app .ha-app-body ul,
.help-article-app .ha-app-body ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.help-article-app .ha-app-body li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
}

.help-article-app .ha-app-body li::marker {
    color: #6c757d;
}

.help-article-app .ha-app-body li > ul,
.help-article-app .ha-app-body li > ol {
    margin: 0.4rem 0 0;
}

/* Callouts authored in article HTML: <div class="callout [info|danger]"><p>…</p></div> */
.help-article-app .ha-app-body .callout {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid #fce7a3;
    border-left: 3px solid #fbbf24;
    border-radius: 0.25rem;
    background: #fffbeb;
}

.help-article-app .ha-app-body .callout p {
    margin: 0;
}

.help-article-app .ha-app-body .callout p + p {
    margin-top: 0.5rem;
}

.help-article-app .ha-app-body .callout.info {
    border-color: #bbdefb;
    border-left-color: #2196F3;
    background: #f1f8fe;
}

.help-article-app .ha-app-body .callout.danger {
    border-color: #f3c2c2;
    border-left-color: #d64545;
    background: #fdf3f3;
}

.help-article-app .ha-app-body img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    margin: 0.5rem 0 1rem;
}

.help-article-app .ha-app-body table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.help-article-app .ha-app-body table th,
.help-article-app .ha-app-body table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e9ecef;
    vertical-align: top;
}

.help-article-app .ha-app-body table th {
    background: #f8f9fa;
    font-weight: 600;
}

.help-article-app .ha-app-body blockquote {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-left: 3px solid #2196F3;
    background: #f8f9fa;
    color: #495057;
}

.help-article-app .ha-app-definition {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-left: 3px solid #2196F3;
    border-radius: 0.25rem;
    background: #f8f9fa;
}

.help-article-app .ha-app-definition .lbl {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.help-article-app .ha-app-video {
    position: relative;
    padding-top: 56.25%;
    border-radius: 0.25rem;
    overflow: hidden;
}

.help-article-app .ha-app-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.help-article-app .ha-app-summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.help-article-app .ha-app-keyfacts {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.help-article-app .ha-app-keyfacts li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.help-article-app .ha-app-keyfacts li:last-child {
    margin-bottom: 0;
}
