/**
 * Tracool Customer Popup CSS
 * version: 1.1.0
 * 
 * Styles for the customer popup
 * Auteur: Tracool-software
 */

.tc-popup {
  position: absolute;
  left: 0;
  z-index: 9999;
  top: 30px;
  width: 100vw;
  max-width: 100vw;
  height: fit-content;
  background: rgba(145, 150, 138, 0.774);
}

.tc-popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: min(90%, 600px);
  border-radius: 10px;
  position: relative;
}

span.tc-popup-close {
  position: absolute;
  right: 25px;
  top: 0;
  font-size: 64px;
  cursor: pointer;
}


.tc-popup-button {
  background-color: #0073aa;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}


#tc_b2b_update_client {
  margin-left: 10px;
  background-color: #14b967;
}
.tc-popup-section {
    margin-bottom: 2em;
}

.tc-popup-section h3 {
  grid-column: 2;
  margin-bottom: 1em;
}

.tc-popup-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px 20px;
  align-items: center;
  max-width: 600px;
}

.tc-popup-grid label {
  grid-column: 1;
  text-align: right;
  padding-right: 10px;
}

.tc-popup-grid input, .tc-popup-grid select {
  grid-column: 2;
  width: 100%;
  padding: 5px;
  box-sizing: border-box;
  font-size: inherit;
}


.tc-popup-grid p {
  display: contents;
}

.tc-popup-grid button {
  grid-column: 2;
  justify-self: start;
}

p.tc-col-2 {
  display: flex;
  grid-column: 2;
}

.tc-message {
    color: red;
    font-size: 200%;
    text-align: center;
    font-weight: bold;
    background-color: rgb(255, 255, 255, 0.7);
}

#search_company {
  font-size: inherit;
  width: 100%;
}

#company_results {
  display:none; 
  margin-right: 20px;
  border:1px solid #ccc; 
  max-height:50%; 
  overflow:auto; 
  position:absolute; z-index:9999;
  background: aliceblue;
}

#prelevement {
  width: fit-content;
  transform: scale(1.5);
}