/*
===============================================================================
SITE STYLES
===============================================================================
Table of Contents:
1. CSS Variables
2. Global Resets & Base Styles
3. Typography
4. Layout Components
   - Header
   - Footer
   - Containers
5. Navigation
6. Forms & Inputs
7. Buttons
8. Tables
9. Modals
10. Cards
11. Datepicker
12. Bootstrap Select
13. Tags & Input Groups
14. Utility Classes
15. Media Queries
16. Third-Party Overrides
17. Toast Notifications
===============================================================================
*/

/* =============================================================================
   1. CSS VARIABLES
   ============================================================================= */

:root {
  --header-height: 80px;
  --footer-height: 100px;
  --logo-height: 55px;
  --mwi-logo-height: 30px;
}

/* =============================================================================
   2. GLOBAL RESETS & BASE STYLES
   ============================================================================= */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: 1rem;
  height: 100%;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

/* Makes numbers monospaced */
body,
.form-control,
.filter-option-inner-inner {
  font-feature-settings: "tnum" !important;
}

  /* Remove padding-right when modal is active */
  body.modal-open {
    padding-right: 0 !important;
  }

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */

h1,
h2,
h3,
h4 {
  margin-bottom: 0 !important;
}

dl,
ol,
ul {
  margin-bottom: 0;
}

.page-title {
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -2px;
  color: rgb(120, 120, 120);
  vertical-align: middle;
  text-transform: none;
}

h3.page-title {
  padding: 3.125rem 0;
}

small {
  text-transform: none !important;
  font-size: .875rem !important;
}

.footnote {
  font-size: .875rem !important;
  font-style: italic;
  line-height: 1.35em;
  color: var(--color-gray-400);
}

p.message {
  line-height: 1.35em;
}

/* Navigation labels */
nav label,
small {
  text-transform: uppercase;
}

  nav label.tips,
  small.tips {
    text-transform: none;
    font-size: 80%;
    color: black;
  }

  nav label.right,
  small.right {
    clear: right;
    float: right;
  }

nav label {
  display: block;
  margin-bottom: 3%;
}

/* =============================================================================
   4. LAYOUT COMPONENTS
   ============================================================================= */

/* App Container */
.app-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: var(--header-height);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.logo-img {
  height: var(--logo-height);
  width: auto;
  vertical-align: middle;
}

.mwi-logo-img {
  height: var(--mwi-logo-height);
}

/* Footer */
.footer {
  text-align: right;
  padding: 2em 0;
  height: var(--footer-height);
  bottom: 0;
  width: 100%;
  z-index: 10;
}

/* View Content */
.view-content {
  min-height: 600px;
  width: 100%;
}

/* Links */
a {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* =============================================================================
   5. NAVIGATION
   ============================================================================= */

.navbar-nav > li > a#js-login-link--nav-right {
  line-height: 24px;
}

.navbar-default .navbar-nav > li > a {
  font-weight: 700;
}

footer .navbar {
  margin-bottom: 0;
}

.nav-pills > li > a {
  padding: 1rem !important;
}

/* Center all pills menus */


.nav-pills-container .nav-link:hover {
  background-color: var(--color-gray-light) !important;
  border-color: var(--color-gray-light) !important;
  color: var(--color-brand-800) !important;
}

.nav-pills-container .nav-link.active:hover {
  background: var(--color-brand-800) !important;
}

.nav-pills-container-center {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =============================================================================
   6. FORMS & INPUTS
   ============================================================================= */

.form-control,
.form-control-sm {
  background-color: #fff;
  background-image: none;
  border-width: 1px;
  display: block;
  line-height: 1.42857;
  width: 100%;
}

input.form-control {
  padding: .5rem;
  height: 2.5rem;
}

input.form-control-sm {
  padding: .25rem .5rem;
  height: 2rem;
}

textarea.form-control {
  height: auto;
}

/* Form Control Shadows */
input.form-control,
input.form-control-sm,
textarea.form-control,
textarea.form-control-sm,
.table-transparent input.form-control,
.table-transparent input.form-control-sm,
.input-daterange > input.form-control,
.input-daterange > input.form-control-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .1);
}

