/****************************************************************************/
/* Este arquivo deve ser usuario pelo Cliente para criar seus proprios CSS **/
/****************************************************************************/
.card-body-tools{
  padding: 0.75rem 0.75rem !important
}


.click {
  cursor: pointer;
}

.click-icon {
  padding: 5px;
  text-align: center;
  border-radius: 0.2rem;
  cursor: pointer;
  color: #424242;
}

.click-icon:hover {
  color: #f6f6f6;
  background: #6e6e6e;
}

.link {
  padding: 5px;
  text-align: center;
  border-radius: 0.2rem;
  cursor: pointer;
  color: #424242;
}

.link:hover {
  color: var(--cor-menu-letra-selecionado);
  background: var(--cor-menu-fundo-selecionado);
}


.custom_cli {
  background: fixed;
}

.tool_bar {
  background: #f6f6f6;
  color: #424242;
}

.menu_drawer {
  top: none !important;
}

.menu-icon {
  margin-right: 7px;
}

.sidebar-footer {
  min-height: 100vh;
  background: #134A50;
}

.sidebar-footer .nav-footer .nav-item-footer .nav-link-footer .menu-title-footer {
  color: inherit;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}

.sidebar-footer .nav-footer {
  overflow: hidden;
  flex-wrap: nowrap;
  flex-direction: column;
  margin-bottom: 60px;
}

.sidebar-footer .nav-footer:not(.sub-menu)>.nav-item-footer {
  margin-top: .2rem;
}

.sidebar-footer .nav-footer .nav-item-footer {
  list-style-type: none;
  -webkit-transition-duration: 0.25s;
  -moz-transition-duration: 0.25s;
  -o-transition-duration: 0.25s;
  transition-duration: 0.25s;
  transition-property: background;
  -webkit-transition-property: background;
  background: #134A50;
}

.sidebar-footer .nav-footer:not(.sub-menu-footer)>.nav-item-footer>.nav-link-footer {
  margin: 0;
  text-decoration: none;
}

.sidebar-footer .nav-footer .nav-item-footer .nav-link-footer {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  white-space: nowrap;
  padding: 10px 0px 10px 0px;
  color: #ffffff;
  border-radius: 0px 20px 20px 0px;
  -webkit-transition-duration: 0.45s;
  -moz-transition-duration: 0.45s;
  -o-transition-duration: 0.45s;
  transition-duration: 0.45s;
  transition-property: color;
  -webkit-transition-property: color;
  font-weight: 400;
}

.sidebar-footer .nav-footer:not(.sub-menu-footer)>.nav-item-footer {
  margin-top: .2rem;
}

.__login-left {
  background-image: url("../assets/image_login.jpg");
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
}

.login-left {
  position: relative;
  background-image: url("../assets/image_login.jpg");
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
}

.login-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(43, 171, 166, 0.6);
  /* Preto com 50% de transparência */
  z-index: 1;
}

