@font-face {
    font-family: 'Freigeist';
    src: url('../../fonts/freigeist-widemedium.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'AvenirRegular';
    src: url('../../fonts/AvenirNextLTPro-Regular.otf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



body {
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #d4c0a1;
    flex-direction: column;
    font-family: 'AvenirRegular'; 
}

h1 { 
    font-family: 'Inter' !important; 
    font-size: 45px; 
    margin-bottom: 10px; 
    color: #000;
    font-weight: 700;
    
}
h4 {
    font-size: 20px;
    font-weight: normal;
}

p { 
    font-size: 20px; 
    color: #555; 
    margin-bottom: 20px; 
}


input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px 10px;
    border: 1px solid #ccc;
    
    font-size: 14px;
}

button {
    padding: 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
    font-family: 'Freigeist';
}

button:hover { background-color: #333; }

.header{
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.header img{
    position: absolute;
    left: 0;
    margin-left: 3rem;
}

.header .logo{
    filter: invert(1);
    margin-bottom: 20px;
}


.header .logo img { 
    width: 60px; 
}

#loader {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999999;
  height: 100%;
  width: 100%;
}


#loader img{
  position: fixed;
  height: 10em;
  width: 10em;
  overflow: show;
  z-index: 99999999;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.go-link { margin-top: 20px; font-size: 18px; color: #222; }
.go-link a { text-decoration: none; color: #222; font-size: 18px; }
.go-link a:hover { text-decoration: underline; }

.register-link{
    font-family: 'Inter' !important;
    
}

/* --- Estilos para password con icono --- */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 2.5rem; /* espacio para el icono */
    padding: 10px 10px;
}

.password-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 1.1rem;
}

        
.select2-container--default .select2-selection--single {
    height: 42px !important;
    font-size: 13px !important;
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 42px !important;
}


.select2-selection__rendered{
    height: 42px !important;
}

.select2-results__option{
    font-size: 13px !important;
}

.select2-selection__arrow{
    margin-top: 5px !important;
    font-size: 20px !important;
}



.title-group{
    font-size: 14px !important;
}

.label-form{
    background-color: black;
    height: 100%;
    color: white;
    display: flex;
    align-items: center;
    padding: 0px 10px;
    width: 100%;
}

label.error {
font-size: 11px;
  position: relative;
  background-color: #BD3113;
  padding: 0.18em 0.4em;
  color: white;
  border-radius: 2px;
  display: inline-block;
}

/* puntita */
label.error::before {
  content: "";
  position: absolute;
  top: -6px;           /* sube la punta */
  right: 8px;           /* posición horizontal */
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #BD3113;
}

input.error{
  background-color: #FCF2F0 !important;
  color: black !important;
}

textarea.error{
  background-color: #FCF2F0 !important;
  color: black !important;
}

@media (max-width: 576px) {
    .label-form{
        background-color: transparent;
        color: black;
        padding: 0px 0px;
    }
}



.acuerdo-uso-datos{
    text-align:justify;
    font-size: 14px;
}


.ui-checkbox {
  --primary-color: #595959;
  --secondary-color: #fff;
  --primary-hover-color: #4096ff;
  /* checkbox */
  --checkbox-diameter: 20px;
  --checkbox-border-radius: 0px;
  --checkbox-border-color: #d9d9d9;
  --checkbox-border-width: 1px;
  --checkbox-border-style: solid;
  /* checkmark */
  --checkmark-size: 1.2;
}

.ui-checkbox, 
.ui-checkbox *, 
.ui-checkbox *::before, 
.ui-checkbox *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ui-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--checkbox-diameter);
  height: var(--checkbox-diameter);
  border-radius: var(--checkbox-border-radius);
  background: var(--secondary-color);
  border: var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.ui-checkbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
  box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
  border-radius: inherit;
  opacity: 0;
  -webkit-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  -o-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.ui-checkbox::before {
  top: 40%;
  left: 50%;
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  -ms-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
  -o-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
}

/* actions */

.ui-checkbox:hover {
  border-color: var(--primary-color);
}

.ui-checkbox:checked {
  background: var(--primary-color);
  border-color: transparent;
}

.ui-checkbox:checked::before {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  -ms-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  -o-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}

.ui-checkbox:active:not(:checked)::after {
  -webkit-transition: none;
  -o-transition: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: none;
  opacity: 1;
}




.footer{
    text-align: center;
}

.footer a{
    text-decoration: none;
}

.footer p{
    font-family: 'AvenirRegular';
    color: black;
    margin: 0px;
    padding: 0px;
    font-size: 15px !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.75rem !important;
}

.footer .red-social {
    max-height: 30px;
    padding-right: 20px;
}

