html {
    font-size: 14px;
  }
  
  @media (min-width: 600px) {
    html {
      font-size: 16px;
    }
  }
  
  html {
    position: relative;
    min-height: 100%;
  }
  
  body {
    margin-bottom: 60px;
    background-color: #E9EDF0;
    min-height: 700px;
  }
  
/*  .dropdown-item-child {
      color: black;
  }
  */
  /* Base style for side menu */
  .side-menu {
      /*position: fixed;
      top: 74px;*/ /* Moves the menu down by 74px */
      /*left: -250px;*/ /* Hidden off-screen by default */
      /*width: 250px;*/
      height: calc(100% - 74px); /* Adjust height so it fits below header */
      background-color: #333;
      color: #fff;
      transition: left 0.3s ease;
      z-index: 9999; /* Ensure it stays above other content */
  }
  
      .side-menu ul {
          list-style: none;
          padding: 0;
          margin: 0;
      }
  
      .side-menu li a {
          display: block;
          padding: 10px;
          color: #fff;
          text-decoration: none;
      }
  
          .side-menu li a:hover {
              background-color: #444;
              border-radius: 20px;
          }
      /* Active class to slide it in */
      .side-menu.active {
          left: 0;
      }
  
  
  table {
      background-color:gray;
      border: 0px solid gray;
  }
  
  /* Here you can customize your login screen */
  html {
      background: #E9EDF0;
  }
  
  html,
  body,
  .labelStyle {
      color: #444444;
  }
  
.todays-message {
    padding: 3px 10px;
    text-align: center;
    margin: 3px 0px 1px 10px;
    background: #0278d4;
    color: #fff !important;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
}

/* Product CMS: consistent responsive layout across modal and standalone pages. */
#cmsInfoForm .cms-details-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
    margin: 0;
}

#cmsInfoForm .columncms {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

#cmsInfoForm .columncms .row {
    margin-left: 0;
    margin-right: 0;
}

#cmsInfoForm .e-footer-content {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

/* Keep CMS grid validation messages readable inside edit dialogs. */
#cmsInfoForm .cms-validation-dialog {
    max-height: 90vh !important;
}

#cmsInfoForm .cms-validation-dialog .e-dlg-content {
    min-height: 190px;
    overflow-y: auto;
    padding-bottom: 3rem;
}

#cmsInfoForm .cms-validation-dialog .e-error,
#cmsInfoForm .cms-client-validation {
    color: #b42318;
    display: block;
    font-size: .875rem;
    line-height: 1.25;
    margin-top: .25rem;
    white-space: normal;
}

#cmsInfoForm .cms-invalid-control,
#cmsInfoForm .cms-invalid-control.e-input-group,
#cmsInfoForm .cms-invalid-control.e-control-wrapper {
    border-color: #dc3545 !important;
}

@media (max-width: 1200px) {
    #cmsInfoForm .cms-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    #cmsInfoForm .cms-details-grid {
        grid-template-columns: 1fr;
    }
}

  h1 {
      color: #444444;
  }
  
  .requiredStyle {
      color: #FF1B1B;
  }
  .e-btn {
    border-radius: 5px;
}   
  input.buttonStyle {
      color: #444444;
      background-color: #f1f1f1;
      border: 1px solid #ababab;
  }
  
      input.buttonStyle:hover {
          background-color: #dfebf4;
      }
  
      input.buttonStyle:active {
          background-color: #e3e3e3;
      }
  
  .textBoxStyle {
      color: #444444;
      background-color: #fcfcfc;
      border: 1px solid #ababab;
  }
  
  .failureNotification {
      color: #ff0000;
  }
  
  /* login layout styling */
  * {
      margin: 0px;
  }
  
  html {
      height: 100%;
      width: 100%;
  }
  
  html, body {
      font-family: 'Segoe UI','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      font-size: 16px;
      font-weight: normal;
  }
  
  h1 {
      font-family: 'Segoe Light','Segoe UI Light','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      font-size: 40px;
      text-align: left;
      letter-spacing: -1pt;
      font-weight: normal !important;
      margin-bottom: 12px;
  }
  
  .accountInfo {
    /* width: 95%; */
    max-width: 310px;
    position: relative;
    margin: 5% auto auto auto;
    text-align: center;
    padding: 30px;
    background-color: #F2F2F2;
    -webkit-box-shadow: 0 0 30px 0 #3636364a;
    box-shadow: 0 0 30px 0 #3636364a;
    border: solid 3px #FFF;
  }
  
  .labelStyle {
      font-family: 'Segoe UI Semibold', 'Frutiger','Helvetica Neue Semibold',Helvetica,Arial,sans-serif;
      font-weight: 700;
  }
  
  .requiredStyle {
      font-size: 24px;
      line-height: 14px;
      height: 12px;
      vertical-align: bottom;
      margin-left: 5px;
  }
  
  input.buttonStyle {
      font-family: 'Segoe UI','Frutiger','Helvetica Neue',Helvetica,Arial,sans-serif;
      padding: 5px 10px;
      font-weight: bold;
      border-radius: 0px;
      font-size: 16px;
      cursor: pointer;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
  }
  
  .textBoxStyle {
      background-image: none;
      font-size: 16px;
      display: block;
      outline: 0;
      height: 36px;
      padding: 1px 8px;
      margin: 0px;
      width: 100%;
      max-width: 292px;
      line-height: 36px;
  }
  
  .submit-login {
      margin-top: 10px;
  }
  
  .rememberme {
      margin-bottom: 10px;
  }
  
  input[type=checkbox] {
      margin: 0px 6px 0px 0px;
      vertical-align: -1px;
      cursor: pointer;
  }
  
  .checkStyle label {
      font-size: 15px;
  }
  
  
  
  /* Button for mobile to toggle the menu */
  #menuButton {
      display: inline-block; /* Show on mobile */
      margin: 10px;
      padding: 5px 10px;
      font-size: 16px;
      cursor: pointer;
      z-index: 10000; /* If needed to ensure it sits on top */
  }
  
  .main-content {
      margin-left: 0px;
  }
  
  
  /* Hide the toggle button and show the menu on desktop */
