:root{
  --spacing: .25rem;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #00ffff1a;
 
}

.custom-header::before {
  content: '';
  width: 1px;
  height: 50px;
  background-color: blue;
  margin-left: 10px;
  margin-right: 10px;
}

.custom-header-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #00ffff1a;
  border: 1px solid blue;
  border-radius: 5px;

}


@media screen and (max-width: 1280px) {
  .avatar-company {
   display: flex;
   justify-content: end;
   max-width: 52%;
  }

 
} 

@media screen and (min-width: 1281px) {
  .avatar-company {
    display: flex;
    justify-content: flex-end;
    max-width: 52%;
  }
}

@media screen and (max-width: 1280px) {
  .avatar-registration {
    margin-left: 46px;
     }
 
} 

 
@media screen and (min-width: 1281px) {
  .avatar-registration {
 margin-left: 46px;
  }
}


 /***********************************************
 ***UPLOAD***************************************
 ***********************************************/
.popup-uploading-file {
  position: fixed;
  bottom: 0;
  right: 20px;
  background: white;
  width: 420px;
  max-height: 180px;
  border-radius: 18px 18px 0 0;
  z-index: 10000;
  flex-direction: column;
  padding: 8px 0;
  box-shadow: 0px 1px 4px rgb(0 0 0 / 30%);
  box-sizing: border-box;
  overflow: hidden;
  transition: all ease 0.4s;
}

.popup-uploading-file.full-screen {
  bottom: 0;
  right: 0;
  height: 100vh;
  max-height: 100vh;
  width: 100%;
  box-sizing: border-box;
}

.float-upload {
  position: fixed;
  bottom: 20px;
  right: 50px;
  height: 60px;
  z-index: 5000;
  width: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  background-color: #2196f3;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

.ql-container.ql-snow{
  flex: 1 1 auto;
}

.format-textarea:focus{
  outline: none;
}

.swal2-container{
  z-index: 500000000!important;
}

.MuiFormLabel-root.Mui-focused{
  background-color: white!important;
  padding: 5px!important;
}

.item-modal-cash-register{
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: #0000004f 0px 0px 6px;
  cursor: pointer;
  transition: all ease .4s;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
}

.item-modal-cash-register.active,
.item-modal-cash-register:hover{
  background-color: rgb(6, 202, 6);
  border: 1px solid rgba(6, 202, 6, 0.1);
  box-shadow: rgb(6, 202, 6) 0px 0px 6px;
  font-weight: bold;
  color: white;
}

.payment-method-item{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgb(233, 233, 233);
  color: #1e88e5;
  transition: all ease .3s;
  border-radius: 10px;
}

.payment-method-item.active,
.payment-method-item:hover{
  background-color: #1e88e5;
  color: rgb(233, 233, 233);
}

.payment-method-item.payment-method-item-not-allow{
  background: rgb(233, 233, 233)!important;
  color: #1e88e5!important;
  filter: grayscale(.8);
  cursor: auto!important;
}

.ql-align-center{
  text-align: center;
  padding: 0;
  margin: 0;
}

.box-date-full-width>div,
.box-date-full-width>div>.MuiFormControl-root{
  width: 100%;
}

.box-date-full-width>div .MuiInputBase-root{
  position: relative;
}

.box-date-full-width>div .MuiInputAdornment-root{
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.box-date-full-width>div .MuiInputAdornment-root,
.box-date-full-width>div .MuiInputAdornment-root>button{
  height: 100%;
  width: 100%;
}

.ql-font-roboto {
  font-family: 'Roboto', sans-serif;
}

.link:hover{
  text-decoration: underline;
}

.visor-image .slider-wrapper.axis-horizontal{
  height: 100%!important;
}

.base-Popper-root{
  z-index: 50000000000000000;
}






.invoice-container {
  width: 21cm;
  height: 29.7cm;
  margin: 0 auto;
  padding: 2cm;
  font-family: Arial, sans-serif;
}

.invoice-page {
  position: relative;
  page-break-after: always;
}

.invoice-footer {
  margin-top: 2cm;
  font-size: 0.8rem;
  text-align: center;
  color: #888;
}

.invoice-footer p {
  margin: 0;
}

.link-a{
  color: rgba(37,99,235,1);
}

.link-a:hover{
  text-decoration: underline;
}

@media print {
  .invoice-container {
    width: 21.59cm; /* Ancho para impresión */
    height: 27.94cm; /* Alto para impresión */
    page-break-after: always; /* Rompe la página después de cada factura */
  }
}

.react-datepicker__year-text{
  width: 100%!important;
  padding: 5px!important;
}

.invoice-fonts{
  font-family: Arial!important;
}

.invoice-fonts p{
  padding: 0;
  margin: 5px;
}

.hidden{
  overflow: hidden!important;
}