#account-status {
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
}

a {
  text-decoration: underline;
  color: #418fde;
}
.clear {
  background: none;
  border: none;
}

.ligth-blue {
  color: #418fde;
}

.dark-blue {
  background-color: #001e62;
}

.ligth-gray {
  color: #626261;
}

.bg-green {
  background-color: #14c5c7;
}

.bg-yellow {
  background-color: #fdd756;
}

.bg-red {
  background-color: #af0014;
}

.bg-orange {
  background-color: #ec671d
}

.bg-ligth-blue {
  background-color: #418fde;
}
.bg-purple {
  background-color: #7604bb;
}

p {
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.space-between {
  justify-content: space-between;
}

.space-center {
  justify-content: center;
}

.item-center {
  align-items: center;
}

.resume-header {
  display: flex;
  justify-content: space-between;
}

.account-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 112px;
  margin: 2px 0 0;
  border-radius: 6px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  background-color: #f7f7f7;
}

.account-card-body {
  height: 100%;
  display: grid;
  align-items: center;
}

.account-card-header {
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 6px 6px 0 0;
  width: 100%;
  height: 32px;
  padding: 10px 0;
  background-color: #418fde;
}

.account-card-header span {
  font-family: Helvetica;
  font-size: 13px;
  color: #fff;
}

.COP {
  font-family: Helvetica;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.COP .text-style-1 {
  font-size: 16px;
}

.filters {
  margin: 30px 0;
}

.filters .status-filter {
  gap: 1rem;
}

.main-body {
  display: flex;
  margin: 3rem 0;
  background-color: #f7f7f7;
  padding: 10px;
  height: 100vh;
  position: relative;
}

.list-account-status {
  overflow-y: auto;
  position: absolute;
  max-height: 95%;
  min-width: 43%;
}

.account-resume {
  position: absolute;
  min-width: 55%;
  right: 0;
  background-color: #fff;
  max-height: 98%;
  border-top: 4px solid #fdd756;
  border-radius: 6px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 5px;
  overflow-y: auto;
  margin: 0 10px;
}

.ellipse {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-grow: 0;
  margin: 1px 4px 1px 0;
  border-radius: 100%;
}
.status {
  display: flex;
  align-items: center;
}

input[type="date"].date-button {
  border-radius: 6px !important;
  border: solid 1px #00184e;
  height: auto;
  margin: 5px;
  outline: 0;
  padding: 6px 7px 7px 8px;
  width: 100%;
  color: #64696d;
}

.resume-data {
  display: flex;
  font-size: 12px;
  padding-bottom: 5px;
}

.resume-data > div {
  width: 100%;
}

.resume-data > div:last-child {
  text-align: right;
}

.resume-data > div:not(.subtotal) {
  margin: auto;
}

.resume-data > div:nth-last-child(2):not(.status-header) {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.status-header {
  text-align: center;
  display: flex;
  justify-content: center;
}

.border-top {
  border-top: 1px solid black;
}

.button-section {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-resume {
  min-width: 40%;
  height: 36px;
  flex-grow: 0;
  margin: 46px 16px 1px 2px;
  padding: 9px 9px 9px 10px;
  border-radius: 3px;
  border: solid 1px #00184e;
  margin: auto;
  color: #00184e;
  text-decoration: none;
}

.print-button {
  background: #001e62;
  height: 36px;
  margin: auto;
  border-radius: 100%;
  padding: 3px;
  cursor: pointer;
}

details summary {
  display: revert;
  cursor: pointer;
}

details summary > * {
  display: revert;
}

.text-gray {
  color: #626261;
}

.details {
  display: flex;
  align-items: center;
  margin-right: 10px;
  height: 56px;
  border-bottom: 1px solid black;
}

.details > div:nth-child(1),
.details :nth-child(4) {
  width: 5%;
}

.details :nth-child(2) {
  width: 65%;
  margin-left: 5px;
}

.detail-code {
  font-size: 12px;
}

.details :nth-child(3) {
  width: 25%;
}

select {
  border: 1px solid #418fde;
  border-radius: 6px;
}

/* ORDERS RESUME VIEW */

.orders-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.orders-filter > div {
  display: flex;
  align-items: center;
  width: 25%;
}

.orders-filter > div:last-child {
  display: flex;
  align-items: center;
  width: 40%;
  justify-content: right;
}

form.search {
  width: 70%;
}

/* Style the search field */
form.search input[type="text"] {
  padding: 9px;
  font-size: 14px;
  border: 1px solid grey;
  border-radius: 6px 0 0 6px !important;
  float: left;
  width: 80%;
}

/* Style the submit button */
form.search button {
  float: left;
  width: 15%;
  padding: 9px;
  background: #001e62;
  color: white;
  font-size: 14px;
  border: 1px solid grey;
  border-left: none; /* Prevent double borders */
  cursor: pointer;
  border-radius: 0 6px 6px 0 !important;
}

form.search button:hover {
  background: #0b7dda;
}

/* Clear floats */
form.search::after {
  content: "";
  clear: both;
  display: table;
}

table {
  width: 100%;
  font-size: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

tr:first-child th:first-child {
  border-top-left-radius: 6px;
}
tr:first-child th:last-child {
  border-top-right-radius: 6px;
}
tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
table thead {
  color: #fff;
  height: 40px;
}

tr:nth-child(even) {
  background-color: #f7f7f7;
}

td {
  border: 0.5px solid #d9d9d9;
}

tr {
  height: 45px;
}

th,
td {
  text-align: center;
  padding: 10px;
}

th,
td > div {
  min-width: 50px;
  margin: auto;
}

.link-back {
  font-size: 18px;
  margin-bottom: 2rem;
}
.link-back a {
  text-decoration: none !important;
}

.link-back span {
  margin: 0 10px;
}

.modal-body {
}

.modal-header {
  border-bottom: none;
}

.modal-body p {
  font-size: 16px;
}

ul.sell-details {
  display: flex;
  gap: 1rem;
}

ul.sell-details > li {
  display: flex;
  flex-direction: column;
}
ul.sell-details li:first-child {
  padding-right: 1.5rem;
}

ul.sell-details li:nth-child(n + 2) {
  border-left: 1px solid black;
  padding: 0 1.5rem;
}

.btn-primary {
  background-color: #001e62;
  width: 124px;
}

.stepper-wrapper {
  font-family: Arial;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
}

.stepper-item.active {
  font-weight: bold;
}

.stepper-item.completed .step-counter {
  background-color: #4bb543;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #4bb543;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}

.step-name {
  width: 90px;
  text-align: center;
}

.step-name p {
  font-size: 12px;
  margin: 0;
}

/* Detalle de Orden */

/* .card-container > div:nth-child(2) {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  align-items: start;
} */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  align-items: start;
}

.detail-card {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background-color: #fff;
  border-top: 4px solid #9d1dec;
  font-size: 14px;
}

.card-container {
  display: grid;
  grid-template-columns: .7fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 2rem;
  padding: 1rem 0;
}

.section-title {
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 5px;
}

.custom-tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.custom-tooltip .custom-tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-tooltip .custom-tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.custom-tooltip:hover .custom-tooltiptext {
  visibility: visible;
  opacity: 1;
}


@media only screen and (max-width: 600px) {

  .card-grid {
  grid-template-columns: 1fr;
 }
}
@media only screen and (max-width: 768px) {
.container-fluid{
  padding: 0;
}
  .card-container {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, auto);
  gap: 2rem;
 }
}