﻿.order-cms {
  padding: 40px 50px;
  background: #f5f3f0;
}

.order-cms-container {
  display: flex;
  flex-direction: column;
  background: white;
}

.order-cms-container-inner {
  padding: 20px;
  border-style: solid;
  border-color: #d6d6d6;
  border-width: 1px;
}

button {
  padding: 7px 40px;
  border-radius: 45px;
  border: 1px solid #27769f;
  font-weight: bold;
  background: transparent;
  font-size: 1.5rem;
  transition: all ease-in-out 0.25s;
}

.order-cms-btn-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

.order-cms-btn-destruct {
  border-color: #a93021;
  color: #a93021;
  transition: all ease-in-out 0.25s;
}

.order-cms-btn-destruct:hover {
  color: white;
  background: #a93021 !important;
  transition: all ease-in-out 0.25s;
}

.order-cms-table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #d6d6d6;
  width: 100%;
}

.order-cms-table tr {
  font-size: 1.45rem;
  border-spacing: 0;
}

.order-cms-tableHead {
  border-bottom: 2px solid black;
}

.order-cms-tableHead th {
  border-spacing: 0;
  text-align: left;
  border-right: 1px solid #d6d6d6;
  padding: 5px 15px;
  margin: 0;
}

.order-cms-tableHead th:last-child {
  border-right: none;
}

.order-cms-tableBody {
}

.order-cms-tableBody tr:nth-child(odd) {
  background: #f7f7f7;
}

.order-cms-tableBody tr {
  font-size: 1.45rem;
  background: white;
}

.order-cms-tableBody td {
  margin: 0;
  padding: 15px;
  border-right: 1px solid #d6d6d6;
}

.order-cms-tableBody td:last-child {
  border-right: none;
}

.order-cms-tableBody-checkbox {
  display: flex;
  align-items: center;
}

.order-cms-tableBody-checkbox input {
  margin-right: 10px;
}

.order-cms-tabs {
  display: flex;

  background: #f5f3f0;
}

.order-cms-tab {
  cursor: pointer;
  border-color: #d6d6d6;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  padding: 10px 50px;
  margin-right: 10px;
}
/* .order-cms-tab:nth-of-type(1) {
  border-width: 0 0 1px 0;
}
.order-cms-tab:nth-of-type(2) {
  border-width: 0 1px 1px 1px;
}
.order-cms-tab:nth-of-type(3) {
  border-width: 0 1px 1px 0;
} */

.order-cms-tab[aria-checked='false'] {
  background: #f7f7f7;
  border-color: #d6d6d6;
}

.order-cms-tab[aria-checked='true'] {
  height: 31px;
  border-bottom: none;
  background: white;
  margin-bottom: -1px;
  z-index: 5;
}
.order-cms-tab p {
  margin: 0 !important;
  font-size: 1.75rem;
}

#order-invoiced-table,
#order-closed-table {
  display: none;
}

.order-cms-btn-container button:first-child {
  margin-right: 10px;
}
.order-cms-btn-container button:hover {
  background: #27769f;
  color: white;
  transition: all ease-in-out 0.25s;
}

.order-confirmation-modal__content__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-confirmation-modal__content__buttons button:first-of-type:hover {
  background: #27769f;
  color: white;
  transition: all ease-in-out 0.25s;
}

.order-confirmation-modal__content__buttons button:first-of-type {
  margin-right: 50px;
}

.order-confirmation-modal {
  z-index: 100;

  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}
.order-confirmation-modal__content {
  background: white;
  padding: 40px 60px;

  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.overlay {
  display: none;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.overlay__inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay__content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  width: 150px;
  height: 150px;
  display: inline-block;
  border-width: 4px;
  border-color: rgba(255, 255, 255, 0.05);
  border-top-color: #fff;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
