.window {
  z-index: 1;
  width: 40%;
  height: 40%;
  box-shadow:
    rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
  left: 30%;
  position: fixed;
  display: grid;
  grid-template-rows: 50px calc(100% - 50px);
  border-radius: 10px;
  background-color: #404552;
  color: #fff;
}

.window.fullScreen {
  width: 95%;
  height: 90%;
  left: 2.5% !important;
  top: 80px !important;
}

.windowHeader {
  display: grid;
  grid-template-columns: 1fr 80px;
  border-radius: 10px 10px 0px 0px;
  min-height: 50px;
  max-height: 60px;
  background-color: #1e2128;
  color: #f0f0f0;
  padding: 0px 10px;
  cursor: grab;
}

.windowHeader h2 {
  width: 70%;
  text-align: center;
  margin: auto auto;
  font-size: 20px;
  user-select: none;
  cursor: grab;
}

.windowHeader .windowOption {
  margin: auto auto;
  cursor: default;
}

.lrs,
.rrs,
.trs,
.brs,
.tl,
.tr,
.bl,
.br {
  position: absolute;
  user-select: none;
  z-index: 10;
}

.lrs,
.rrs {
  height: 100%;
  width: 10px;
  top: 0;
}

.trs,
.brs {
  width: 100%;
  height: 10px;
  left: 0;
}

.corner-resizer {
  width: 20px;
  height: 20px;
}

.rrs {
  right: 0;
  cursor: ew-resize;
}
.lrs {
  left: 0;
  cursor: ew-resize;
}
.trs {
  top: 0;
  cursor: ns-resize;
}
.brs {
  bottom: 0;
  cursor: ns-resize;
}
.tl {
  top: 0;
  left: 0;
  cursor: nw-resize;
}
.tr {
  top: 0;
  right: 0;
  cursor: ne-resize;
}
.bl {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
}
.br {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}

/*
* Modal
*/

.modal-container {
  display: none;
  position: absolute;
  top: 40%;
  left: 40%;
  width: 300px;
  background-color: #404552;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  border-radius: 4px;
  cursor: default;
}

.modal-header {
  background-color: #1e2128;
  padding: 4px 0px;
  display: grid;
  grid-template-columns: 1fr 25px;
  border-radius: 4px 4px 0px 0px;
  user-select: none;
  cursor: default;
}

.modal-header p {
  text-align: center;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
}

.modal-header i {
  color: #cc575d;
  font-size: 20px;
  padding: 2px 0px;
  cursor: pointer;
}

/* 
* Modal renommer
*/

.modal-rename .modal-body {
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
}

.modal-rename .modal-body div {
  display: flex;
  flex-direction: row;
}

.modal-rename .modal-body div:last-child {
  display: flex;
  justify-content: space-between;
  margin: 20px 10px 10px 10px;
}

.modal-rename .modal-body button {
  border: none;
  padding: 4.5px 15px;
  border-radius: 3px;
}

.modal-rename .modal-body button:first-child {
  background-color: #dc4c64;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

.modal-rename .modal-body button:first-child:hover {
  background-color: #b03c50;
}

.modal-rename .modal-body button:last-child {
  background-color: #14a44d;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

.modal-rename .modal-body button:last-child:hover {
  background-color: #10833d;
}

.modal-rename .modal-body div:first-child {
  margin: 0px 10px;
}

.modal-rename .modal-body div:first-child p {
  color: #fff;
  margin-right: 10px;
}

.modal-rename .modal-body input[type="text"] {
  border-radius: 5px;
  padding: 2px 12px;
  border: none;
}

input[type="text"]:focus {
  outline: none;
}

/* Modal Popup */
.popUp-container {
  position: fixed;
  background-color: red;
  top: 45%;
  left: 40%;
  min-height: 40px;
  width: 20%;
  background-color: #404552;
  border-radius: 10px;
  z-index: 3;
}

.popUp-container-body {
  padding: 10px 30px;
  color: #bbc0c9;
  display: flex;
  flex-direction: row;
}

.popUp-container-body-confirmation {
  padding: 10px 30px;
  color: #bbc0c9;
  display: flex;
  flex-direction: column;
}
.popUp-container-body-confirmation > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.popUp-container-body-confirmation button {
  background-color: #404552;
  border: 2px solid #1e2128;
  color: #1e2128;
  margin: 10px 3px;
  border-radius: 5px;
  padding: 3px 0px;
}

.popUp-container-body-confirmation button:hover {
  background-color: #1e2128;
  color: #bbc0c9;
}

.popUp-container-body i {
  font-size: 45px;
}

.popUp-container-body .bxs-error {
  color: #cc575d;
}

.popUp-container-body .bxs-info-circle {
  color: #8ed1f7;
}

.popUp-container-body p {
  text-align: left;
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.popUpModal-container {
  position: fixed;
  background-color: red;
  top: 25%;
  left: 40%;
  height: 312px;
  width: 300px;
  background-color: #404552;
  border-radius: 10px;
  z-index: 3;
}

.popUpModal-container-body {
  padding: 10px 15px;
  display: grid;
  grid-template-rows: 200px 60px;
  user-select: none;
  cursor: default;
}

.popUpModal-container-top {
  display: flex;
  background-color: #2f343f;
  padding: 3px 5px;
  border-radius: 5px;
  overflow: auto;
  flex-direction: column;
}

.modal-element {
  display: flex;
  flex-direction: row;
  width: fit-content;
  min-height: 40px;
  height: fit-content;
  margin: 5px;
  filter: brightness(100%);
  user-select: none;
  cursor: pointer;
}

.modal-element img {
  width: 30px;
  height: 30px;
}

.modal-element p {
  color: #fff;
  user-select: pointer;
}

.modal-element-clicked {
  border-radius: 10px;
  border: 2px solid #40a2d8;
  background-color: rgba(64, 162, 216, 0.5);
  margin: 4px;
  filter: brightness(100%);
}

.modal-element:hover {
  filter: brightness(120%);
}

.popUpModal-container-bottom {
  display: flex;
  flex-direction: row;
  padding: 10px 0px;
}

.popUpModal-container-bottom button {
  padding: 2px 4px;
  background-color: #2f343e;
  border: none;
  color: #fff;
}

.popUpModal-container-bottom button:hover {
  background-color: #63666e;
}

.popUpModal-container-bottom button:first-child {
  border-radius: 10px 0px 0px 10px;
}

.popUpModal-container-bottom button.disable {
  color: gray;
}

.popUpModal-container-bottom button.disable:hover {
  background-color: #2f343f;
}

.popUpModal-container-bottom button:last-child {
  border-radius: 0px 10px 10px 0px;
}
