.d-none{
  display: none;
}
#app-form-coti .autocomplete {
  width:100%;
  position: relative;
  display: inline-block;
}
#app-form-coti .autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  height: 200px;
  overflow-y: auto;
  background-color: #fff;
}
#app-form-coti .autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
#app-form-coti .autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
#app-form-coti .autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}
/* loading */
#app-form-coti .content-loading{
  padding: 5px 5px 15px 5px;
  background: #fff;
}
#app-form-coti .loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 19px;
  height: 19px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Modal */
.modal-window-form-coti {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  animation: modal-show 0.5s 1 forwards;
  z-index: 9999;
}
.modal-open-form-coti{
  display: flex;
}
.modal-content-form-coti{
  position: relative;
  width: 60%;
  max-height: 90vh;
  padding: 24px;
  background-color: white;
  overflow: auto;
}
.modal-content-form-coti .modal-product-image img {
    width: 100%;
}
.modal-content-form-coti .modal-product-info h1 {
    color: var(--theme-color-1);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.modal-content-form-coti .modal-product-info ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.modal-content-form-coti .modal-product-info ul li {
    border-bottom: 1px solid #e1e1e1;
    padding: 10px 0;
}
.modal-content-form-coti .modal-product-info table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.modal-content-form-coti .modal-product-info table tr td {
    padding: 8px;
    border: 1px solid #f2f2f2;
}
.modal-content-form-coti:target{
  display: none;
}
.modal-close-form-coti{
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    text-decoration: none !important;
    font-size: 1.5rem;
    padding: 0 12px;
    border-radius: 40px;
    z-index: 9;
}
@keyframes modal-show {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@media only screen and (max-width: 1092px) {
  .modal-content-form-coti{
    width: 80%;
  }
}

@media only screen and (max-width: 600px) {
  .modal-content-form-coti{
    width: 90%;
  }
}


#app-form-coti {
    display: grid; 
    grid-auto-columns: 1fr; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto;
    gap: 0px 3rem;
    grid-template-areas: 
      "form-cliente form-table"
      "form-content form-table"
      "form-vendedor form-table"
      "form-buttons form-table"; 
    width: 100%; 
    height: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: rgb(173 38 80)
}
#app-form-coti .form-content {
    grid-area: form-content;
    margin-bottom: 1rem;
}
#app-form-coti .form-content .search-category .autocomplete,
#app-form-coti .form-content .search-category {
    margin-bottom: 8px;
}
#app-form-coti .form-content .search-category select {
    margin-bottom: 1rem;
}
#app-form-coti .form-content .count-button {
    display: flex;
    align-items: center;
    column-gap: 10px;
}
#app-form-coti .form-cliente {
    grid-area: form-cliente;
    margin-bottom: 1rem;
}
#app-form-coti .form-vendedor {
    grid-area: form-vendedor;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    column-gap: 10px;
}
#app-form-coti label {
    margin-bottom: 0;
    width: 12rem;
    color: white;
}
#app-form-coti .form-buttons {
    grid-area: form-buttons;
    border-top: 1px solid rgb(255 255 255 / 20%);
    padding-top: 1rem;
}
#app-form-coti .form-table {
    grid-area: form-table;
}
#app-form-coti .form-table {
    min-height: 20rem;
    max-height: 20rem;
    overflow: auto;
    background: white;
    border-radius: 1rem;
}
#app-form-coti .form-table::-webkit-scrollbar {
    width: 8px;
}
#app-form-coti .form-table::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
#app-form-coti .form-table::-webkit-scrollbar-thumb {
    background: var(--theme-color-2);
    border-radius: 10px;
}
#app-form-coti .form-table::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color-1);
}
#app-form-coti .form-table table img {
    width: 100%;
}
#app-form-coti button,
#app-form-coti select,
#app-form-coti input {
    height: 2.5rem;
    border-radius: 2rem;
    padding: 0 1rem;
    font-size: 14px;
    width: 100%;
    color: #000;
}
#app-form-coti button[type="submit"] {
    background: var(--theme-color-1);
    color: white;
}
#app-form-coti button[type="button"] {
	background: var(--theme-color-1);
    color: white;
    font-weight: 700;
    border: 0;
    font-size: 1rem;
}
.modal-window-form-coti .modal-content-img {
    width: 35%;
    float: left;
    margin: auto;
}
.modal-window-form-coti .modal-content-img .modal-product-image img {
    width: 95%;
}
.modal-window-form-coti .modal-content-info {
    width: 65%;
    float: right;
    margin: auto;
}
.modal-window-form-coti .modal-content-info table {
    border: 1px solid #f2f2f2;
}
.modal-window-form-coti .modal-content-info table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.modal-window-form-coti .modal-content-info table tr td {
    padding: 8px;
}
.modal-window-form-coti .modal-content-info .modal-product-title h1 {
    margin: 0;
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.modal-window-form-coti .modal-content-info .modal-product-category {
    margin-top: 1rem;
}
@media (max-width: 1199.98px) {
    #app-form-coti {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0px;
        grid-template-areas:
            "form-cliente"
            "form-content"
            "form-table"
            "form-vendedor"
            "form-buttons";
    }
    #app-form-coti .form-table {
        margin-bottom: 10px;
    }
}