@font-face {
  font-family: 'OpenSans';
  src: url("../fonts/open-sans.ttf");
}

@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter.ttf");
}

body {
  font-family: 'Inter', serif;
  font-size: 11pt;
}

/**
  Icon input
 */
.icon-input {
  outline: solid #d5d5d5 2px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  width: 400px; 
  height: 40px
}

.icon-input img {
  width: 25px;
  height: 25px;
  margin-left: 5px;
  margin-right: 5px;
  filter: invert(0.5);
}

.icon-input input {
  border: none;
  background: none;
  outline: none;
  height: 100%;
  width: 100%;
  padding: 2px 5px;
  font-size: 11pt;
}

.icon-input:focus-within {
    outline: solid #43adda 3px;
}

/**
  Button action
 */
.button-action {
  border: solid #d5d5d5 1px;
  outline: none;
  border-radius: 3px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 7px 15px;
  color: #2990df;
  font-weight: 500;
}

.button-action:hover {
  background-color: #f6fafe;
  color: #0a6ebd;
}

.button-action img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  margin-top: -2px;
}

.button-action:hover img {
  filter: brightness(0.8);
}


/**
  Select box
 */
.select-box {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 40px;
}

.select-box select {
/* Reset */
  appearance: none;
  border: 0;
  font: inherit;
  padding: 5px 10px;
  /* Personalize */
  outline: solid #d5d5d5 2px;
  border-radius: 3px;
  width: 200px;
  color: #2c2c2c;
  height: 40px;
  font-size: 11pt;
  cursor: pointer;
}

.select-box select option {
  color: inherit;
  padding: 10px;
}


/**
  Button confirm
 */
.button-confirm {
  background-color: #0a6ebd;
  color: whitesmoke;
  border-radius: 3px;
  padding: 10px;
  border: none;
}

.button-confirm:not([disabled]):hover {
  background-color: #105e9d;
}

.button-confirm img {
  width: 25px;
  height: 25px;
  margin-right: 0;
  filter: invert(100%);
  margin-top: -3px;
}

.button-confirm[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}


/**
  Button secondary
 */
.button-secondary {
  background-color: #bebebe;
  color: whitesmoke;
  border-radius: 3px;
  padding: 10px;
  border: none;
}

.button-secondary:hover {
  background-color: #a0a0a0;
}


/**
  Button delete
 */
.button-delete {
  background-color: #b14f4f;
  color: whitesmoke;
  border-radius: 3px;
  padding: 10px;
  border: none;
}

.button-delete:not([disabled]):hover {
  background-color: #8e5050;
}

.button-delete[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}


/**
  Content page
 */
.block-title {
  color: #3a3a3a;
  font-size: 17pt;
  font-weight: 500;
  display: flex;
  align-items: center;
  background-color: white;
  border: solid 1px #dadada;
  padding: 15px;
  width: 100%;
  justify-content: center;
}

.block-title .content-form-center {
  flex-direction: row;
}

.block-title img {
  width: 27px;
  height: 27px;
  margin-right: 5px;
}

.content-block {
  position: relative;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #f4f8fb;
}

.content-form-center {
  max-width: 1000px; 
  width: 100%;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-card {
  background-color: white;
  border-radius: 7px;
  filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.18));
}

.block-border-card {
  border-radius: 8px;
  border: solid 1px #e1e3e1;
  width: 100%;
}

