body.pad-bottom {
  padding-bottom: 300px;
}

.embed-wrapper iframe {
  max-width: 100%;
}

.form-headline {
  background-color: #666;
  color: #fff;
  padding: 5px 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.card {
  margin-bottom: 15px;
}
.card.detail-card {
  padding: 15px;
}
.card.detail-card .card-header {
  background-color: #f3f3f3;
  border-radius: 15px;
  position: relative;
  padding: 15px;
  border: none;
}
.card.detail-card .card-header .card-title {
  font-weight: bold;
  color: #333;
  margin: 0;
}
.card.detail-card .card-body {
  position: relative;
}
.card.detail-card .card-body.no-icon {
  padding-left: 0;
  padding-right: 0;
}
.card.detail-card .card-body.no-icon .card-content {
  padding-left: 0;
}
.card.detail-card .card-body .card-loader span {
  font-size: 3em;
  color: #8e7d53;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card.detail-card .contact-item {
  background-color: #E9FAFC;
  text-align: center;
  padding: 15px;
  border-radius: 15px;
}
.card.detail-card .card-content {
  padding-left: 15px;
}
.card.detail-card .card-icon {
  position: absolute;
  top: 15px;
  left: 0;
  font-size: 1.8em;
  color: #8e7d53;
}
.card.detail-card .card-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.card.detail-card .card-actions .btn {
  padding: 5px 20px;
  border-radius: 15px;
}
.card.detail-card .card-actions .btn.btn-light {
  background-color: #fff;
  border-color: #8e7d53;
  color: #8e7d53;
}
.card .deliveries-collection {
  margin-bottom: -30px;
}
.card .deliveries-collection.last-collection {
  margin-bottom: 0;
}
.card .deliveries-collection .date-group {
  margin-left: 15px;
  margin-top: 5px;
}
.card .deliveries-collection .stops-list .stop-item .stop-header {
  background-color: #B3E9BD;
  color: #333;
  padding: 10px 15px;
  border-radius: 15px;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  position: relative;
}
.card .deliveries-collection .stops-list .stop-item .collapse-toggle {
  position: absolute;
  right: 15px;
  font-size: 1.2em;
  cursor: pointer;
  width: 100%;
  text-align: right;
  height: 100%;
  top: 10px;
}
.card .deliveries-collection .stops-list .stop-item .stop-content {
  background-color: rgb(238.3265306122, 250.1734693878, 240.5204081633);
  border-radius: 15px;
  padding: 10px 15px;
  margin-bottom: 15px;
  margin-top: 10px;
  color: #333;
  font-size: 0.9em;
}

.navbar-nav {
  z-index: 1000;
}

.sidebar-dark {
  background-color: #333;
}

.nav-item {
  z-index: 1;
}

.sidebar.toggled .nav-item .collapse, .sidebar.toggled .nav-item .collapsing {
  z-index: 1000;
}

.full-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.pagination .current {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #333;
  background-color: #cecece;
  border: 1px solid #dddfeb;
}
.pagination .ellipse {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #4e73df;
  background-color: #fff;
  border: 1px solid #dddfeb;
}
.pagination li {
  margin-right: 5px;
}
.pagination li span, .pagination li a {
  border: none;
  border-radius: 5px;
  color: #17323b;
}
.pagination li span:hover, .pagination li a:hover {
  color: #17323b;
}
.pagination li.active span {
  background-color: #17323b;
  color: #fff;
  border: none;
}
.pagination .prev {
  display: none !important;
}
.pagination .next {
  display: none !important;
}

.shortcut-item {
  background-color: #f3f3f3;
  padding: 30px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.shortcut-item .shortcut-icon {
  text-align: center;
  font-size: 2em;
}
.shortcut-item .shortcut-title {
  display: block;
  text-align: center;
}

.container-fluid.no-padding {
  padding: 0;
}
.container-fluid.no-padding .page-title {
  padding-left: 1.25rem;
}

.popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s all;
}
.popup-wrapper .popup-inner {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.popup-wrapper .popup-inner::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.popup-wrapper .popup-inner h1, .popup-wrapper .popup-inner h2, .popup-wrapper .popup-inner h3 {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  padding: 15px 0;
}
.popup-wrapper .close-popup {
  font-size: 1.2em;
  position: absolute;
  right: 15px;
  top: 15px;
}
.popup-wrapper .close-popup span {
  cursor: pointer;
  color: #000;
}
.popup-wrapper.active {
  visibility: visible;
  opacity: 1;
}

.bg-gradient-primary {
  background-color: #333;
  background-image: linear-gradient(180deg, #222 70%, #666 100%);
  background-size: cover;
}

.login-page .logo {
  max-width: 100%;
  width: 300px;
  margin: 0 auto 15px auto;
  display: block;
}
.login-page .subtitle {
  display: block;
  margin-top: -20px;
  margin-bottom: 15px;
}

.btn-primary {
  background-color: #8e7d53;
  border-color: #8e7d53;
}
.btn-primary:hover {
  background-color: rgb(168.68, 151, 107.32);
  border-color: rgb(168.68, 151, 107.32);
}

.cursor-pointer {
  cursor: pointer;
}

#content-wrapper {
  overflow-x: unset !important;
}

.validation-summary-errors ul {
  margin: 0;
  padding: 0;
}
.validation-summary-errors ul li {
  list-style: none;
}

.fixed-brand-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #333;
}

.sidebar-brand {
  background-color: #333;
}

.sidebar-brand-image img {
  height: 50px;
}

.sidebar-toggled .sidebar-brand-image img {
  height: auto;
}

.fixed-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #343a40;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

tr.optimo-updated {
  animation: highlightRow 1s ease-out;
}

@keyframes highlightRow {
  0% {
    background-color: rgba(40, 167, 69, 0.3);
  }
  100% {
    background-color: transparent;
  }
}
tr.optimo-error {
  animation: highlightRowError 1s ease-out;
}

@keyframes highlightRowError {
  0% {
    background-color: rgba(220, 53, 69, 0.3);
  }
  100% {
    background-color: transparent;
  }
}
.sortable-table th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.sortable-table th.sortable:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.sortable-table th.sortable i {
  margin-left: 5px;
  font-size: 0.85em;
}
.sortable-table th.sortable.sort-asc i, .sortable-table th.sortable.sort-desc i {
  color: #8e7d53;
}

.dsiq-content {
  background-color: #f5eafa;
  border-radius: 15px;
  padding: 20px;
}

.dsiq-section {
  margin-bottom: 20px;
}
.dsiq-section:last-child {
  margin-bottom: 0;
}

.dsiq-section-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.dsiq-list {
  margin-bottom: 5px;
  padding-left: 20px;
  color: #333;
  list-style-type: disc;
}
.dsiq-list li {
  margin-bottom: 3px;
}

.dsiq-numbered-list {
  margin-bottom: 5px;
  padding-left: 20px;
  color: #333;
  list-style-type: decimal;
}
.dsiq-numbered-list > li {
  margin-bottom: 10px;
  font-weight: 500;
}
.dsiq-numbered-list > li .dsiq-list {
  font-weight: normal;
  margin-top: 5px;
}

.campaign-content {
  background-color: #e8e4f0;
  border-radius: 15px;
  padding: 20px;
  min-height: 200px;
}

.campaign-item {
  margin-bottom: 15px;
}
.campaign-item:last-child {
  margin-bottom: 0;
}

.campaign-name {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.campaign-value {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.campaign-due {
  color: #666;
  font-size: 0.9em;
}

.timeline-tabs {
  border-bottom: none;
  padding: 15px 15px 0 15px;
}
.timeline-tabs .nav-item .nav-link {
  border: none;
  color: #666;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
}
.timeline-tabs .nav-item .nav-link.active {
  background-color: #e8e0d5;
  color: #333;
  font-weight: 500;
}
.timeline-tabs .nav-item .nav-link:hover:not(.active) {
  background-color: #f5f5f5;
}

.timeline-content {
  overflow-x: auto;
}

.timeline-row {
  display: flex;
  justify-content: flex-start;
  gap: 0;
}

.timeline-row-top {
  padding-bottom: 0;
}

.timeline-row-bottom {
  padding-top: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  text-align: center;
}

.timeline-item-offset {
  margin-left: 50px;
}

.timeline-label {
  font-size: 0.85em;
  color: #333;
  line-height: 1.3;
  padding: 5px;
}

.timeline-bracket {
  width: 50px;
  height: 40px;
  position: relative;
}
.timeline-bracket::before, .timeline-bracket::after {
  content: "";
  position: absolute;
  background-color: currentColor;
}

.bracket-down-left::before {
  width: 3px;
  height: 100%;
  left: 50%;
  top: 0;
}
.bracket-down-left::after {
  width: 50%;
  height: 3px;
  left: 50%;
  bottom: 0;
}

.bracket-down-right::before {
  width: 3px;
  height: 100%;
  right: 50%;
  top: 0;
}
.bracket-down-right::after {
  width: 50%;
  height: 3px;
  right: 50%;
  bottom: 0;
}

.bracket-up-left::before {
  width: 3px;
  height: 100%;
  left: 50%;
  bottom: 0;
}
.bracket-up-left::after {
  width: 50%;
  height: 3px;
  left: 50%;
  top: 0;
}

.bracket-up-right::before {
  width: 3px;
  height: 100%;
  right: 50%;
  bottom: 0;
}
.bracket-up-right::after {
  width: 50%;
  height: 3px;
  right: 50%;
  top: 0;
}

.bracket-gray {
  color: #666;
}

.bracket-green {
  color: #28a745;
}

.bracket-yellow {
  color: #ffc107;
}

.bracket-red {
  color: #dc3545;
}

.timeline-line {
  height: 2px;
  background-color: #ddd;
  margin: 0;
  width: 100%;
}

.btn-action-outline {
  border: 2px solid #8e7d53;
  color: #8e7d53;
  background-color: transparent;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}
.btn-action-outline i {
  margin-right: 8px;
}
.btn-action-outline:hover {
  background-color: #8e7d53;
  color: #fff;
  border-color: #8e7d53;
}
.btn-action-outline:focus {
  box-shadow: 0 0 0 0.2rem rgba(142, 125, 83, 0.25);
}