@media (min-width: 768px) {
    #menuButton {
        display: none;
    }

    .side-menu {
        left: 0; /* Keep it always visible on desktop */
        position: sticky;
        top: 74px;
        height: calc(100vh - 74px);
        align-self: flex-start;
        overflow-y: auto;
    }
  
      .main-content {
          padding: 4px 10px 20px 10px !important;
          max-width: 99%;
      }
  }
  
  /* Custom dark mode styling for the accordion menu */
  .accordion {
      background-color: #495057; /* Dark background */
      color: #f8f9fa; /* Light font color */
  }
  
  .accordion-button {
      background-color: #495057;  /* Dark background for collapsed buttons */
      color: #f8f9fa; /* Light font color for buttons */
      font-size: 0.8rem !important;
      padding: 0.6rem 0.95rem !important;
  }
  
      .accordion-button:not(.collapsed) {
          background-color: #495057;
          color: #ffffff;
      }
  
          .accordion-button:not(.collapsed)::after {
              /* Slightly lighter background when expanded */
              color: #f8f9fa; /* Keep font color light */
              background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
          }
  
      .accordion-button.collapsed::after {
          background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
      }
  
  
  
  
  .accordion-body {
      background-color: #495057; /* Darker background for the body */
      color: #f8f9fa; /* Light font color */
  }
  
  .accordion-button:focus {
      box-shadow: none; /* Remove focus outline for a cleaner look */
  }
  
  .dropdown-item {
      color: #f8f9fa; /* Light font for dropdown links */
  }
  
      .dropdown-item:hover {
          background-color: #cccccc; /* Highlight color on hover */
          color: #f8f9fa;
      }
  
  /* Ensure the arrow (caret) is white */
  .accordion .accordion-button::after {
      content: ''; /* Ensure the arrow is displayed */
      color: #ffffff !important; /* Force white color */
      font-size: 1rem; /* Adjust size if needed */
      transition: transform 0.2s ease; /* Keep the animation */
  }
  
  /* Arrow remains white when expanded */
  .accordion .accordion-button:not(.collapsed)::after {
      color: #ffffff !important;
  }
  
  /* Optional: Remove black outline on focus */
  .accordion .accordion-button:focus {
      box-shadow: none !important;
  }
  
  .accordion-button:hover {
      background-color: darkgray;
  }
  
  .e-card .e-card-content {
      padding: 0px;
  }
  
  
  /* hide filters in the es grid that are not filterable*/
  .e-filtertext:disabled,
  .e-filtertext.e-disabled {
      display: none !important;
  }
  /* hide filter row under column headers, keep global search */
  .e-grid .e-filterbar,
  .e-grid .e-filterbarcell {
      display: none !important;
  }
  .e-pager {
      border-style: solid;
      border-width: 1px;
      display: inline-block;
      font-size: 14px;
      padding: 0;
      white-space: normal;
      width: 100%;
  }
  
  
  /* 02/20/2025 */
  
  .flex {
      max-width: 98%;
  }
  thead {
      background-color: #edebe9;
  }
  .logo {
      margin: 7px 0 -7px 25px !important;
      float: left;
      clear: none;
  }
  .e-dashboardlayout.e-control .e-panel.e-panel-transition {
      /* height: auto !important; */
      transition: top .5s, left .5s;
      padding: 0px 0 10px 0 !important;
      border-radius: 5px !important;
      /* border: 0 !important; */
  }
  .e-dashboardlayout.e-control .e-panel .e-panel-header {
      border-bottom: 0px solid #edebe9 !important;
      color: #201f1e !important;
      font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
      font-size: 16px;
      font-weight: 600 !important;
      height: 33px !important;
      padding: 5px 0 0px 10px !important;
      margin-bottom: 10px !important;
      background-color: #f5f5f5 !important;
      border-radius: 5px 5px 0 0 !important;
  }
  .e-grid {
      border-color: transparent;
      /* padding: 0px 10px 0px 10px !important; */
      border: none !important;
  }
  .e-grid .e-gridheader {
    background-color: rgb(237 235 233);
    color: #201f1e;
    border-bottom-color: #edebe9;
    border-top-color: #edebe9;
    padding: 5px 10px;
}
.e-grid .e-gridcontent {
    background-color: #fff;
    padding: 0 10px;
}
.e-grid.e-wrap .e-columnheader .e-headercelldiv {
    line-height: 17px;
}
.e-grid.e-wrap .e-rowcell {
    vertical-align: top;
}
  .e-pager {
      border-style: solid !important;
      border-width: 0px !important;
      border-top-width: 1px !important;
      display: inline-block !important;
      font-size: 14px !important;
      padding: 0 10px 0 0 !important;
      white-space: normal !important;
      width: 100% !important;
  }
  .income {
      color: #8abb2c !important;
      font-size: 38px !important;
      font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', sans-serif !important;
      font-weight: 800 !important;
      line-height: 0em !important;
      /* margin: 35px 0 0 0 !important; */
      border-bottom: none !important;
  }
  .bottom-container p {
      margin: -10px !important;
      line-height: 1.3em;
  }
  .bottom-container {
      border-top: 0px solid #eee !important;
      margin-top: 0 !important;
      padding-top: 3px !important;
      font-size: 14px !important;
      color: #555 !important;
      width: 100% !important;
      text-align: center !important;
  }
  .item-container {
      padding: 8px;
  }
  .root-container {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 0px solid #ccc !important;
      background: white;
      border-radius: 10px !important;
      /* padding: 12px; */
      box-shadow: 2px 2px 6px rgba(0, 0, 0, 0) !important;
      text-align: center;
      box-sizing: border-box;
  }
  span.icon {
      width: 26px !important;
      display: inline-block !important;
      border: solid 1px #efefef36;
      text-align: center;
      border-radius: 30px;
      margin: -3px 5px -3px 0;
      padding: 2px 0;
      background: #f0f1f124;
  }
  a.dropdown-item {
      font-size: 14px;
  }
  div#gridPromotions {
      padding: 0 !important;
  }
  a#manage {
    color: #3f51b5;
  }
  #header ul {
    background-color: #ffffff;
  }
  ul#main-menubar {
    background-color: #6b6b6b;
    padding-top: 12px;
  }
  button#logout {
    border: none;
    background: none;
  }