.table input.form-control,
.table input.form-control-sm,
.table textarea.form-control,
.table textarea.form-control-sm,
.modal-body .table input.form-control,
.modal-body .table input.form-control-sm,
.modal-body .table textarea.form-control,
.modal-body .table textarea.form-control-sm {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .15);
}

/* Placeholders */
input::placeholder,
textarea::placeholder {
  font-style: italic;
}

/* Number Input Spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

/* Form Labels */
.col-form-label {
  text-align: left;
}

/* Custom Input with Suffix */
.input-container {
  position: relative;
  display: block;
}

.input-with-suffix {
  padding: .75rem 3rem .75rem .5rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.suffix {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.suffix-dbwp {
  padding-right: 7.5rem !important;
}

/* Input Groups */
.input-group-text {
  border: none;
}

.input-daterange.input-group > input:hover {
  border-right: 1px solid var(--color-brand) !important;
}

.input-group .btn > i {
  margin-right: 0 !important;
}

/* Unified Input Group (Search Control) */
.input-group-unified {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  overflow: hidden;
  transition: all 0.2s ease;
  padding: 0;
}

  .input-group-unified .form-control,
  .input-group-unified .btn {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    border-radius: 0 !important;
    outline: none !important;
    height: 44px;
    line-height: 1.5;
    padding: .5rem .75rem;
    margin: 0;
  }

  .input-group-unified .form-control {
    flex: 1 1 auto;
    min-width: 0;
  }

    .input-group-unified .form-control:focus {
      background: transparent;
      outline: none;
    }

.input-divider {
  width: 1px;
  background: #e9ecef;
  align-self: stretch;
  margin: .5rem 0;
  flex-shrink: 0;
}

.input-group-unified .btn {
  min-width: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1rem;
  background: transparent;
  color: #6c757d;
  transition: color 0.2s ease;
  cursor: pointer;
}

  .input-group-unified .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

.input-group-unified:hover {
  border-color: #adb5bd;
  box-shadow: 0 .125rem .5rem rgba(0, 0, 0, .08) !important;
}

.input-group-unified:focus-within {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

.input-group-unified .btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.input-group-unified .form-control::placeholder {
  opacity: 1;
}

/* Validation */
span.validationMessage {
  color: #e74c3c;
  font-size: 90%;
}

/* Checkboxes */
.form-check-input[type=checkbox] {
  border-radius: .25em;
  margin-right: .125rem;
}

.cm-num-total {
  width: 50%;
}

.cm-num-avg {
  width: 45%;
}

/* Mobile Device Input */
.mobile-device {
  display: block !important;
  position: absolute;
  opacity: 0;
  z-index: 2;
}

.d-unset {
  display: unset !important;
}

/* =============================================================================
   7. BUTTONS
   ============================================================================= */

button,
.btn,
.form-control {
  border-radius: .25rem;
}

.btn {
  width: 100% !important;
}

  .btn > i {
    margin-right: .5rem !important;
  }

.btn-size {
  width: 150px !important;
}

.btn-container {
  margin-top: 40px;
}

.buttons .btn {
  width: 100% !important;
}

.row.buttons {
  margin-bottom: 2.5rem;
}

  .row.buttons.main {
    --bs-gutter-x: 1.5rem;
    margin-bottom: 3.5rem;
  }

.btn-default.disabled {
  background-color: #5f7577 !important;
  border-color: #5f7577 !important;
}

/* Button Groups */
.btn-group input[type=radio] {
  display: none;
}

.btn-group-justified {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
}

  .btn-group-justified > .btn,
  .btn-group-justified > .btn-group {
    display: table-cell;
    float: none;
    padding: 1rem !important;
    border-radius: .5rem;
  }

/* Button Bar */
.button-bar {
  display: inline-block;
  margin: 0 0 1em 1em;
}

/* Tag Modal Buttons */
.btn-wrapper {
  display: flex;
  justify-content: space-between;
  gap: .625rem;
}

@media (max-width: 991.96px) {
  .btn-wrapper {
    gap: 1rem;
  }
}

.btn-div {
  flex: 1 1 0;
  min-width: 0;
}

  .btn-div > .btn {
    width: 100%;
    min-height: 60px;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: .5rem !important;
  }

  .btn-div .btn > i {
    margin-right: 0 !important;
    margin-bottom: .25rem !important;
  }

  .btn-div .dropdown-menu {
    padding: .75rem !important;
  }

/* =============================================================================
   8. TABLES
   ============================================================================= */

.table {
  margin-bottom: 0 !important;
}

  .table > thead > tr > th,
  .table > tbody > tr > td,
  .table > tfoot > tr > td {
    vertical-align: middle !important;
  }

    .table > tbody > tr > td .date {
      margin-bottom: 0;
    }

  .table.caption-top > caption {
    font-size: 1.15rem;
    font-weight: 700;
  }

  .table.caption-top > caption,
  .table-caption {
    text-align: center;
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
  }

    .table-caption > span {
      text-transform: uppercase;
      font-size: .9rem;
      font-weight: 700;
    }

  /* Table Links */
  table a:not(.btn),
  .table a:not(.btn) {
    text-decoration: none;
  }

/* Transparent Tables */
.table-transparent {
  background-color: transparent;
}

  .table-transparent th,
  .table-transparent td {
    background-color: transparent;
  }

/* Table Containers */
.table-container-tags,
.table-container-move-tag {
  overflow-y: auto;
}

.table-container-tags {
  height: 300px;
}

@media (max-width: 991.98px) {
  .table-container-tags {
    height: 250px;
  }
}

.table-container-move-tag {
  height: 190px;
}

.table-responsive,
.panel-body {
  overflow: visible;
}

.table .bootstrap-select.form-control {
  margin-bottom: 0;
}

/* =============================================================================
   9. MODALS
   ============================================================================= */

/* Modal Positioning */
.modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

/* Modal Header */
.modal-header {
  padding: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(.5rem - (1px));
  border-top-right-radius: calc(.5rem - (1px));
}

.modal-title {
  font-weight: 600;
  text-align: center;
}

/* Modal Body */
.modal-body {
  padding: 1rem;
  overflow: visible;
}

/* Modal Footer */
.modal-footer {
  display: flex;
  gap: .5rem !important;
  padding: calc(1rem - .5rem * .5);
  border-top: 1px solid #dee2e6;
  border-bottom-left-radius: calc(.5rem - (1px));
  border-bottom-right-radius: calc(.5rem - (1px));
}

  .modal-footer .btn {
    padding: .25rem .5rem !important;
    font-size: .875rem;
  }

@media (max-width: 991.98px) {
  .modal-footer .btn {
    padding: .5rem !important;
  }
}

.modal-footer button {
  text-transform: none;
}

.modal-footer > .btn.btn-text-primary {
  max-width: 100px;
}

.modal-footer > .btn.btn-primary {
  max-width: 140px;
}

#showDialogModal .modal-footer > .btn.btn-primary,
#confirmDialogModal .modal-footer > .btn.btn-primary,
#confirmDialogModal .modal-footer > .btn.btn-secondary {
  max-width: 80px !important;
}

/* Modal Backdrop */
.modal-backdrop.in {
  opacity: 0.8;
  filter: opacity(80%);
}

.modal .close {
  opacity: 1;
}

/* Tag Modals */
#recordTagsModal .modal-body,
#editTagsModal .modal-body {
  height: 550px;
}

#recordTagsModal .dropdown-menu,
#editTagsModal .dropdown-menu {
  padding: 15px;
  margin-left: 15px;
  width: 200px;
}

