/* import font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

.terminal-order-wrapper {
  position: absolute;
  top: 10px;
  right: auto;
  z-index: 999;
} 

.terminal-order {
  color: #1607da;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-family: "Nunito";
  flex-wrap: wrap;
  line-height: 1.2;
}

.terminal-order svg {
  margin-right: 2px;
  min-width: 14px;
  height: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .terminal-order-wrapper {
    /* clear desktop styles */
    position: relative;
    top: auto;
    right: 10px;
    z-index: auto;

    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    flex-direction: row-reverse;
    /* overflow: hidden; */
    /* white-space: nowrap; */
  }
}


.custom-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.custom-modal {
  background: white;
  border-radius: 8px;
  width: 400px;
  padding: 20px;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.modal-close {
  cursor: pointer;
  font-size: larger;
}

.modal-body {
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-footer {
  text-align: right;
}

.btn-ok {
  background-color: #1607da;
  color: white;
  border: none;
  border-radius: 4px;
  margin-left: 10px;
  cursor: pointer;
  height: 36px;
  line-height: normal;
}

.btn-cancel {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  height: 36px;
  line-height: normal;
  color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}