.nomad-account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    line-height: 1;
}

.account-actions.right-header {
    height: auto;
    padding: 0 10px;
    overflow: visible !important;
    position: relative;
    z-index: 20000;
}

#header.header-section,
#header ul.header-list {
    overflow: visible !important;
}

#header.header-section {
    position: relative;
    z-index: 20000;
}

.nomad-profile,
.nomad-logout-form {
    position: relative;
    margin: 0;
}

.nomad-profile-button,
.nomad-logout-button,
.nomad-aiuto-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 1px solid #cecece !important;
    border-radius: 10px;
    background: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: none;
}

.nomad-aiuto-button {
    cursor: pointer;
}

.nomad-aiuto-icon {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.nomad-profile-button,
.nomad-profile-button:hover,
.nomad-profile-button:focus {
    color: #171717 !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.nomad-logout-button {
    cursor: pointer;
}

.nomad-logout-icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nomad-profile-card {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    z-index: 10000;
    display: none;
    min-width: 188px;
    max-width: min(388px, calc(100vw - 32px));
    padding: 9px 21px 10px;
    border: 1px solid #dedede;
    border-radius: 8px;
    background: #ffffff;
    color: #565656;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.nomad-profile:hover .nomad-profile-card,
.nomad-profile:focus-within .nomad-profile-card {
    display: block;
}

.nomad-profile-name,
.nomad-profile-email {
    overflow-wrap: anywhere;
}

.nomad-profile-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 2px;
}

.nomad-profile-email {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 700px) {
    .nomad-account-actions {
        gap: 10px;
    }

    .nomad-profile-button,
    .nomad-logout-button,
    .nomad-aiuto-button {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-width: 1px !important;
        border-radius: 9px;
    }

    .nomad-profile-button,
    .nomad-profile-button:hover,
    .nomad-profile-button:focus {
        font-size: 20px;
    }

    .nomad-logout-icon {
        transform: scale(0.78);
    }

    .nomad-profile-card {
        right: auto;
        left: 0;
        min-width: min(300px, calc(100vw - 24px));
        padding: 8px 14px 9px;
    }

    .nomad-profile-name {
        font-size: 18px;
    }

    .nomad-profile-email {
        font-size: 18px;
    }
}
  
#sidebar-menu {
    margin-left: -1px;
    background-color: #6b6b6b;
}
  #sidebar-menu .e-menu-wrapper ul .e-menu-item:hover, .e-menu-item.e-focused:hover {
    background-color: #757575 !important;
    color: #ffffff !important;
    font-size: 12px;
  }
  .e-menu-wrapper .e-menu .e-menu-item.e-selected, .e-menu-container .e-menu .e-menu-item.e-selected  {
    background-color: #a1b2bb !important;
  }
  .e-menu-wrapper ul.e-menu .e-menu-item .e-menu-icon, .e-menu-container ul.e-menu .e-menu-item .e-menu-icon {
      width: 1.5em;
  }
  .e-menu-wrapper ul .e-menu-item .e-menu-icon, .e-menu-container ul .e-menu-item .e-menu-icon {
      margin-right: 10px !important;
  }
  .e-menu-wrapper .e-ul, .e-menu-container .e-ul {
      font-size: 12px;
  }
  a.e-menu-text.e-menu-url:hover {
      color: #fff !important;
  }
  .form-floating {
      margin-bottom: 10px;
  }
  .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #0078d4;
    }
    .nav-link {
        color: #0078d4;
    }
    .btn-primary {
        color: #fff;
        background-color: #0078d4;
        border-color: #0078d4;
    }
  
    .form-control,
    .form-select,
    .e-input-group:not(.e-success):not(.e-warning):not(.e-error),
    .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
        border-color: #a19f9d;
    }

    .e-input-group:not(.e-success):not(.e-warning):not(.e-error), .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
        box-shadow: none;
        border-radius: 5px;
        overflow: hidden;
    }

  /* Media Queries */
  
  @media only screen and (max-width: 980px) {
      /* narrow screens */
  
      .income {
          font-size: 20px !important;
      }
  
  }
  
  @media only screen and (min-width: 768px) {
      /* tablets and desktop */
  }
  
  @media only screen and (max-width: 767px) {
      /* phones */
  
  }
  
  @media only screen and (max-width: 767px) and (orientation: portrait) {
      /* portrait phones */
  }
  
  
  
  
  /*   ------------      Tile css      ------------------    */
  .root-container {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border: 1px solid #ccc;
      background: white;
      /*  border-radius: 8px; */
      /*  padding: 12px; */
      box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
      box-sizing: border-box;
  }
  
  .item-container {
      display: flex;
      justify-content: center;
      align-items: center;
      /*  padding: 8px; */
      font-size: 16px;
      font-weight: bold;
      width: 100%;
  }
  
  .income {
      color: #28a745; /* Green for positive income */
  }
  
  .auto-left {
      display: flex;
      align-items: center;
      margin-left: 8px;
  }
  
  .income-icon {
      width: 20px;
      height: 20px;
      background: url('income-icon.png') no-repeat center;
      background-size: contain;
  }
  
  .bottom-container {
      border-top: 1px solid #eee;
      margin-top: 10px;
      padding-top: 8px;
      font-size: 14px;
      color: #555;
      width: 100%;
      text-align: center;
  }
  
  .e-panel-header {
      text-align: center;
  }
