/* CSS LOG IN */
  
  input[type=email]:-webkit-autofill, input[type=text]:-webkit-autofill, input[type=password]:-webkit-autofill, select:-webkit-autofill, textarea:-webkit-autofill{
    background-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
  }

  .global-header{
    display: flex;
    position: fixed;
    background-color: rgb(106, 90, 205);
    color: ghostwhite;
    column-gap: 12px;

    justify-content: space-between;
    align-items: center;
    padding: 0 60px 0 60px;

    z-index: 5;
    top: 0; left: 0; right: 0;
    height: 50px;
  }

  h1{font-weight: 700; font-size: 2rem;} /* 32px */
  h2{font-weight: 600; font-size: 1.5rem;} /* 24px */
  h3, label, a{font-weight: 500; font-size: 1.125rem;} /* 18px */
  p {font-weight: 400; font-size: 1rem;} /* 16px */
  /*p {font-weight: 400; font-size: 0.875rem;}*/ /* 14px */

  .header{
    color: rgb(106, 90, 205);
  }

  .global-content{
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: auto;

    margin-top: 55px;
    margin-bottom: 25px;

    background-color: transparent; /* Default: transparent; */

    padding-left: 12px;
    padding-right: 12px;
  }

  .triangle-login{
    width: 0;
    height: 0;
    border: solid 16px;
    border-color: transparent transparent #f4f6f7 transparent;
  }

  .login-square{
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    border-radius: 6px;

    height: 100%;
    padding: 12px;
    background-color: #f4f6f7;
    box-shadow: 0px 8px 16px -10px black;
  }

  .form-login{
    background-color: white;
    padding: 12px;
    border-radius: 6px;
  }

  label{
    font-family: 'Quicksand', sans-serif;
    color: rgb(106, 90, 205);
  }

  input, select{
    background-color: white;
    width: 100%;
    height: 40px;
    transition: 0.5s;
  }

  input[type=email], input[type=password], .search-input, .codeField, .input-upload, input[type=datetime-local], select, textarea{
    border-left: 6px solid rgb(106, 90, 205);
    background-color: white !important;
  }

  input[type=email]:focus, .codeField:focus, .input-upload:focus, .search-input:focus, input[type=password]:focus, input[type=datetime-local]:focus, select:focus, textarea:focus{
    box-shadow: 0px 8px 16px -12px black;
    background-color: white;
  }

  input[type=email]:valid, .codeField:valid, .input-upload:valid, .search-input:valid, input[type=password]:valid, input[type=datetime-local]:valid, select:valid, textarea:valid{
    border-left: 6px solid #2ecc71; /* Verde - Green */
    box-shadow: 0px 8px 16px -12px black;
    background-color: white;
  }

  input[type=submit]{
    background-color: darkorange;
    font-weight: bold;
    color: white;
  }

  input[type=submit]:hover{
    cursor: pointer;
    background-color: rgb(106, 90, 205);
  }

  footer{
    position: fixed;
    bottom: 7px;
    right: 7px;
    color: grey;
  }

