/* *********************************  NAV BAR Y RESPONSIVIDAD *********************************  */

.navbar {
  background-color: #66C2D0;
  height: 120px;
  margin: 10px;
  border-radius: 16px;
  padding: 0.1rem;
  position: static;
}

.navbar-brand {
  font-weight: 500;
  color: #006e7e;
  font-size: 24px;
  transition: 0.3s color;
}

.navbar-toggler {
  border: none;
  padding: 0.1rem;
  width: auto;
  font-size: 1.26rem;
  margin-right: 10px;
}

.nav-link {
  color: #006b7b;
  font-weight: 500;
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:hover,
.btn-close:focus,
.btn-close:hover {
  background-color: transparent;
  color: inherit;
  box-shadow: none;
  outline: none;
}

.nav-link:hover,
.nav-link.active {
  color: #fafafa;
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #006e7e;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }

  .offcanvas-footer {
    display: none;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }
}

@media (max-width: 991px) {
  .offcanvas {
    text-align: center;
    height: auto;
    max-width: 220px;
  }

  .offcanvas-header {
    justify-content: center;
    background-color: #fafafa;
    padding: 1.25rem;
  }

  .offcanvas-body {
    color: #fafafa;
    background-color: #66C2D0;
    padding: 0.1rem;
  }

  .navbar-brand {
    font-size: 20px;
  }

  .navbar-brand img {
    height: 80px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #c5f0f8;
  }

  .nav-link {
    margin-top: 10px;
    font-size: 16px;
    color: #006b7b;
  }

  .offcanvas-footer {
    background-color: #66C2D0;
    ;
    height: 90px;
  }
}


/* *****************************************  BODY ****************************************  */

body {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  cursor: url("../IMAGENES/favicon-32x32.png"), auto;
}

main {
  flex: 1;
  background-image: url("../IMAGENES/Fondi.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ***************************************** FOOTER ****************************************  */


footer {
  background-color: #66C2D0;
  height: 125px;
  margin: 10px;
  border-radius: 16px;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;

}

.footer-image {
  width: 80%;
  height: auto;
}

@media (max-width: 900px) {
  footer {
    padding: 0.5rem;
    height: auto;
  }

  .footer-image {
    height: 100%;
    width: 100%;
  }
}

/* ****************************  CONTAINER Y RESPONSIVIDAD ********************************  */

.container {
  margin-top: 2rem;
  background-color: #fff;
  padding: 1.25rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  border: none;
  margin-bottom: 2rem;
}

.header {
  margin-top: 1.25rem;
  background-color: #006e7e ;
  text-align: center;
  padding: 1rem 0;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: white;
  font-size: 1.75rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
}

/* ComboBox */
.combo-box-container {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.combo-box-container select {
  border: 1px solid #006e7e ;
  border-radius: 0.3125rem;
  padding: 0.625rem;
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 600px) {
  .container {
    max-width: 90%;
  }

  .header {
    font-size: 1.5rem;
  }

  .combo-box-container {
    font-size: 1rem;
  }

  .combo-box-container select {
    font-size: 0.875rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .container {
    max-width: 90%;
  }
  .header {
    font-size: 1.75rem;
  }
  .combo-box-container {
    font-size: 1.125rem;
  }
}


/* *********************** CONTAINER FOLIO Y RESPONSIVIDAD ********************************* */

.container-folio {
  text-align: right;
  padding: 1rem;
}
.container-folio label {
  font-weight: bold;
  height: 2.1875rem;
  padding-right: 8px;
}
.container-folio select {
  text-align: center;
  border: 1px solid #006e7e ;
  border-radius: 0.3125rem;
  margin-right: 1rem;
  height: 2.1875rem;
  width: 15%;
}
.container-folio input {
  height: 2.1875rem;
  background-color: rgb(227, 235, 235);
  border: none;
  border-radius: 0.625rem;
  text-align: center;
  width: 15%;
}
@media (max-width: 550px) {
  .container-folio {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 0.850rem;
    justify-content: center;
    align-items: center;
  }
  .container-folio label {
    text-align: center;
    padding-right: 0;
  }
  .container-folio select,
  .container-folio input {
    margin-right: 0;
    width: 60%;
  }
  #marcas {
  margin-bottom: 20px; 
}

}

@media (min-width: 551px) and (max-width: 767px) {
  .container-folio {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 0.900rem;
    justify-content: center;
    align-items: center;
  }

  .container-folio label {
    padding-right: 0;
    text-align: center;
  }

  .container-folio select,
  .container-folio input {
    margin-right: 0;
    width: 50%;
  }
  #marcas {
    margin-bottom: 20px; 
  }
  
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-folio {
    text-align: center;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    gap: 10px;
  }

  .container-folio select,
  .container-folio input {
    width: 30%;
  }
}




/* *********************** CONTAINER DATA Y RESPONSIVIDAD ********************************* */
.container-data-general, .container-data-client, .container-data-products { 
  margin-top: 1.5625rem;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.container-data-general label,
.container-data-client label,
.container-data-products label {
  height: 2.1875rem;
}

.container-data-general input,
.container-data-client input,
.container-data-products input {
  height: 2.1875rem;
  text-align: center;
  width: 70%;
  border: 1px solid #006e7e;
  border-radius: 0.3125rem;
}

.container-data-general .column2,
.container-data-client .column2,
.container-data-products .column2 {
  grid-column: 2;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-data-general .column1,
.container-data-client .column1,
.container-data-products .column1 {
  grid-column: 1;
  align-items: center;
  display: flex;
  flex-direction: column;
}


@media (max-width: 550px) {
  .container-data-general, .container-data-client, .container-data-products {
    grid-template-columns: 1fr 1fr;
      font-size: 0.850rem;
      gap: 10px;
  }
  .container-data-general input,
  .container-data-client input,
  .container-data-products input {
    width: 100%;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  .container-data-general, .container-data-client, .container-data-products {
    grid-template-columns: 1fr 1fr;
      font-size: 0.900rem;
      gap: 10px;
  }

  .container-data-general input,
  .container-data-client input,
  .container-data-products input {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-data-general, .container-data-client, .container-data-products {
    grid-template-columns: 1fr 1fr;
      font-size: 1rem;
      gap: 10px;
  }

  .container-data-general input,
  .container-data-client input,
  .container-data-products input {
    width: 95%;
  }
}



/* *********************** CONTAINER TABLE Y RESPONSIVIDAD ********************************* */

/* BUTTONS */

.buttons {
  margin-top: 40px;
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.buttons .button-add button,
.buttons .button-delete button {
  padding: 10px 15px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buttons .button-add button {
  background-color: #006e7e ;
}

.buttons .button-add button:hover {
  background-color: #04505c ;
}

.buttons .button-delete button {
  background-color: #d9534f;
}

.buttons .button-delete button:hover {
  background-color: #c9302c;
}

@media (min-width: 100px) and (max-width: 600px) {
  .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .buttons button {
    font-size: 0.850rem;
    margin-bottom: 10px;
  }
}

/****************************************************** TABLA  ******************************************************/

.container-table {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5625rem;
  display: flex;
  justify-content: center;
}

.container-table table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  table-layout: fixed; 
  text-align: center;
}

.container-table th,
.container-table td {
  font-size: smaller;
  text-align: center;
  border: 1.5px solid #006e7e ;
  padding: 1px;
  word-wrap: break-word; 
  overflow: hidden;
}

.container-table th {
  background-color: #9cdde7;
}

.container-table input,
.container-table textarea {
  text-align: center;
  width: 100%;
  padding: 1px;
  border: none;
  outline: none;
}

.container-table textarea {
  resize: vertical;
  text-align: center;
  justify-content: center;
}

.container-table select {
  border: none;
  text-align: center;
}

.custom-select input {
  width: calc(100% - 40px);
  padding: 1.5px;
  border: 0.5px solid #006e7e ;
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-size: small;
  margin-top: 2px;
  margin-bottom: 3px;
}


@media (max-width: 550px){
  .container-table table {
    display: block;
    overflow-x: auto;
}
  .container-table th,
  .container-table td {
    font-size: 0.850rem;
    white-space: nowrap;
    
  }
  .container-table input,
  .container-table textarea {
    width: 150px;
  }

}

@media (min-width: 551px) and (max-width: 767px) {
  .container-table table {
    display: block;
    overflow-x: auto;
}
  .container-table th,
  .container-table td {
    font-size: 0.900rem;
    white-space: nowrap;
  }

  .container-table input,
  .container-table textarea {
    width: 150px;
  }

}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-table th,
  .container-table td {
      width: 1000px;
      white-space: nowrap;
      font-size: 1rem;
  }
  .container-table input,
  .container-table textarea {
      width: 150px;
  }
  .container-table table {
      display: block;
      overflow-x: auto;
      width: 100%;
  }
}


/* ****************************** CONTAINER QUOTE **************************************** */

.container-Quote {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.container-Quote .column1, .container-Quote .column2, .container-Quote .column3 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .container-Quote {
    grid-template-columns: 1fr;
  }
}

/* *********************** TABLA ENVIOS Y RESPONSIVIDAD ********************************* */

.container-table-shipping {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-items: center;
}

.container-table-shipping table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  table-layout: fixed; 
}

.container-table-shipping th, .container-table-shipping td {
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  border: 1.5px solid #006e7e ;
  padding: 8px;
}

.container-table-shipping input {
  text-align: center;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

@media (max-width: 800px) {
  .container-table-shipping th, .container-table-shipping td {
    padding: 4px;
    font-size: 14px;
  }

  .container-table-shipping input {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .container-table-shipping th, .container-table-shipping td {
    padding: 4px;
    font-size: 14px;
    white-space: nowrap;
  }

  .container-table-shipping table {
    display: block;
    overflow-x: auto;
  }
}

/* *************************************** MUESTRA *********************************************** */

.container-muestra {
  width: 100%;
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr;
}

.container-muestra .col1 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-muestra label {
  height: 2.1875rem;
  margin-top: 0.1rem;
}

.container-muestra input {
  height: 2.1875rem;
  text-align: center;
  width: 50%;
  border: 1px solid #006e7e ;
  border-radius: 0.3125rem;
}

@media (max-width: 550px) {
  .container-muestra {
    text-align: center;
    font-size: 0.850rem;
  }
  .container-muestra input {
    width: 70%;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  .container-muestra {
    font-size: 0.900rem;
  }
  .container-muestra input {
    width: 60%;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-muestra {
    text-align: center;
    font-size: 1rem;
  }
  .container-muestra input {
    width: 45%;
  }
}







/* *********************** TABLA PERSONALIZACIÓN Y RESPONSIVIDAD ********************************* */

.container-table-personalization {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-table-personalization table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  table-layout: fixed; 
}

.container-table-personalization th, .container-table-personalization td {
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  border: 1.5px solid #006e7e ;
  padding: 8px;
}

.container-table-personalization input {
  text-align: center;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

@media (max-width: 800px) {
  .container-table-personalization th, .container-table-personalization td {
    padding: 4px;
    font-size: 14px;
  }

  .container-table-personalization input {
    width: 80%;
  }
}

/* *********************** TABLA UTILIDAD Y RESPONSIVIDAD ********************************* */

.container-table-utilidad {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-table-utilidad table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  table-layout: fixed;
}

.container-table-utilidad th, .container-table-utilidad td {
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  border: 1.5px solid #006e7e ;
  padding: 8px;
}

.container-table-utilidad input {
  text-align: center;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

@media (max-width: 800px) {
  .container-table-utilidad th, .container-table-utilidad td {
    padding: 4px;
    font-size: 14px;
  }

  .container-table-utilidad input {
    width: 80%;
  }
}

/* *********************** TABLA COSTOS Y RESPONSIVIDAD ********************************* */

.container-table-cost {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-table-cost table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  table-layout: fixed; 
}

.container-table-cost th, .container-table-cost td {
  text-align: center;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  border: 1.5px solid #006e7e ;
  padding: 8px;
}

.container-table-cost input {
  text-align: center;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  outline: none;
}

@media (max-width: 800px) {
  .container-table-cost th, .container-table-cost td {
    padding: 4px;
    font-size: 14px;
  }
  .container-table-cost input {
    width: 80%;
  }
}




/* *********************** CONTAINER PRODUCTION Y RESPONSIVIDAD ********************************* */

.container-production {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.container-production label {
  height: 2.1875rem;
}

.container-production input {
  height: 2.1875rem;
  text-align: center;
  width: 80%;
  border: 1px solid #006e7e ;
  border-radius: 0.3125rem;
}

.container-production .column1 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-production .column2 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-production .column3 {
  align-items: center;
  display: flex;
  flex-direction: column;
}


@media (max-width: 550px) {
  .container-production {
    grid-template-columns: 1fr 1fr;
    font-size: 0.850rem;
    gap: 10px;
  }
  .container-production input {
    width: 100%;
  }
  .container-production .column1 {
    grid-column: 1;
  }
  .container-production .column2 {
    grid-column: 2;
  }
  .container-production .column3 {
    grid-column: 2;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  .container-production {
    grid-template-columns: 1fr 1fr;
    font-size: 0.900rem;
    gap: 10px;
  }
  .container-production input {
    width: 100%;
  }
  .container-production .column1 {
    grid-column: 1;
  }
  .container-production .column2 {
    grid-column: 2;
  }
  .container-production .column3 {
    grid-column: 2;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-production {
    grid-template-columns: 1fr, 1fr;
    font-size: 1rem;
    gap: 10px;
  }
  .container-production input {
    width: 95%;
  }
}

/* *********************** CONTAINER DESCRIPCION Y RESPONSIVIDAD ********************************* */

.container-description {
  margin-top: 1.5625rem;
  display: grid;
  text-align: center;
  margin-bottom: 1.2rem;
}

.container-description textarea {
 margin-top: 10px;
 height: 200px;
 padding: 30px;
 text-align: center;
 border: 1.5px solid #006e7e 
}


@media (max-width: 550px) {
  .container-description {
    font-size: 0.850rem;
  }
  .container-description label {
    margin-bottom: 10px;
  }
  .container-production textarea {
    width: 100%;
  }
}


@media (min-width: 551px) and (max-width: 767px) {
  .container-description {
    font-size: 0.900rem;
  }
  .container-production textarea {
    width: 100%;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  .container-description {
    font-size: 1rem;
  }
  .container-production textarea {
    width: 100%;
  }
}


/* *********************** BOTÓN Y RESPONSIVIDAD ********************************* */
/* BUTTONS */

.buttons-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.buttons-actions .buttonPDF button, 
.buttons-actions .buttonSave button{
  padding: 10px 15px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buttons-actions .buttonPDF button,
.buttons-actions .buttonSave button {
  background-color: #006e7e ;
}

.buttons-actions .buttonPDF button:hover
.buttons-actions .buttonSave button:hover {
  background-color: #04505c ;
}


@media (min-width: 100px) and (max-width: 600px) {
  .buttons-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 10px;
  }

  .buttons-actions button {
    font-size: 0.850rem;
    margin-bottom: 10px;
  }
}

/* ************************************ CONTAINER DATA RECEPTION Y RESPONSIVIDAD ******************************** */

/* *********************************************** LABELS AND INPUTS  ******************************************* */

.container-data-reception {
  margin-top: 1.5625rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.container-data-reception label {
  height: 2.1875rem;
}

.container-data-reception input {
  height: 2.1875rem;
  text-align: center;
  width: 70%;
  border: 1px solid #006e7e;
  border-radius: 0.3125rem;
}

.container-data-reception .column2 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.container-data-reception .column1 {
  align-items: center;
  display: flex;
  flex-direction: column;
}

/* ********************************************** RESPONSIVIDAD ************************************************* */

@media (max-width: 550px) {
  .container-data-reception {
    grid-template-columns: 1fr 1fr;
    font-size: 0.850rem;
    gap: 10px;
  }
  .container-data-reception input {
    width: 100%;
  }
}


@media (min-width: 551px) and (max-width: 767px) {
  .container-data-reception {
    grid-template-columns: 1fr 1fr;
    font-size: 0.900rem;
    gap: 10px;
  }
  .container-data-reception input {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-data-reception {
    grid-template-columns: 1fr 1fr;
    font-size: 1rem;
    gap: 10px;
  }
  .container-data-reception input {
    width: 95%;
  }
}

/* ************************************** CONTAINER RECEPTION Y RESPONSIVIDAD *********************************** */

/* *********************************************** LABELS AND INPUTS  ******************************************* */

.container-approval {
  margin-top: 1.5625rem;
  display: flex;
  margin-bottom: 1.6rem;
  align-items: center;
  justify-content: right;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

.container-approval label {
  height: 2.1875rem;
  text-align: right;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100px;
}

.container-approval input {
  margin-left: 5%;
  text-align: center;
  border: 1px solid #006e7e;
}

/* ********************************************** RESPONSIVIDAD ************************************************* */

@media (max-width: 550px) {
  .container-approval {
    align-items: center;
    justify-content: center;
    display: flex;
    width: 100%;
    font-size: 0.850rem;
  }

  .container-approval label {
    text-align: center;
  }

  .container-approval input {
    font-size: 0.900rem;
  }
}

@media (min-width: 551px) and (max-width: 767px) {
  .container-approval {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 0.950rem;
  }

  .container-approval label {
    text-align: center;
  }

  .container-approval input {
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  .container-approval {
    text-align: center;
    align-items: center;
    width: 100%;
    font-size: 1rem;
  }
}