.e-richtexteditor {
    border: 0px solid #ccc !important; /* Ensures a full border */
    border-radius: 4px; 
    overflow: hidden; 
}  
    .e-richtexteditor .e-rte-content {
        padding-bottom: 8px !important;
    }
        .e-richtexteditor .e-rte-content table {
            background-color: #ffffff !important;
        }

/* Keep every Rich Text Editor's content and source view full-height in fullscreen mode. */
.e-richtexteditor.e-rte-full-screen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    z-index: 100000 !important;
}

.e-richtexteditor.e-rte-full-screen .e-rte-container {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.e-richtexteditor.e-rte-full-screen .e-rte-content {
    flex: 1 1 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

.e-richtexteditor.e-rte-full-screen .e-rte-container.e-source-code-enabled .e-rte-content {
    display: none !important;
    flex: 0 0 0 !important;
}

.e-richtexteditor.e-rte-full-screen .e-rte-container.e-source-code-enabled .e-source-content {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-direction: column !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

.e-richtexteditor.e-rte-full-screen .e-rte-srctextarea {
    display: block !important;
    flex: 1 1 0 !important;
    align-self: stretch;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box;
    overflow: auto !important;
}

.filter-container {
    display: flex;
    align-items: center; /* Aligns elements in one row */
    gap: 10px; /* Adds spacing */
    margin-left: 10px;
    margin-top: 10px;
}

    .filter-container label {
        white-space: nowrap; /* Prevents label from wrapping */
    }



    .filter-container .e-checkbox-wrapper {
        display: flex;
        align-items: center; /* Aligns checkbox with text */
    }

/* General font style */
.form-label,
.form-control,
.e-input,
.e-dropdownbase,
.e-numerictextbox,
.e-numerictextbox .e-control {
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Make labels bold and slightly larger if needed */
.form-label {
    font-weight: 600;
    margin-bottom: 0.1rem !important;
    margin-top: 0.45rem;
}

/* Optional: Adjust buttons if needed */
.btn {
    font-size: 14px;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: 0.25rem 1rem !important;
    font-size: .875rem !important;
    border-radius: 1.4rem !important;
}
.e-footer-content .e-btn.e-flat:not([DISABLED]),
.e-btn.e-info {
  padding: 0.25rem 1rem !important;
  font-size: .875rem !important;
  border-radius: 1.4rem !important;
}
.e-control.e-btn.e-lib.e-danger.reservation-dialog-delete-btn,
.e-control.e-btn.e-lib.e-danger.chat-dialog-delete-btn,
.e-control.e-btn.e-lib.e-danger.grid-dialog-delete-btn {
  border-radius: 1.4rem !important;
}

/* Inactive tab hover effect */
.e-tab .e-tab-header .e-tab-text .e-toolbar-item:hover {
    background-color: #6b6b6b !important;
    color: white !important;
    cursor: pointer;
}

/* Active tab styling */
.e-tab .e-tab-header .e-toolbar-item.e-active {
    background-color: #6b6b6b !important;
    color: white !important;
    font-weight: bold !important;
}
    .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
        color: white !important;
    }

/* Inactive tab default */
.e-tab .e-tab-header .e-toolbar-item {
    background-color: #F9F9F9;
    color: #333;
}

/* Cursor only: applied by the shared layout initializer to grids that already have row click/select behavior. */
.nomad-clickable-grid .e-row,
.nomad-clickable-grid .e-rowcell,
.nomad-clickable-treegrid .e-row,
.nomad-clickable-treegrid .e-rowcell {
    cursor: pointer;
}

/* GLOBAL: Enable wrapping in all Syncfusion dropdown items */
/* Apply wrapping and indent second line */
.e-dropdownbase .e-list-item {
    white-space: normal !important;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
    text-indent: 0; /* First line starts at 0 */
    padding-left: 10px; /* Don't offset the whole block */
    margin-left: 0;
    display: block;
}
.opportunity-contact-ddl .e-dropdownbase .e-list-item {
    padding: 6px 10px;
    line-height: 1.2;
}
.e-dropdownbase .e-list-item:hover {
  background-color: #c8e8f9;
}
/* Improve dropdown readability over busy page content */
/* .e-ddl.e-control-wrapper,
.e-ddl.e-control-container {
    background-color: #FAFAFA !important;
} */

.e-ddl.e-popup,
.e-ddl.e-popup.e-popup-open {
    background-color: #FAFAFA !important;
    border: 1px solid #d9dee5 !important;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12) !important;
    opacity: 1 !important;
}

.e-ddl.e-popup .e-content,
.e-ddl.e-popup .e-dropdownbase,
.e-ddl.e-popup .e-list-parent {
    background-color: #FAFAFA !important;
}
.full-width-datepicker .e-date-wrapper {
    width: 100% !important;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    line-height: 1.5;
    background: transparent;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-item-child {
    display: block;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    color:black;
}
.sr-link {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
.sr-summary-body {
    padding: 0 2px 12px;
}
.sr-summary-body #srSummaryContent {
    padding-bottom: 8px;
}
.sr-summary-title {
    font-weight: 600;
    margin: 0 0 8px;
}
.sr-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sr-summary-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}
.sr-summary-list li:last-child {
    border-bottom: 0;
}
.sr-summary-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}
.sr-summary-name {
    font-weight: 600;
}
.sr-summary-note {
    color: #555;
    font-size: 13px;
    margin-top: 2px;
}
.sr-summary-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0 8px;
}
.sr-summary-supplier-title {
    font-weight: 600;
    margin: 0 0 4px;
}
.sr-summary-supplier-note {
    color: #555;
    font-size: 13px;
    white-space: pre-wrap;
}
.ad-hoc-editor {
    display: flex;
    flex-direction: column;
}
.ad-hoc-editor .e-richtexteditor {
    flex: 1 1 auto;
    height: 90% !important;
}
.ad-hoc-notes-col .e-richtexteditor {
    min-height: 0;
}
.selected-agency-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 16px;
    align-items: start;
    margin: 0;
}
.selected-agency-grid > .selected-agency-col {
    width: auto;
    float: none;
    padding: 0;
}
.selected-agency-grid .row {
    margin-left: 0;
    margin-right: 0;
}
.selected-agency-grid .mb-3 {
    margin-bottom: 10px !important;
}
.selected-agency-grid .form-control,
.selected-agency-grid .e-input-group input,
.selected-agency-grid .e-input-group .e-input {
    height: 38px;
}
.selected-agency-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 15px 0 15px 0;
}
@media (max-width: 1200px) {
    .selected-agency-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}