/* DASHBOARD */
  .item-nav{
    color: white;
  } .item-nav .fa-solid{
    font-size: 1rem;
  }

  .opt-head{
    color: rgb(106, 90, 205);
  }

  .grid-bricks{
    display: grid;
    margin-top: 25px;
    background-color: transparent;

    width: 100%;
    max-width: 500px;
    min-width: 340px;
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .item-brick{
    color: white;
    border: none;
    border-radius: 6px;
    opacity: 0.9;
    transition: 0.3s;

    width: 100%;
    max-width: 160px;
    min-width: 100px;

    padding: 0 8px 0 8px;
    height: 120px;
    
    text-align: center;
  } .item-brick p{
    font-weight: bold;
  } .item-brick:hover{
    cursor: pointer;
    opacity: 1;
  }

  .item-brick:nth-child(1){background-color: darkorange;}
  .item-brick:nth-child(2){background-color: rgb(106, 90, 205);}
  .item-brick:nth-child(3){background-color: #2ecc71;}
  .item-brick:nth-child(4){background-color: purple;}
  .item-brick:nth-child(5){background-color: gray;}
  .item-brick:nth-child(6){background-color: orangered;}

  .icon{font-size: 1.5rem;}

  .log-info{
    display: flex;
    margin-top: 30px;
    background-color: transparent;
    padding: 8px;
    justify-content: center;

    width: 100%;
    max-width: 500px;
    min-width: 340px;
    border-radius: 6px;
    color: rgb(106, 90, 205);
  }

  .grid-log{
    display: grid;
    margin-top: 0px;
    background-color: transparent;

    width: 100%;
    max-width: 500px;
    min-width: 340px;
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
  }

  .item-log{
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgb(106, 90, 205);
    border: none;
    border-radius: 6px;
    transition: 0.3s;

    width: 100%;
    max-width: 160px;
    min-width: 100px;

    height: 80px;
    
    text-align: center;
  }

  .call-info{
    display: flex;
    margin-top: 30px;
    background-color: #2ecc71;
    padding: 8px;
    justify-content: left;

    width: 100%;
    max-width: 500px;
    min-width: 340px;
    border-radius: 6px;
    color: white;
  }

/* UPLOAD CSS */

  .grid-uploadopt{
    display: grid;
    background-color: transparent;

    width: 100%;
    /*max-width: 2000px;
    min-width: 340px;*/
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(7, 1fr);
  }

  .form-upload{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9;
    padding: 12px;
    border-radius: 6px;
  }

  select:hover{cursor: pointer;}

  textarea{
    background-color: white;
    width: 100%;
    height: calc(100% - 23px);
    transition: 0.5s;
    resize: none;
  }

  .grid-uploadopt div{
    background-color: transparent;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .item-g7{
    grid-column: 1 / 4;
    grid-row: 3 / 5;
  }

  .item-g8{
    grid-column: 1 / 4;
    grid-row: 5 / 7;
  }

  .item-g11{
    grid-column: 3;
  }

/* SEARCH CSS */

  .grid-searchdopt{
    display: grid;
    background-color: transparent;

    width: 100%;
    /*max-width: 2000px;
    min-width: 340px;*/
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(9, 1fr);
  }

  .search-block{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
  } .search-block .form{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
  } .search-button{
    width: 100px;
  }

  .search-info-disc{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
    text-align: justify;
    color: grey;
  }

  .form-search{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
  }

  #infoSearch{
    width: 100%;
    max-width: 1200px;
    min-width: 340px;
    background-color: transparent;
  }

  .grid-searchdopt div{
    background-color: transparent;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .info-db-field{
    border-left: 10px solid #2ecc71;
    box-shadow: 0px 2px 16px -12px black;
    background-color: white;
    text-indent: 0;
    white-space: pre;
  } .info-db-field:focus{
    box-shadow: 0px 2px 16px -12px black;
  }

  .grid-searchdopt div:nth-child(2) .info-db-field, .grid-searchdopt div:nth-child(4) .info-db-field{
    border: none;
  }

  .item-s5{
    grid-column: 1 / 3;
    grid-row: 3 / 5;
  }

  .item-s6{
    grid-column: 1 / 3;
    grid-row: 5 / 7;
  }

  .item-s11{
    grid-column: 1 / 3;
  }

  .imgSearch, .imgResend, .imgUpdate, .imgLog{
    width: 120px;
    height: 120px;
  }

  .search-input{
    letter-spacing: 2px;
  }

/* EDITION CSS */
  
  .fichas-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    min-width: 340px;
    margin-top: 25px;
    background-color: transparent;
  }

  .edit-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #f7f9f9;
  }

  .edit-block form{
    display: grid;
    justify-content: center;
    align-items: left;

    width: 100%;
    padding: 8px;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);

    row-gap: 10px;
    column-gap: 10px;

    background-color: transparent;
  }

  .itemgrid-edit{
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1 / 4;
    background-color: transparent;
  } .itemgrid-edit:nth-child(1) p{
    font-weight: 500;
    letter-spacing: 1px;
    color: grey;
  } .itemgrid-edit:nth-child(2){
    grid-column: 1 / 2;
    grid-row: 2;
  } .itemgrid-edit:nth-child(3){
    grid-column: 2 / 3;
    grid-row: 2;
  } .itemgrid-edit:nth-child(4){
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
    grid-column: 3 / 4;
    grid-row: 2;
  }

  .check-edit{
    width: 25px;
    height: 25px;
  } .check-edit:hover{
    cursor: pointer;
  }

  .check-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: transparent;
    grid-row: 1 / 3;
  }

  .break{
    white-space: nowrap;
    display: inline-block;
  }

  .input-edit{
    border-left: 6px solid rgb(106, 90, 205);
    background-color: white !important;
    height: 40px;
    width: 100%;
    font-size: 14px;
  }

  .input-edit:focus{
    box-shadow: 0px 8px 16px -12px black;
    background-color: white;
  }

  .input-edit:valid{
    border-left: 6px solid #2ecc71; /* Verde - Green */
    box-shadow: 0px 8px 16px -12px black;
    background-color: white;
  }

  .update-info-disc{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
    text-align: justify;
    color: grey;
  }