.login-left-content {
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.login-body {
  background: rgb(108, 136, 135, 0.5) !important;
}

.login-left-contact {
  display: table !important;
  padding-bottom: 10px;
}

.form-sub-title {
  padding-top: 20px;
  margin-bottom: 20px;
}

.off_canvas_menu {
  width: 250px !important;
}

.off_canvas_lg {
  width: 800px !important;
}

.off_canvas_xl {
  width: 1200px !important;
}

textarea.form-control {
  height: 50% !important;
}

textarea.form-control-4 {
  height: 148px !important;
}

textarea.form-control-5 {
  height: 185px !important;
}

textarea.form-control-6 {
  height: 222px !important;
}

textarea.form-control-7 {
  height: 259px !important;
}

textarea.form-control-7 {
  height: 296px !important;
}

.navigation-step {
  padding: 10px;
  border-radius: 0.2rem;
  color: var(--cor-menu-fundo-selecionado);
  background: var(--cor-menu-letra-selecionado);
}

.navigation-step:hover {
  background: var(--cor-menu-fundo-selecionado);
  color: var(--cor-menu-letra-selecionado);

  cursor: pointer;
}

.quotation_title{
  margin-left: 10px;
  font-size: 1.5rem;
  color: rgba(110, 110, 110, 0.6);
}

.quotation_title_action{
  margin-left: 10px;
  font-size: 1.5rem;
  color: rgb(43, 171, 167);
}

.row_between_line{
  margin-top: 10px;
  margin-bottom: 10px;
}

.offer-subtitle{
  margin-left: 10px;
  margin-right: 10px;
  font-size: 14px;
}


.quotation-subtitle{
  margin-left: 10px;
  margin-right: 10px;
  font-size: 14px;
}


.input-sm{
  height: 30px;
  font-size: 12px;
}

.product_detail {
  color: #B5BBB5;
  size: 10px;
  font-weight: normal;
}

.offer_map_suplier_name {
  
  cursor: pointer;  
  margin-left: 6px;
}

.offer_map_suplier_name:hover {
  font-weight: bold;
  text-decoration: underline;
}

.disabled {
  background-color: dimgrey;
  color: linen;
  opacity: 0.5;
}

.circleBadge {
  width: 14px;
  height: 14px;
  /* background-color: red;  Change the background color as per your requirement */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 7px;
  font-weight: bold;
  z-index: 99999999;
  margin-left: 24px;
  margin-top: -4px;
  margin-bottom: 15px;
}

.row-map-offer-highlight-title {  
  color: rgb(40, 40, 40);
  float: left;
}

.quotation-list-highlight {
  margin-left: 5px;
  border-radius: 5px;
  padding: 3px;
  background-color: #e9ecef;
  color: black;
}

.quotation_map_top_titles {
  font-size: 12px;
  font-weight: bold;
}


/* Mocks Istrael */
 .container-mock {
  width: 100%;
  border: 1px solid #ccc;
  padding: 20px;
  margin: 50px auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.label-mock {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}
.select-mock {
  width: 100%;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.textarea-mock {
  resize: none;
  height: 80px;
}
.btn-submit-mock {
  width: 100%;
  padding: 10px;
  background-color: #2d8bb4;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn-submit-mock:hover {
  background-color: #226b8a;
}

.modal-mock {
  /* position: fixed; */
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* padding-top: 0px; */
}

.modal-content-mock {
  background-color: white;
  margin: 0% auto;
  padding: 20px;
  /* border: 1px solid lightgray; */
  width: 100%;
  border-radius: 8px;
}

.rdt_TableCol div:first-child {
  white-space: normal !important;
  overflow: visible !important;
}

.rdt_TableCol {
  color: rgba(57, 57, 57, 1.0);
  font-weight: bold;
}

/* ==========================================================================
   MenuBuyer - Fixed Header/Footer with Scrollable Content
   ========================================================================== */

/* Main container - flex column layout for full height */
.menu-buyer-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #134A50;
  position: relative;
  overflow: hidden;
}

/* Fixed Header */
.menu-buyer-header {
  flex-shrink: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 10;
}

/* Scrollable Menu Content */
.menu-buyer-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0; /* Important for flexbox scroll */
  background: #ffffff;
}

/* Custom scrollbar for menu content */
.menu-buyer-content::-webkit-scrollbar {
  width: 6px;
}

.menu-buyer-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.menu-buyer-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.menu-buyer-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Adjust sidebar inside content area */
.menu-buyer-content .sidebar {
  min-height: auto !important;
  height: auto !important;
}

.menu-buyer-content .sidebar .nav {
  margin-bottom: 0 !important;
}

/* Fixed Footer */
.menu-buyer-footer {
  flex-shrink: 0;
  background: #134A50;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

/* Fixed footer nav styles */
.sidebar-footer-fixed {
  background: #134A50;
  min-height: auto !important;
}

.sidebar-footer-fixed .nav-footer {
  overflow: visible;
  flex-wrap: nowrap;
  flex-direction: column;
  margin-bottom: 0;
  padding: 10px 0;
}

.sidebar-footer-fixed .nav-footer .nav-item-footer {
  list-style-type: none;
  background: #134A50;
}

.sidebar-footer-fixed .nav-footer .nav-item-footer .nav-link-footer {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sidebar-footer-fixed .nav-footer .nav-item-footer .nav-link-footer:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-footer-fixed .nav-footer .nav-item-footer .nav-link-footer .menu-title-footer {
  color: inherit;
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}

/* ==========================================================================
   Menu Text Overflow Handling - Word Break and Ellipsis
   ========================================================================== */

/* Menu title text overflow handling */
.sidebar .nav .nav-item .nav-link .menu-title {
  white-space: normal !important;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.3 !important;
  max-width: calc(100% - 50px); /* Account for icon and arrow */
}

/* Submenu title text overflow handling */
.sidebar .nav .nav-item .collapse .sub-menu .nav-item .nav-link .menu-title {
  white-space: normal !important;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.3 !important;
}

/* Adjust nav-link to allow proper wrapping */
.sidebar .nav .nav-item .nav-link {
  flex-wrap: wrap;
  min-height: 40px;
  height: auto !important;
}

/* Submenu nav-link adjustments */
.sidebar .nav .nav-item .collapse .sub-menu .nav-item .nav-link {
  flex-wrap: wrap;
  min-height: 35px;
  height: auto !important;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* ==========================================================================
   Menu Expansion Fix - Ensure scroll works with expanded menus
   ========================================================================== */

/* Ensure collapsed/expanded menus work properly with scroll */
.sidebar .nav .nav-item .collapse {
  overflow: visible;
}

.sidebar .nav .nav-item .collapse.show {
  display: block;
}

/* Sub-menu container adjustments */
.sidebar .nav .nav-item .collapse .sub-menu {
  padding-left: 15px;
}

/* Third-level submenu styling */
.menu-buyer-content .nested-sub-menu {
  padding-left: 10px;
}

.menu-buyer-content .nested-sub-menu-list {
  padding-left: 20px;
  margin-bottom: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.menu-buyer-content .nested-sub-menu-list .nav-item {
  overflow: visible;
}

.menu-buyer-content .nested-sub-menu-list .nav-link {
  padding-left: 25px;
  min-height: 32px;
}

/* ==========================================================================
   Prevent Menu Overlap with Main Content
   ========================================================================== */

/* Ensure menu container has fixed width and doesn't overflow */
.menu-buyer-container {
  width: 100%;
  max-width: 260px; /* Match sidebar width */
}

/* Ensure sidebar stays within bounds */
.menu-buyer-content .sidebar {
  width: 100%;
  max-width: 100%;
}

/* Prevent text overflow into main content area */
.sidebar .nav {
  width: 100%;
  max-width: 100%;
}

.sidebar .nav .nav-item {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

.sidebar .nav .nav-item .nav-link {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