@media (max-width: 768px) {
    .selected-agency-grid {
        grid-template-columns: 1fr;
    }
}





/* Syncfusion calendar background override */
.e-calendar,
.e-calendar .e-content,
.e-calendar .e-content table,
.e-datepicker,
.e-datepicker .e-content,
.e-datepicker .e-calendar,
.e-datepicker .e-calendar table {
    background-color: #fff !important;
}

.e-calendar .e-content td,
.e-calendar .e-content th,
.e-datepicker .e-content td,
.e-datepicker .e-content th {
    background-color: #fff !important;
}
.product-actions-dialog .e-dlg-content {
    padding: 0;
}

#addprd .product-panel {
    border: 1px solid #d0d7de !important;
    border-radius: 6px;
    padding: 12px;
    background-color: #f20b0b;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

.column2.product-panel {
  border: 1px solid #f0f0f0;
  margin: -2px 10px 10px 0px;
  width: 48%;
  border-radius: 10px;
}
.e-grid td.e-active {
  background: #e9f2fe !important;
}
/* Reservation cancellation partial: page title */
.reservation-cancel-view .rcv-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Reservation cancellation partial: section card container */
.reservation-cancel-view .rcv-card {
    border: 1px solid #d0d7de;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 14px;
    overflow: hidden;
}