/* EMPLOYEES */

  .employees-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    min-width: 340px;
    margin-top: 25px;
    background-color: transparent;
  }

  .employee-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #f7f9f9;
    padding: 12px;
  }

  .employees-edit-button{
    background-color: darkorange;
    font-weight: bold;
    color: white;
    padding: 6px;
    transition: 0.5s;
    border-radius: 6px;
    border: none;

    width: 80px;
    height: 35px;
    font-size: 14px;
  }

  .employees-edit-button:hover{
    cursor: pointer;
    background-color: rgb(106, 90, 205);
  }

/* SEARCH BY CUSTOMER */

  .customer-search-opt{
    display: grid;
    background-color: transparent;

    width: 100%;
    /*max-width: 2000px;
    min-width: 340px;*/
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 1fr);
  }

  .customer-search-opt div{
    background-color: transparent;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .customer-search-opt div:nth-child(2) .info-db-field, .customer-search-opt div:nth-child(4) .info-db-field{
    border: none;
  }

  .customer-div-search{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
  }

/* EDIT EMPLOYEE CSS */

  #edit-opt-container{
    width: 100%;
    max-width: 1200px;
    min-width: 340px;
    background-color: transparent;
  }

  .form-employee-edit{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
  }

  .grid-employee{
    display: grid;
    background-color: transparent;

    width: 100%;
    /*max-width: 2000px;
    min-width: 340px;*/
    border-radius: 6px;
    gap: 12px;

    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  .grid-employee div{
    background-color: transparent;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
  }

  .grid-employee div:nth-child(2) .info-db-field, .grid-employee div:nth-child(4) .info-db-field{
    border: none;
  }

/* SHOW LOGS CSS */

  .logs-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    min-width: 340px;
    margin-top: 25px;
    background-color: transparent;
  }

  .log-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-radius: 6px;
    background-color: #f7f9f9;
    padding: 12px;
  }

  .logs-info-disc{
    width: 100%;
    margin-top: 25px;
    max-width: 1200px;
    min-width: 340px;
    background-color: #f7f9f9; /* Default: #f7f9f9 */
    padding: 12px;
    border-radius: 6px;
    text-align: justify;
    color: grey;
  }

/* MAIL PREVIEW CSS */

  .color{color: rgb(106, 90, 205);}

  .parag-mail-div{
    display: flex;
    justify-self: center;
    align-items: center;
    flex-direction: column;

    width: 90%;
    background-color: transparent;

    max-width: 480px;
    min-width: 330px;
  }

  .parag-mail{
    text-align: justify;
    font-weight: 500;
  }

  .tech-div{
    padding: 12px;
    color: white;

    width: 100%;
    max-width: 480px;
    min-width: 330px;

    background-color: #2ecc71;
    border-radius: 6px;
  }

  .id-div{
    width: 100%;
    text-align: center;
    color: #2ecc71;
    padding: 6px;
    border-radius: 6px;
    background-color: white !important;
  }

/* CHANGE PASS CSS */

  .changePassButton{
    width: 100%;
    background-color: darkorange;
    font-weight: bold;
    color: white;
    text-align: center;

    height: 40px;
    transition: 0.5s;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
  }

  .changePassButton:hover{
    cursor: pointer;
    background-color: rgb(106, 90, 205);
  }

  .cancelButton{
    width: 100%;
    background-color: red;
    font-weight: bold;
    color: white;
    text-align: center;

    height: 40px;
    transition: 0.5s;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
  }

  .cancelButton:hover{
    cursor: pointer;
    background-color: darkred;
  }




















.errno{
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}



/* MEDIA QUERIES */
  @media screen and (max-width: 600px){
    .grid-uploadopt{
      grid-template-rows: repeat(8, 1fr);
    }

    .item-g10{
      grid-row: 7;
      grid-column: 1 / 4;
    }

    .item-g9{
      grid-row: 8;
    }
  }

  @media screen and (max-width: 480px){
    .global-header{
      padding: 0 20px 0 20px;
    }

    .logo-enterprise{
      width: 80px;
      height: 80px;
    }

    h1{font-weight: 700; font-size: 1.5rem;} /* 32px */
    h2{font-weight: 600; font-size: 1.125rem;} /* 24px */
    h3, label, a{font-weight: 500; font-size: 1rem;} /* 18px */
    p {font-weight: 400; font-size: 0.875rem;} /* 16px */
    /*p {font-weight: 400; font-size: 0.875rem;}*/ /* 14px */

    /* Date Field */
    .item-g9{ 
      grid-column: 1 / 3;
    }

    .imgSearch, .imgResend, .imgUpdate, .imgLog{
      width: 80px;
      height: 80px;
    }
  }