
#toast-notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  max-width: 90%;
  padding: 15px 20px;
  border-radius: 7px;
  font-size: 16px;
  font-family: "Segoe UI", Verdana, sans-serif;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  pointer-events: none;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.3px;
  overflow: hidden; /* важливо для прогрес-бару */
  cursor: pointer;
}

#toast-notification b {
  font-weight: bold;
}

#toast-notification.show {
  opacity: 1;
  top: 40px;
  pointer-events: auto;
}

/* Типи повідомлень */
#toast-notification.info {
  background-color: #007bff;
  color: #ffffff;
}
#toast-notification.success {
  background-color: #1e8956;
  color: #ffffff;
}
#toast-notification.warning {
  background-color: #dc3545;
  color: #ffffff;
}
#toast-notification.error {
  background-color: #dc3545;
  color: #ffffff;
}

/* Прогрес-бар всередині toast */
#toast-notification .toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  animation: toast-progress-bar 5s linear forwards;
}

@keyframes toast-progress-bar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

#toast-notification.success .toast-progress {
  background-color: rgba(255, 255, 255, 0.6); /* світлий, на темно-зеленому фоні */
}

#toast-notification.warning .toast-progress {
  background-color: rgb(255, 255, 255, 0.5); /* темний, на яскравому помаранчевому фоні */
}

#toast-notification.error .toast-progress {
  background-color: rgba(255, 255, 255, 0.5); /* світлий, на червоному фоні */
}

#toast-notification.info .toast-progress {
  background-color: rgba(255, 255, 255, 0.4); /* стандартний блакитний */
}


.menu_hr {
  width: 96%;
}

th {
  text-align: center !important; 
  background-color: #f6f6f6;
  font-size: 13px;
  font-family: "Verdana", monospace;
}

.body {
  background-image: url('/application/assets/images/grey.png');                  
}

.header {
  box-shadow: 0 0 8px 0 #797979;
}

.company_select{
  font-size: 12px !important;
  font-family: Verdana;
}

.brand {
  color: #c3decead !important; 
  font-family: Verdana;
}

.footer {
 box-shadow: 0 0 8px #797979;
 background-color: #e7e7e7;
}

.message {
   width: 550px;
   margin-top: 10px;
}

.cargo_row{
  text-align: center;
  font-size: 13px;
  font-family: "Verdana", monospace;
}

.city {
  text-align: left;
}

.bold{
  font-weight: bold;
}

.white_background{
  background-color: white;
}

.state_on_color{
  background-color: #ebffd3;
}

.state_off_color{
  background-color: #f8f8f8;
}

.delete_color {
  background-color: #f6ffa7;
}

.delete_bold_color {
  background-color: #f6ffa7;
  font-weight: bold;
}

.dropdown_menu {
  margin-right: 15px;
  top: 4px !important;
  font-size:20px;
}

.copy_icon {
  color:#337ab7;
}

.export_notes {
  color:#7c98a0;
}

.note_icon {
  color:#924fc5;
}

.delete_icon {
  color:red;
}

.set_priority{
  color:#ff8400;
}

.unset_priority{
  color:lightgrey;
}

.dropdown_hr {
  margin:5px auto; 
  border:none; 
  height:1px; 
  background:#ccc;
}

.cargo_unavailable {
  background-color: #f3ff8f;
  font-weight: bold;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 5px;
}

.btn-refresh {
  color: #fff;
  background-color: #4fd8ac;
}

.btn-refresh:hover {
  background-color: #36c396;
  color: #fff;
}

.glyphicon-refresh {
  color: white;
  background-color: inherit;
}

/* Кнопка додавання нового вантажу */
/* .btn.add_cargo {
    background-color: #3cbb5a !important;
    color: white !important;
} */

/* Ефект при наведенні на кнопку додавання нового вантажу*/
/* .btn.add_cargo:hover, 
.btn.add_cargo:focus, 
.btn.add_cargo:active {
    background-color: #3ba752 !important;
} */