/* Reservation cancellation partial: section header row */
.reservation-cancel-view .rcv-card-header {
    padding: 10px 14px;
    border-bottom: 1px solid #d0d7de;
    font-size: 1.35rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Reservation cancellation partial: section body spacing */
.reservation-cancel-view {
    font-size: 12px;
    font-family: 'Helvetica', 'Segoe WP N', 'Roboto', sans-serif;
}
.reservation-cancel-view .rcv-page-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
}
.reservation-cancel-view .rcv-card-header {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2;
}
.reservation-cancel-view .rcv-card-body {
    padding: 14px;
}

/* Reservation cancellation partial: labels and value typography */
.reservation-cancel-view .rcv-label {
    font-size: 12px;
    color: #212529;
    font-weight: 400;
    margin-bottom: 4px;
}
.reservation-cancel-view .rcv-value {
    font-size: 12px;
    font-weight: 400;
    color: #212529;
    line-height: 1.35;
}
.rcv-lead-traveler-name {
    font-size: 12px !important;   
    font-weight: 400 !important;
}
.reservation-cancel-view .rcv-value-muted {
    color: #495057;
    font-size: 1.1rem;
}
.reservation-cancel-view .rcv-value-danger {
    color: #dc3545;
    font-size: 1.1rem;
}
.reservation-cancel-view .rcv-value-success {
    color: #198754;
    font-size: 1.1rem;
}

