.main-content {
  width: 100vw;
  height: 100vh;
  background-color: var(--primary);
  display: flex;
    
}
li {
    color: #FF616C;
}
.input-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.input-fieldset.has-error,
.input-fieldset.has-error:hover,
.input-fieldset.has-error:focus-within {
  border-color: #e74c3c;   /* rojo */
}
.container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
.login {
    display: flex;
    height: 100vh;
    width: 50%;
    flex: 0 0 50%;
    padding: 100px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.form {
    display: flex;
    max-width: 521px;  
    width: 100%;
    padding: 80px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1 0 0;
}
.img-login {
    position: relative;
    width: 50%;
    height: 100vh;
    overflow: hidden;
}

.img-login__image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 720px;
    min-height: 960px;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
}

.img-login__ambassadors {
    position: absolute;
    top: 32px;
    left: 50%;
    z-index: 2;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    transform: translateX(-50%);
    pointer-events: none;
}

.img-login__footer {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 0;
}

.img-login__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.img-login__dates {
    color: #DCD6AA;
    font-family: Antonio, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 7px;
    white-space: nowrap;
}

.img-login__location {
    color: #DCD6AA;
    font-family: Antonio, sans-serif;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 4.545px;
    white-space: nowrap;
}

.img-login__logo {
    flex-shrink: 0;
    margin-left: auto;
    width: 220.749px;
    height: 56.635px;
    max-width: none;
    max-height: none;
    object-fit: contain;
    pointer-events: none;
}
.title {
    color: #FFF;
    text-align: center;
    font-family: Antonio;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 48px */
}
.subtitle {
    color: #FFF;
    text-align: center;
    font-family: Outfit;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 28.8px */
}
.button {
    display: flex;
    height: 48px;
    padding: 14px 30px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 40px;
    background: #FFF;
    color: #131317;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 16px */
    border: none;
    cursor: pointer;
}

.input-fieldset {
    border: 1.5px solid #a4c639; /* Ajusta este color al verde de tu diseño */
    border-radius: 8px;
    padding: 0.2rem 1rem 0.6rem 1rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-fieldset legend {
    padding: 0 0.4rem;
    margin-left: 0;
}

.input-fieldset legend label {
    color: #FFF;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    cursor: pointer;
}

.input-fieldset input {
    width: 100%;
    background: transparent;
    border: none;
    color: #FFF;
    font-family: Outfit;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 16.8px */
    outline: none;
    padding: 0.2rem 0;
    box-sizing: border-box;
}

.input-fieldset input:-webkit-autofill,
.input-fieldset input:-webkit-autofill:hover,
.input-fieldset input:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFF;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 9999s ease-in-out 0s;
}

.input-fieldset:hover,
.input-fieldset:focus-within {
    border-color: #b8d94a;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .login {
        padding: 40px 24px;
    }
}

@media (max-width: 1000px) and (min-width: 769px) {
    .img-login__dates {
        font-size: 18px;
        letter-spacing: 5px;
    }

    .img-login__location {
        font-size: 7px;
        letter-spacing: 3.4px;
    }
}

@media (max-width: 768px) {
    .img-login {
        display: none;
    }

    .login {
        width: 100%;
        flex: 0 0 100%;
        padding: 40px 30px;
        justify-content: center;
    }
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-field input {
    padding-right: 2.5rem;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: none;
    background: transparent;
    color: #00000099;
    cursor: pointer;
}

.password-toggle__icon {
    display: block;
    width: 20px;
    height: 20px;
}

.password-toggle__icon--show {
    display: none;
}

.password-toggle__icon--hide {
    display: block;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--show {
    display: block;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--hide {
    display: none;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    cursor: pointer;
}

.terms-checkbox {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1.5px solid #FFF;
    border-radius: 3px;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}

.terms-checkbox:checked {
    border-color: #b8d94a;
    background-color: #a4c639;
}

.terms-checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4.5px;
    width: 5px;
    height: 10px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

.terms-checkbox:checked::after {
    opacity: 1;
}

.terms-checkbox:focus-visible {
    outline: 2px solid #FFF;
    outline-offset: 2px;
}

.terms-check__text {
    color: #FFF;
    font-family: Barlow, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.terms-check__link {
    color: #FFF;
    font-family: Barlow, sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