.border-card-section {
  display: flex;
  padding: 10px 30px;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.bcs-section:not(:last-child){
    border-bottom: solid 1px #e1e3e1;
}

.border-card-section.selectable {
  cursor: pointer;
}

.border-card-section.selectable:hover {
  background-color: #f6f6f6;
}

.border-card-section-title {
  color: #888888;
  font-weight: 500;
  font-size: 10pt;
}


/**
  Forms
 */
.label-input-form {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 400px;
}

.label-input-form p {
  margin-right: 15px;
}

.label-input-form input {
  width: 100%;
}

/**
  Modal
 */
.modal {
  color: #555555;
}

.modal-close-button {
  border-radius: 360px;
  padding: 5px;
  width: 45px;
  height: 45px;
  font-size: 30px;
  border: none;
  background: none;
  outline: none;
  position: absolute;
  left: 10px;
  top: 7px;
}

.modal-close-button:hover {
  background-color: #f5f5f5;
}

.modal-close-button span {
  top: -6px;
  position: relative;
}

.modal-title {
  font-size: 13pt;
}


/**
  DropZones
 */
.dragover {
  border: dashed 2px #009dff;
  border-radius: 7px;
  background-color: #def1ff;
}


/**
    Data Tables
 */

.index-table-name {
    width: 100%; 
    padding: 18px 18px 0px 18px;
    display: flex;
    justify-content: space-between;
}

.index-table-search-bar {
    background-color: #f6f9ff;
    height: 30px;
    width: 250px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.index-table-search-bar input {
    margin: 0;
    border: none;
    height: 100%;
    width: 100%;
    background-color: transparent;
    padding-left: 5px;
    padding-right: 15px;
}

.index-table-search-bar input:focus {
    outline: none;
}

.index-table-search-bar:focus-within {
    outline: solid 3px #43adda;
}

.index-table-search-bar i:first-child {
    background-color: #0a6ebd;
    padding: 9px;
    height: 100%;
    border-radius: 10px 0 0px 10px;
    color: #ffffff;
    font-size: 10pt;
    margin-top: -1px;
}

.index-table-search-bar i:last-child {
    background-color: transparent;
    color: #8b8b8b;
    font-size: 10pt;
    cursor: pointer;
    position: relative;
    margin-right: 15px;
    display: none;
}

.index-table-controls {
    display: flex; 
    align-items: center
}

.index-table {
    width: 100%;
    overflow-x: auto;
}

.index-table th{ 
    color: #b0b0b0;
    font-size: 9pt;
    font-weight: 400;
    cursor: auto;
    padding: 10px 18px 10px 18px;
    background-color: #f6f9fc;
    letter-spacing: 1px;
}

.index-table td {
    padding: 15px;
    color: #888888;
    height: 100px;
}

.index-table tr:not(:last-child) {
    border-bottom: solid #cacaca 1px;
}

.index-table tr { 
    cursor: pointer;
}

.index-table tr:hover {
    background-color: #f6f6f6;
}

.index-inner-table {
    background-color: #ffffff;
    border-radius: 7px;
    border: solid #dfdfdf 1px;
    font-weight: 300;
}

.index-table-item-name {
    display: flex;
}

.index-table-item-name p {
    margin-top: 2px; 
    margin-left: 15px; 
    font-weight: 400;
    color: #000000;
}


.pagination li {
    user-select: none;
    cursor: pointer;
}

.model-ticket {
    padding: 2px 10px;
    font-size: 10pt;
    border-radius: 7px;
    width: fit-content;
}

.model-ticket.borrador {
    background-color: #ededed;
    color: #888888;
}

.model-ticket.cerrado {
  background-color: #b1ffa1;
}

.model-ticket.cancelado {
  background-color: #ffbcbc;
}

.button-filter {
    padding: 5px 10px;
    border-radius: 7px;
    background-color: white;
    outline: none;
    border: solid 1px #d3d3d3;
    color: #585858;
}

.button-filter img {
    filter: invert(40%);
}

.button-filter:not(.selected):hover {
    background-color: #f9f9f9;
}

.button-filter.selected {
    background-color: #0a6ebd;
    color: white;
}

.button-filter.selected img {
    filter: invert(100%);
}

.index-table-filter-box {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    margin-top: 20px;
    background-color: #f9f9f9;
    justify-content: space-between;
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
}

.index-table-filter-box div + div {
    margin-left: 50px;
}

.filter-select.filtered {
    background-color: #f3fbff;
    outline-color: #0a6ebd;
}

.index-table-arrow-back {
    cursor: pointer;
    opacity: 30%;
}

.index-table-arrow-back:hover {
    opacity: 100%;
}