/* Modal Dialog Sizes */
.modal-dialog-max-width-375 {
  max-width: 375px;
}

.modal-dialog-max-width-550 {
  max-width: 550px;
}

.modal-dialog-max-width-600 {
  max-width: 600px;
}

.modal-dialog-max-width-650 {
  max-width: 650px;
}

.modal-dialog-max-width-700 {
  max-width: 700px;
}

.modal-dialog-custom-width {
  max-width: 375px;
}

/* =============================================================================
   10. CARDS
   ============================================================================= */

.card {
  width: 100% !important;
  border: none;
  box-shadow: 0 .125rem .5rem rgba(33, 19, 89, .08);
  border-radius: .5rem;
  transition: box-shadow 0.2s;
}

  .card > .card-header {
    padding: 1rem 1rem .5rem 1rem;
    background: transparent;
    border-bottom: none;
  }

    .card > .card-header > .card-title {
      font-weight: 700;
      margin-bottom: 0;
      text-transform: uppercase;
    }

/* =============================================================================
   11. DATEPICKER
   ============================================================================= */

.datepicker {
  font-size: .8rem;
}

  .datepicker .table-condensed th,
  .datepicker .table-condensed td {
    padding: .5rem !important;
    line-height: 1.42857143;
    vertical-align: middle;
  }

  .datepicker td {
    border-radius: 0;
  }

  .datepicker .datepicker-switch,
  .datepicker-days table > thead > tr > th.dow {
    text-transform: uppercase !important;
  }

