/* MedTrans shell — CSP helpers + asset fallbacks for styles.css (dictate2us default theme) */

.report-header-filter {
    float: right;
    width: 32%;
}

.report-filter-label {
    color: #12437A;
    font-size: 12px;
}

.report-upload-select {
    width: 150px;
}

.report-hidden-indicator {
    visibility: hidden;
}

.logout-inline-form {
    display: inline;
}

.logout-link-button {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.dashboard-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
}

.form-error {
    color: #b00020;
}

.form-field-group {
    margin-top: 0.75rem;
}

.form-actions {
    margin-top: 1rem;
}

/*
 * Legacy shell backgrounds come from styles.css (bg.gif / bg-navigation.gif /
 * bg-dashboard-dictate2us.jpg under /css/images/). Do not override with SVG —
 * that washed out the navy (#0C2C5F) brand to sky-blue.
 * Keep only layout helpers that do not replace theme chrome.
 */
#containerDashboard,
#containerDashboardClients,
#containerJobs,
#containerUsers,
#containerManage,
#containerReports,
#containerSearch {
    min-height: 260px;
    height: auto;
}

#containerDashboard #settings,
#containerDashboardClients #settings,
#containerJobs #settings,
#containerUsers #settings,
#containerManage #settings,
#containerReports #settings,
#containerSearch #settings,
#containerDashboard #settings a,
#containerDashboardClients #settings a,
#containerJobs #settings a,
#containerUsers #settings a,
#containerManage #settings a,
#containerReports #settings a,
#containerSearch #settings a {
    color: #b3b3b3;
}

#containerDashboard #settings a:hover,
#containerDashboardClients #settings a:hover,
#containerJobs #settings a:hover,
#containerUsers #settings a:hover,
#containerManage #settings a:hover,
#containerReports #settings a:hover,
#containerSearch #settings a:hover {
    color: #000;
}

#containerDashboard #userName,
#containerDashboardClients #userName,
#containerJobs #userName,
#containerUsers #userName,
#containerManage #userName,
#containerReports #userName,
#containerSearch #userName {
    color: #888;
}

#containerDashboard .greenTxt,
#containerDashboardClients .greenTxt,
#containerJobs .greenTxt,
#containerUsers .greenTxt,
#containerManage .greenTxt,
#containerReports .greenTxt,
#containerSearch .greenTxt {
    color: #0e315d;
    font-weight: bold;
}

/* styles.css sets #container { height:260px } for the chrome band; grow with content so
   floated #manage + #searchcontainer clear above the dashboard table (Java parity). */
#container {
    height: auto;
    min-height: 260px;
    overflow: visible;
}

#container::after {
    content: "";
    display: table;
    clear: both;
}

/* Reinforce legacy float row: title left, search right (same rules as styles.css). */
#container > #manage,
#container > #allJobs1 {
    float: left;
    width: 300px;
    margin: 0 0 15px 0;
}

#container > #searchcontainer {
    float: right;
    width: 490px;
}

#container > hr.topline {
    clear: both;
    border: 1px solid #0c2b5e;
    margin: 0 0 15px 0;
}

/* Version toggle (old version) — fixed pill top-right to switch to new layout. */
.version-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #12437a;
    color: #fff !important;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(16, 24, 40, .18);
}

.version-toggle:hover {
    background: #0f2f57;
    color: #fff !important;
}

.version-toggle__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #17c3b2;
}

.version-toggle--fixed {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 1000;
}

/* Keep tab label colors from styles.css (#ebf1f4 / active). Do not force navy on #navigation. */

/* Java includes/message.jsp bands (error.jsp / action messages). */
#errorMessageContainer,
.message-container {
    background: #fff;
    margin: 0 auto 10px auto;
}

.errorMessage {
    border: 1px solid #fff;
    background: #ff0000;
    padding: 10px;
    color: #fff;
    font-size: 12pt;
}

.actionMessage {
    border: 1px solid #fff;
    background: green;
    padding: 10px;
    color: #fff;
    font-size: 12pt;
}

.create-job-form-panel,
.upload-panel-highlight {
    background: #e8edf4;
}

