/* Statement Line Editor */

metiz-editor {
  width: 100%;
}
 
.flip-me,
.flip-me:hover {
  transform: scaleY(-1);
}
 
.clickable {
  cursor: pointer;
}
 
.disabled,
.disabled.ti-arrow-top-left {
  pointer-events: none;
  opacity: .25;
}
 
.monospace {
  font-size: .7rem;
  font-weight: 400;
  font-family: 'Roboto Mono','Courier New', Courier, monospace;
}
 
.error,
.ng-touched.ng-invalid {
  border-color: var(--red-color);
}
 
.row-icon {
  width: 1rem;
}
 
.btn--editor {
  padding: .5rem;
  font-size: .9rem;
  /* font-weight: 600; */
}
 
.btn-group .btn {
  /* color: var(--primary-color); */
  border: none !important
}
 
.btn-group .btn.btn-outline-secondary:hover,
.btn-group .btn.btn-outline-secondary:active,
.btn-group .btn.btn-outline-secondary:focus {
  background-color: transparent !important;
  /* font-weight: 600; */
  color: var(--primary-color);
}

/* .input-group .input-group-append {
  background-color: var(--gray-color-2);
  border: none;
  color: var(--black-color);
  font-weight: 600;
} */
 
.scrollable-content {
  max-height: 60vh;
  overflow-y: scroll;
}
 
.statement-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
 
.list-group-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.table-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  /* border-bottom: 2px solid var(--gray-color-2); */
  margin-bottom: .75rem;
  /* font-weight: 600; */
}

.table-right {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.dnd-row-formula {
  width: 150px;
}

.dnd-row-formula img{
  width: 10px;
  height: 10px;
}

.dnd-row-actions-icons {
  width: 85px;
  text-align: center;
}

.dnd-row-actions-buttons {
  width: 75px;
  text-align: right;
}

.dnd-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* border: 1px dashed orange; */
  /* border-bottom: .5px dashed lightgray; */
}

.dnd-row-actions {
  min-width: 300px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  right: 15px;
}
 
.drophere {
  padding: 1rem;
}
 
[dndHandle],
[draggable='true']:not(:has([dndHandle])) {
  cursor: pointer;
}
 
[draggable].dndDraggableDisabled {
  cursor: not-allowed;
  opacity: 0.7;
}
 
.dndDropzone {
  min-width: 200px;
  min-height: 200px;
  
}
 
.dndDropzone.dndDropzoneDisabled {
  cursor: no-drop;
  opacity: 0.7;
}
.mat-list-wrapper {
  border: .5px dashed white;
}

.mat-list-wrapper .mat-list {
  border: .5px dashed white;
  border-right: none;
}
 
.mat-list {
  padding: 0.25rem;
  padding-right: 0;
  margin-left: 20px !important;
  /* border: #2196F3 1px dashed; */
  /* border-left: 0.5px dashed var(--gray-color-2);
  border-bottom: 0.5px dashed var(--gray-color-2); */
}
 
.mat-list-item {
  margin-left: 5px;
  margin-bottom: 0px;
  /*padding: .5rem;*/
  /* border: .5px dashed lightgray; */
}
 
.border {
  border: .5px dashed lightgray;
}
 
/* .dndPlaceholder {
  height: 25rem;
} */

.statementLineTitle {
  display: flex;
  flex-grow: 1;
  /* border: .5px dashed lightgray; */
}

.statementLineTitle p {
  font-weight: 600;
  /* color: red; */
}

.dndPlaceholder {
  /* height: 2rem; */
  width: 100%;
  height: .25rem;
  background-color: var(--secondary-color);
  /* background: linear-gradient(45deg, var(--red-color), var(--yellow-color)); */
}

.statementLineTitle {
  font-weight: 500;
  /* font-family: 'Roboto Mono','Courier New', Courier, monospace; */
  display: flex;
  align-items: center; /* Vertically align items */
}

.statementLineTitle img{
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.dropdown-menu-editor {
  position: absolute;
  top: 100%;
  left: -100px;
  width: 125px;
  min-width: auto;
}

.open .dropdown-menu {
  display: block;
}

.text-formula {
  font-size: .7rem;
  font-weight: 400;
  font-family: 'Roboto Mono','Courier New', Courier, monospace;
  overflow: hidden;
}

.form-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 4px 0;
}

.form-toggle label {
  display: flex;
  margin-left: 4px;
  margin-bottom: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--black-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--black-color);
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.warning {
  /* color: var(--red-color); */
  border-bottom: 1px dotted var(--red-color);
  /* border-radius: .25rem; */
  /* background-color: lightgray; */
  /* font-weight: 700; */
}

.btn-square-primary {
  background-color: var(--black-color);
  color: white;
  border: 3px solid var(--black-color);
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  /* Position the tooltip */
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}