.datepicker-days table > thead > tr > th.dow {
  padding: .25rem .5rem;
}

.datepicker th.today:hover {
  background: #eeeeee;
  cursor: pointer;
}

.datepicker table > tbody > tr > td {
  padding: 5px !important;
}

/* Make datepicker cells perfect square */
.datepicker table tr td,
.datepicker table tr th {
  width: 36px;
  height: 36px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  line-height: 36px;
}

  /* Round highlights */
  .datepicker table tr td.active,
  .datepicker table tr td.active:hover,
  .datepicker table tr td.active.disabled,
  .datepicker table tr td.active.disabled:hover,
  .datepicker table tr td span.active,
  .datepicker table tr td span.active:hover,
  .datepicker table tr td:hover,
  .datepicker table tr td span:hover,
  .datepicker table tr td.today,
  .datepicker table tr td.today:hover,
  .datepicker table tr td.range-start,
  .datepicker table tr td.range-end,
  .datepicker table tr td.range.day,
  .datepicker table tr td.range-start:hover,
  .datepicker table tr td.range-end:hover,
  .datepicker table tr td.range.day:hover {
    border-radius: 50%;
  }

.ui-datepicker {
  z-index: 9999 !important;
}

/* =============================================================================
   12. BOOTSTRAP SELECT
   ============================================================================= */

.selectpicker-sm .btn {
  height: 2rem !important;
  padding: 0 .5rem !important;
  font-size: .8125rem !important;
  line-height: .8125rem !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

  .selectpicker-sm .btn .filter-option {
    line-height: .8125rem !important;
    height: 2rem !important;
    display: flex !important;
    align-items: center !important;
  }

.bootstrap-select.form-control {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .02);
}

.table .bootstrap-select.form-control {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .12);
}

.bootstrap-select .dropdown-menu li.disabled {
  cursor: not-allowed !important;
}

.bootstrap-select-searchbox,
.bootstrap-select .bs-actionsbox {
  padding: 4px;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
  border: none;
  outline: none !important;
}

.dropdown-item,
.dropdown-item.active:focus-visible {
  outline: none !important;
}

/* =============================================================================
   14. UTILITY CLASSES
   ============================================================================= */

/* Visibility */
.hidden {
  display: none;
}

/* Opacity */
.transparent {
  filter: opacity(65%);
  opacity: 0.65;
}

/* Cursor */
.cursor-pointer,
i:hover,
a:hover {
  cursor: pointer;
}

/* Centering */
.page-center {
  margin-left: auto;
  margin-right: auto;
}

/* Borders */
.border-transparent {
  border-color: transparent !important;
}

/* Margin Utilities */
.mt-6 {
  margin-top: 2rem !important;
}