/* Reservation cancellation partial: cancellation policy badges */
.reservation-cancel-view .rcv-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-right: 6px;
}
.reservation-cancel-view .rcv-badge-info {
    background: #0dcaf0;
}
.reservation-cancel-view .rcv-badge-muted {
    background: #6c757d;
}

/* Reservation cancellation partial: summary divider line */
.reservation-cancel-view .rcv-divider {
    border-top: 1px solid #d0d7de;
    margin: 14px 0;
}

/* Reservation cancellation partial: credit input sizing */
.reservation-cancel-view .rcv-credit-row .e-input-group {
    height: 34px;
}
.reservation-cancel-view .rcv-credit-row #CancelReason {
    height: 34px;
    min-height: 34px;
    font-size: 13px;
}

/* Reservation cancellation partial: right-side action button sizing */
.reservation-cancel-view .rcv-actions .btn {
    width: 100%;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 12px;
}

/* Reservation cancellation partial: primary action button colors */
.reservation-cancel-view #btncalculate {
    background: #ffc107;
    border-color: #ffc107;
    color: #000;
}
.reservation-cancel-view #btnfinalize {
    background: #0078d4;
    border-color: #0078d4;
    color: #fff;
}
.reservation-cancel-view #btnback {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

/* Reservation cancellation partial: bottom action buttons above product grid */
.reservation-cancel-view .rcv-bottom-actions .btn {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
}
.reservation-cancel-view .rcv-load-fees {
    background: #ffc107;
    border-color: #ffc107;
    color: #1f2d3d;
}
.reservation-cancel-view .rcv-apply-adjustments {
    background: #0078d4;
    border-color: #0078d4;
    color: #fff;
}

/* Reservation cancellation partial: responsive typography/button behavior */
@media (max-width: 991.98px) {
    .reservation-cancel-view .rcv-page-title {
        font-size: 1.5rem;
    }
    .reservation-cancel-view .rcv-card-header {
        font-size: 1rem;
    }
    .reservation-cancel-view .rcv-label {
        font-size: 12px;
    }
    .reservation-cancel-view .rcv-value {
        font-size: 1.5rem;
    }
    .reservation-cancel-view .rcv-actions .btn {
        font-size: 13px;
    }
    .reservation-cancel-view .rcv-bottom-actions .btn {
        width: 100%;
    }
}

/* Keep grid delete confirmations readable and prevent compressed footers. */
.e-dialog.e-confirm-dialog {
    min-height: 190px !important;
}

.e-dialog.e-confirm-dialog .e-dlg-content {
    min-height: 92px !important;
    padding: 26px 30px 18px !important;
    display: flex;
    align-items: center;
}