/* LOADING SPINNER */

/* Позиціювання */
.toast-center {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Контейнер */
.spinner-toast {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 300px;
  max-width: 400px;
  width: fit-content;
  text-align: center;
}

/* Текст */
.spinner-text {
  font-weight: bold;
  color: #464646c7;
  margin-bottom: 12px;
  font-size: 15px;
}

.progress-spinner-bar {
  width: 100%;
  height: 6px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-fly-line {
  position: absolute;
  top: 0;
  left: -50%;
  height: 100%;
  width: 30%;
  background: #80aac9ad;
  border-radius: 4px;
  animation: flyRightLoop 1.5s linear infinite;
}

@keyframes flyRightLoop {
  0%   { left: -50%; }
  100% { left: 100%; }
}

.dot-loader span {
  opacity: 0;
  animation: dotsBlink 1.5s infinite;
}

.dot-loader span:nth-child(1) {
  animation-delay: 0s;
}

.dot-loader span:nth-child(2) {
  animation-delay: 0.3s;
}

.dot-loader span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes dotsBlink {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}




/* LOADING SPINNER */

.high_priority {
  font-weight: bold;
  background-color: #bfffc9; 
}

.disabled_link {
  cursor: not-allowed;
  opacity: 0.7;
  text-decoration: none;
  pointer-events:none;
  color: #dcdcdc !important;
}

.my_list-group-item{
  padding: 10px 0px 10px 10px !important;
}

.copyicon {
  margin-right: 15px;
  top: 4px !important;
}

.sender_header {
  font-weight: bold;
  background-color: #337ab7;
  padding: 15px;
  font-size: 14px !important;
  color: white;
  font-family: "Verdana", monospace;
}

.sender_footer {
  background-color: #eaeaea;
  padding: 10px;
  font-size: 14px !important;
  font-family: "Verdana", monospace;
}

.email_message_success{
  color: #018101;
}

.email_message_fail{
  color: red;
}

.email_sent_success {
  width: 16px; 
  height: 16px;
  margin-bottom: 7px;
}

.email_sent_fail {
  width: 16px; 
  height: 16px;
  margin-bottom: 4px;
}

.ui-sortable-helper {
    display: table;
}

.data {
  cursor: grab;
  position: relative;
}

.notes_available_icon {
  position: absolute; /* Абсолютное позиционирование */
  bottom: 10px;
  margin-left: 25px;
  color: #457aca8c;
  cursor: pointer; 
}

.visible_block {
  visibility: visible;
}

.invisible_block {
  visibility: hidden;
}

table.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 100; 

}

.smooth_transition_down{
  animation: smooth_transition_down 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes smooth_transition_down {
  0% {
    background-color: rgba(255,255,255, 0);
    box-shadow: 0 0 4px #797979;
  }
  100% {
    background-color: rgba(255,255,255, 1);
    box-shadow: 0 0 8px #797979;
  }
}

.smooth_transition_up {
  animation: smooth_transition_up 0.2s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes smooth_transition_up {
  0% {
    background-color: rgba(255,255,255, 1);
    box-shadow: 0 0 4px #797979;
  }
  50% {
    background-color: rgba(255,255,255, .5);
    box-shadow: 0 0 2px #797979;
  }
  100% {
    background-color: rgba(255,255,255, 0);
    box-shadow: 0 0 0px #797979;
  }
}

.menu_admin_button_down {
  animation: menu_admin_button_down 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes menu_admin_button_down {
  0% {
    padding: 0px 0px 0px 0px;
  }
  100% {
    padding: 9px 0px 9px 9px;
  }
}

.menu_admin_button_up {
  animation: menu_admin_button_up 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes menu_admin_button_up {
  0% {
    padding: 9px 0px 9px 9px;
  }
  100% {
    padding: 0px 0px 0px 0px;
  }
}

.menu_refresh_button_down {
  animation: menu_refresh_button_down 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes menu_refresh_button_down {
  0% {
    padding: 0px;
  }
  100% {
    padding: 9px 12px 9px 3px;
  }
}

.menu_refresh_button_up {
  animation: menu_refresh_button_up 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes menu_refresh_button_up {
  0% {
    padding: 9px 12px 9px 3px;
  }
  100% {
    padding: 0px;
  }
}

/* .add_cargo_button_down {
  animation: add_cargo_button_down 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes add_cargo_button_down {
  0% {
    padding: 0px;
  }
  100% {
    padding: 9px 9px 9px 1px;
  }
}

.add_cargo_button_up {
  animation: add_cargo_button_up 0.3s forwards;
  animation-timing-function: ease-in-out; 
}
@keyframes add_cargo_button_up {
  0% {
    padding: 9px 9px 9px 1px;
  }
  100% {
    padding: 0px;
  }
} */



/* add_cargo_button */

/* .add_cargo {  
  background-color: #4bc5a7;
} */

.copyicon {
  margin-right: 15px;
  top: 4px !important;
}

.navbar {
    border-radius: 0;
}

.panel {
  font:14px Verdana; 
}

.container-img {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.index_image {
  margin-top: 65px;
  height: auto;
  width: 65%;
}

/* Обмеження розміру на малих екранах */
@media (max-width: 1900px) {
  .index_image {
    margin: 10px;
    width: 65%;
  }
  th {
    text-align: center !important; 
    background-color: #f6f6f6;
    font-size: 12px;
    font-family: "Verdana", monospace;
  }
  .cargo_row{
    text-align: center;
    font-size: 12px;
    font-family: "Verdana", monospace;
  }
  .notes_available_icon {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 10px;
    margin-left: 15px;
    color: #457aca8c;
    cursor: pointer; 
  }
  .brand {
    font-size: 15px !important;
  }
  .navbar_custom {
    font-size: 13px !important;
  }

}

#mypanelId{
    background: #3e96bc;
    color: white;
}

.panel-body {
    background-color: #f5f5f5;
}


#userAddPannelHeader {
  background: #3e96bc;
  color: #FFFFFF;
  padding: 15px;
}


.modal-header {
  background-color: #3e96bc;
  color: white;
}

.modal-footer {
  background-color: #3e96bc;
  color: white;
}

#userAddPannelFooter {
    background: #3e96bc;
    color: #FFFFFF;
    padding: 10px 15px;
}

#userAddPannelBody {
  background-color: rgba(210, 210, 210, 0.1);
  box-shadow: 0 0 8px 1px #A5A5A5;
}

#inspiration {
	font-weight: normal !important;
	font:12px Verdana;
	letter-spacing: 2px;
}

.messageDisplayBlock{
  margin: auto;
  width:500px; 
  margin-top:25px; 
  display: block;
}

.messageDisplayFadeOut{
  margin: auto;
  width:500px; 
  margin-top:25px; 
  animation:messageDisplayFadeOut 3s 1;
  -webkit-animation:messageDisplayFadeOut 3s 1;
  animation-fill-mode: forwards;

  animation-delay:1s;
  -webkit-animation-delay:1s; /* Safari and Chrome */
  -webkit-animation-fill-mode: forwards;
}

@-webkit-keyframes messageDisplayFadeOut{
    0%   {opacity: 1;}
    70%  {opacity: 1;}
    90%  {opacity: 1;-webkit-transform: translateY(0px);}
    100% {opacity: 0;-webkit-transform: translateY(-30px);}
}

.disabledMenuLink {
  color: red;
  cursor: not-allowed;
  opacity: 0.7;
  text-decoration: none;
  pointer-events:none;
}

.note_modal {
  margin-top: 150px;
  height: 500px;
}

.custom-class {
  margin-bottom: 25px;
}

.my_list-group-item{
  padding: 10px 0px 10px 10px !important;
}