.mb-6 {
  margin-bottom: 2rem !important;
}

.ms-6 {
  margin-left: 2rem !important;
}

.me-6 {
  margin-right: 2rem !important;
}

.mx-6 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.my-6 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

/* Font Size Utilities */
.fs-7 {
  font-size: .875rem !important;
}

.fs-8 {
  font-size: .75rem !important;
}

/* Icons */
.icon-asterisk {
  color: #f58a00;
}

.icon-spinner {
  color: #777;
}

/* Loader */
.loader {
  margin: 13px 0 2px 8px;
  visibility: hidden;
}

  .loader.active {
    visibility: visible;
  }

/* Alerts */
.alert > span {
  line-height: 1.6em;
}

.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}

/* Toasts */
.toast,
strong {
  font-weight: 700;
}

/* Popovers */
.popover-header h3 {
  line-height: 30px;
}

.popover-title {
  padding: 0 14px;
}

/* Disclaimers */
.disclaimer-line {
  margin-top: 150px;
  margin-bottom: 30px;
  border-top: 1px solid #c4c7c9;
  width: 40%;
}

.disclaimer {
  color: #7b8185;
  line-height: 1.5em;
  font-size: .95em;
}

/* Customer/Buyer Info */
.customer-info p,
.buyer-info p {
  margin-bottom: 20px;
}

  .customer-info p:last-child,
  .buyer-info p:last-child {
    margin-bottom: 0;
  }

    .customer-info p:last-child a:hover,
    .buyer-info p:last-child a:hover {
      text-decoration: none;
    }

/* Target Chrome on iOS specifically */
@supports (-webkit-touch-callout: none) {
  .form-control,
  .bootstrap-select .dropdown-toggle,
  .bootstrap-select button {
    font-size: 1rem !important;
    /* Chrome also checks these */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

    .form-control:focus {
      font-size: 1rem !important;
      transform: translateZ(0); /* Force GPU rendering */
    }
}

/* =============================================================================
   15. MEDIA QUERIES
   ============================================================================= */

/* Desktop */
@media (min-width: 992px) {
  .col-form-label {
    text-align: right;
  }

  .form-label {
    margin-bottom: .25rem !important;
  }
}

/* Large tablet and below */
@media (max-width: 991.98px) {
  .page-title {
    padding: 1.5625rem 0 !important;
    font-size: 1.75rem;
    letter-spacing: -1px;
  }

  .navbar-toggle {
    margin-right: 5px;
  }

  .row.buttons {
    margin-bottom: 1.5rem;
  }

  .buttons .btn {
    margin-bottom: .5rem !important;
  }

  /* Input group text labels */
  .input-group-text.curhd-mobile:after {
    content: 'Current Hd';
  }

  .label-twi:after {
    content: 'Truck Weight In';
  }

  .label-pwi:after {
    content: 'Pay Weight In';
  }

  .label-two:after {
    content: 'Truck Weight Out';
  }

  .label-pwo:after {
    content: 'Pay Weight Out';
  }

  /* Additional mobile adjustments */
  label {
    width: 100%;
  }

  .checkbox.pull-left.cm-num-total {
    width: 45%;
  }

  #pos {
    padding-right: 20px;
  }

  .article-left-content {
    width: 100%;
  }

  .modal-dialog-custom-width {
    max-width: 350px;
  }

  .table-responsive,
  .table-responsive.table-lg {
    width: 100%;
    margin-bottom: 15.75px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd !important;
  }

    .table-responsive > .table,
    .table-responsive.table-lg > .table {
      margin-bottom: 0;
    }

      .table-responsive > .table > thead > tr > th,
      .table-responsive > .table > tbody > tr > th,
      .table-responsive > .table > tfoot > tr > th,
      .table-responsive > .table > thead > tr > td,
      .table-responsive > .table > tbody > tr > td,
      .table-responsive > .table > tfoot > tr > td,
      .table-responsive.table-lg > .table > thead > tr > th,
      .table-responsive.table-lg > .table > tbody > tr > th,
      .table-responsive.table-lg > .table > tfoot > tr > th,
      .table-responsive.table-lg > .table > thead > tr > td,
      .table-responsive.table-lg > .table > tbody > tr > td,
      .table-responsive.table-lg > .table > tfoot > tr > td {
        white-space: nowrap;
      }

  .form-check-label {
    display: unset !important;
  }
}