.e-dialog.e-confirm-dialog .e-footer-content {
    min-height: 70px !important;
    padding: 14px 24px 20px !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Show complete availability headings within the compact column widths. */
.availability-grid.e-grid .e-headercelldiv {
    height: auto;
    line-height: 1.25;
}

.availability-grid.e-grid .e-headertext {
    font-size: 13px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

/* The Sabre Search dialog (ReservationSabreSearchDialog, docs/reservation-products L4): the page's _AddSabreRes styles,
   under .sabre-search-view so they touch nothing else. */
.sabre-search-view .sabre-button-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.sabre-search-view .sabre-button-row .btn {
    white-space: nowrap;
}

.sabre-search-view .columnsa {
    float: left;
    width: 25%;
    padding: 10px;
    height: 300px;
}

.sabre-search-view .sabre-results {
    background: #ffffff;
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #d7dce5;
}

.sabre-search-view .sabre-results > .d-flex {
    margin-bottom: 10px !important;
}

.sabre-search-view .flight-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sabre-search-view .flight-card {
    background: #ffffff;
    border-radius: 7px;
    border: 1px solid #d7dce5;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 10px;
}

.sabre-search-view .option-header {
    display: grid;
    grid-template-columns: minmax(70px, auto) minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 7px 12px;
    border-bottom: 1px solid #d7dce5;
    background: #ffffff;
}

.sabre-search-view .option-header > div:nth-child(2) {
    min-width: 0;
}

.sabre-search-view .airline-logo {
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.sabre-search-view .airline-logo img {
    width: 70px;
    max-width: 70px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.sabre-search-view .airline-logo-mark {
    min-width: 70px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #334155;
    font-weight: 700;
    font-size: 0.86rem;
}

.sabre-search-view .airline-code {
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.sabre-search-view .airline-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 28px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 800;
}

.sabre-search-view .option-title {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.sabre-search-view .option-subtitle {
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 500;
}

.sabre-search-view .option-price {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 18px;
    align-items: center;
    justify-self: end;
    padding: 0 10px;
}

.sabre-search-view .fare-metric {
    min-width: 62px;
    line-height: 1.05;
}

.sabre-search-view .fare-label {
    color: #64748b;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sabre-search-view .fare-value {
    margin-top: 2px;
    font-size: 0.95rem;
    line-height: 1;
    font-weight: 800;
    color: #111827;
}

.sabre-search-view .flight-table-wrap {
    overflow-x: auto;
}

.sabre-search-view .legacy-flight-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.sabre-search-view .legacy-flight-table thead th {
    background: #edf1f7;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: left;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #d7dce5;
    white-space: nowrap;
}

.sabre-search-view .legacy-flight-table tbody td {
    background: #f8fafc !important;
    padding: 4px 10px;
    border-bottom: 1px solid #eceff4;
    font-size: 0.72rem;
    color: #334155;
    font-weight: 500;
    vertical-align: middle;
    line-height: 1.15;
    word-wrap: break-word;
}

.sabre-search-view .legacy-flight-table tbody tr:nth-child(even) td {
    background: #ffffff !important;
}

.sabre-search-view .legacy-flight-table tbody tr:last-child td {
    border-bottom: none;
}

.sabre-search-view .col-dir {
    width: 6%;
    font-weight: 800;
    color: #334155 !important;
    text-transform: uppercase;
}

.sabre-search-view .col-airline {
    width: 14%;
}

.sabre-search-view .col-flight {
    width: 8%;
}

.sabre-search-view .col-airport {
    width: 21%;
}

.sabre-search-view .col-depart {
    width: 15%;
}

.sabre-search-view .col-destination {
    width: 21%;
}

.sabre-search-view .col-arrive {
    width: 15%;
}

.sabre-search-view .col-class {
    width: 10%;
}

.sabre-search-view .segment-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.76rem;
    color: #475569;
    margin-top: 3px;
}

.sabre-search-view .pill {
    display: inline-block;
    color: #334155;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.72rem;
    border: 1px solid #d7dce5;
}

.sabre-search-view .pill + .pill {
    margin-left: 6px;
}

.sabre-search-view .pill-duration {
    background: #e7f0fb;
    border-color: #cbdced;
}

.sabre-search-view .pill-stops {
    background: #f3f5f8;
    border-color: #d8dee8;
}

.sabre-search-view .detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.flight-card .quote-btn,
.sabre-search-view .flight-card .book-btn {
    padding: 5px 13px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 700;
    font-size: 0.82rem;
}

.sabre-search-view .flight-card .quote-btn {
    border: 1px solid #b6c2d2;
    background: #fff;
    color: #223046;
}

.sabre-search-view .flight-card .book-btn {
    border: 1px solid #0b78d1;
    background: #0b78d1;
    color: #fff;
    transition: all 0.2s ease;
}

.sabre-search-view .flight-card .quote-btn:hover {
    background: #f5f8fb;
}

.sabre-search-view .flight-card .book-btn:hover {
    background: #0967b4;
    color: #fff;
}

.sabre-search-view .sabre-alert {
    border: 1px solid #d7dce5;
    border-left: 4px solid #0b78d1;
    border-radius: 8px;
    background: #f8fbff;
    color: #223046;
    padding: 12px 14px;
    font-size: 0.94rem;
}

.sabre-search-view .sabre-alert.sabre-alert-info {
    border-left-color: #0b78d1;
    background: #f3f8fd;
    color: #334155;
}

.sabre-search-view .sabre-alert.sabre-alert-danger {
    border-left-color: #4b5563;
    background: #f8fafc;
}

.sabre-search-view .sabre-alert.sabre-alert-success {
    border-left-color: #198754;
    background: #f2fbf5;
}

.sabre-search-view .sabre-booking-panel .card-body {
    padding: 18px 20px 24px;
}

.sabre-search-view .sabre-passenger-list {
    border: 1px solid #d7dce5;
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px 14px;
}

.sabre-search-view .sabre-passenger-list .form-check {
    margin-bottom: 8px;
}

.sabre-search-view .sabre-passenger-list .form-check:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .sabre-search-view .option-header {
        grid-template-columns: auto 1fr;
    }

    .sabre-search-view .option-price {
        grid-column: 1 / -1;
        justify-self: end;
    }

    .sabre-search-view .legacy-flight-table {
        font-size: 0.78rem;
    }
}