/* Large tablet landscape */
@media (max-width: 991.98px) and (orientation: landscape) {
  .view-content {
    min-height: 400px;
    width: 100%;
    padding-bottom: 50px;
  }

  header .container {
    width: 100% !important;
  }

  .navbar-toggle {
    margin-right: 0;
  }

  .cm-num-total {
    width: 45%;
  }

  .cm-num-avg {
    width: 54%;
  }

  .row.buttons {
    margin-bottom: 1.5rem;
  }

  .buttons .btn {
    margin-bottom: .5rem !important;
  }

  /* Input group text labels */
  .input-group-text.curhd-mobile:after {
    content: 'Cur. Hd';
  }

  .label-twi:after {
    content: 'Truck Wt. In';
  }

  .label-pwi:after {
    content: 'Pay Wt. In';
  }

  .label-two:after {
    content: 'Truck Wt. Out';
  }

  .label-pwo:after {
    content: 'Pay Wt. Out';
  }
}

/* Desktop */
@media (min-width: 992px) {
  .input-group-text.curhd-mobile:after {
    content: 'Current Head';
  }

  .label-twi:after {
    content: 'Truck Weight In';
  }

  .label-pwi:after {
    content: 'Pay Weight In';
  }

  .label-two:after {
    content: 'Truck Weight Out';
  }

  .label-pwo:after {
    content: 'Pay Weight Out';
  }
}

/* Small desktop and above */
@media (min-width: 600px) {
  .btn-responsive-2 > .btn,
  .btn-responsive-3 > .btn {
    width: 150px;
  }
}

/* =============================================================================
   16. THIRD-PARTY OVERRIDES
   ============================================================================= */

/* Dragula */
.gu-mirror {
  position: fixed !important;
  margin: 0 !important;
  z-index: 9999 !important;
  opacity: 0.8;
  filter: opacity(80%);
}

.gu-hide {
  display: none !important;
}

.gu-transit {
  opacity: 0.2;
  filter: opacity(20%);
}

/* Accordion (Reports) */
#accordion ul {
  list-style-type: none;
  padding-left: 0;
}

  #accordion ul li {
    padding: .5rem 1rem;
  }

#accordion a:hover {
  text-decoration: none;
}

/* PDF Container */
.pdf-container {
  position: relative;
  border: solid 1px #ddd;
  width: 100%;
  height: 85%;
}

/* Kendo UI */
input.k-formatted-value.k-input {
  padding-left: 6px;
  padding-right: 6px;
  font-size: 14px;
}

.footer-btn-responsive {
}

  .footer-btn-responsive > .btn:first-child {
    width: auto !important;
  }

  .footer-btn-responsive > .btn:nth-child(2) {
  }

  .footer-btn-responsive > .btn:last-child {
    width: 100px !important;
  }

@media (max-width: 991.98px) {

  .footer-btn-responsive {
    gap: .125rem !important;
  }

    .footer-btn-responsive > .btn:nth-child(2) {
      width: auto !important;
    }

    .footer-btn-responsive > .btn:last-child {
      width: auto !important;
    }
}

/* Resize drpodowns and input boxes in mobile devices */
@media (max-width: 991.98px) {
  .mobile-location,
  .mobile-group,
  .mobile-item,
  .mobile-ration {
    min-width: 250px;
    max-width: 100%;
  }

  .mobile-category {
    min-width: 160px;
    max-width: 100%;
  }

  .mobile-sex {
    min-width: 150px;
    max-width: 100%;
  }

  .mobile-dosetype {
    min-width: 110px;
    max-width: 100%;
  }

  .mobile-unit {
    min-width: 90px;
    max-width: 100%;
  }

  .mobile-name {
    width: 250px;
  }

  .mobile-manufacturer {
    width: 200px;
  }

  .mobile-dosage,
  .mobile-dosegiven,
  .mobile-cost,
  .mobile-head,
  .mobile-costhd,
  .mobile-totalcost,
  .mobile-adg,
  .mobile-wt {
    width: 100px;
  }

  .mobile-dose {
    width: 80px
  }

  .mobile-wd {
    width: 70px
  }

  .mobile-charge {
    width: 100px
  }
}

/* OneTrust button stylings */
#ot-sdk-btn.ot-sdk-show-settings {
  padding: 0 !important;
}

@media (max-width: 767.98px) {
  .mwi-logo-img {
    width: 10rem;
  }
}

@media (max-width: 991.98px) {
  #ot-sdk-btn.ot-sdk-show-settings {
    font-size: .85rem !important;
  }
}

@media (min-width: 992px) {
  #ot-sdk-btn.ot-sdk-show-settings {
    font-size: 1rem !important;
  }
}

/* =============================================================================
   17. TOAST NOTIFICATIONS
   ============================================================================= */

/* Base Toast Styles */
.toast {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
  margin-bottom: 0;
}

.toast-title {
  margin-bottom: .5rem;
}

.toast-message {
  text-align: center;
}

/* Toast Container */
#toast-container > div {
  opacity: .95;
  filter: opacity(95%);
  margin-bottom: 0;
}

/* Close Button */
.toast-close-button {
  right: 6px;
  top: -0.3em;
  font-size: 2rem;
}

/**
 * Custom styles for toastr notifications
 * Adds rounded corners to all toasts for a more modern appearance
 */

/* Round all toastr notification corners */
#toast-container > div {
  border-radius: 8px !important;
  width: fit-content !important;
  max-width: 50% !important;
  min-width: 200px !important;
}

/* Ensure close button area is also rounded */
#toast-container > .toast {
  border-radius: 8px !important;
  overflow: hidden;
  width: auto !important;
}

/* Round the progress bar corners to match */
#toast-container > div .toast-progress {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

/* Ensure all toast types have rounded corners and fit content */
#toast-container > .toast-info,
#toast-container > .toast-success,
#toast-container > .toast-warning,
#toast-container > .toast-error {
  border-radius: 8px !important;
  width: auto !important;
}

/* Make the toast message fit content */
#toast-container .toast-message {
  width: auto !important;
  word-wrap: break-word;
}

/* Center the toast container properly */
#toast-container.toast-top-center {
  left: 50%;
  transform: translateX(-50%);
}

  #toast-container.toast-top-center > div {
    margin: 0 auto 10px auto;
  }

@media (max-width: 991.98px) {
  #toast-container > div {
    border-radius: 0 !important;
    max-width: 100% !important;
    min-width: 200px !important;
  }
}

/* Full Width Toast Styles */
#toast-container.toast-bottom-full-width {
  text-align: left !important;
}

  #toast-container.toast-bottom-full-width > div,
  #toast-container.toast-top-full-width > div {
    width: 100%;
    border-radius: 0 !important;
    max-width: 100% !important;
  }

#toast-container:not(.toast-bottom-full-width) {
  top: var(--header-height) !important;
}

#toast-container.toast-bottom-full-width .toast-message {
  text-align: left !important;
}

#toast-container.toast-bottom-full-width .toast.toast-info > .toast-title,
#toast-container.toast-bottom-full-width .toast.toast-warning > .toast-title {
  font-size: 1.25rem !important;
}

#toast-container.toast-bottom-full-width .toast.toast-info > .toast-message,
#toast-container.toast-bottom-full-width .toast.toast-warning > .toast-message {
  font-size: 1.05rem !important;
}

#toast-container.toast-bottom-full-width .toast.toast-info,
#toast-container.toast-bottom-full-width .toast.toast-warning {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
  padding-left: 3.75rem !important;
}

/* =============================================================================
   END OF STYLESHEET
   ============================================================================= */
