/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans Hebrew", sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafbfc;
}

.container {
    width: 100%;
    max-width: 1184px;
    max-height: 768px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 2rem;
    display: flex;
    overflow: visible;
    /* Allows images to extend beyond the container */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Left side - Login nuevo */
.login-side {
    flex: 1;
    padding: 2rem;
    position: relative;
    /* flex-direction: column; */
}

.logo {
    text-align: center;
    margin: 1rem 0 2rem;
}

.logo-img {
    width: 250px;
    height: auto;
}

/* Form styles */
.input-group {
    margin-bottom: 1.5rem;
}

/*botones*/
.input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 1.21875rem;
    padding-left: 3.5rem; /* Espacio para el icono de candado */
    padding-right: 3.5rem; /* Espacio para el botón del ojo */
    border: 1px solid #ddd;
    border-radius: 2.5rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: "General Sans", sans-serif;
    font-weight: 400;
    height: 70px;
}

.input-icon {
    position: absolute;
    left: 1.2rem; /* Ajusta la distancia del borde izquierdo */
    font-size: 1.8rem; /* Tamaño del icono */
    color: #b3b3b3;
}

.toggle-password {
    position: absolute;
    right: 1.2rem; /* Ajusta la distancia del borde derecho */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.eye-icon {
    width: 24px;
    height: 24px;
}

/*botones fin*/

.password-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    display: flex;

    justify-content: flex-end;
    /* Mueve el contenido a la derecha */
}

.forgot-link {
    color: #909090;
    text-decoration: none;
    font-size: 0.875rem;
    padding-top: 0.5rem;
    font-family: General Sans, sans-serif;
    font-weight: 500;
    /* Medium */
    font-style: medium;
    font-size: 17.7px;
}

.forgot-link:hover {
    color: #9dc742;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.875rem;
}

.password-input {
    position: relative;
}

input {
    width: 100%;
    padding: 1.21875rem;
    /*era 1*/
    border: 1px solid #ddd;
    border-radius: 2.5rem;
    font-size: 1.48rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: "General Sans", sans-serif;
    font-weight: 400;
    /* Regular */
    font-style: normal;
    /*max-height: 80px;*/
    height: 70px;
}

input:focus {
    border-color: #9dc742;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.login-button {
    width: 100%;
    padding: 0rem;
    background: linear-gradient(to right, #2d5c1e, #9dc742);
    color: white;
    border: none;
    border-radius: 2.5rem;
    font-weight: 600;
    font-size: 1.48rem;
    cursor: pointer;
    transition: opacity 0.2s;
    /*margin: 1.5rem 0;*/
    /*margin: 2.4375rem 0 1.8125rem 0;*/
    box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.5);
    /*max-height: 80px;*/
    height: 70px;
}

.login-button:hover {
    opacity: 0.9;
}

.register-text {
    text-align: center;
    color: #909090;
    font-size: 1.10625rem;
    font-family: General Sans, sans-serif;
    font-weight: 500;
    /* Medium */
    padding-top: 1.5rem;
    /* padding-bottom: 1.5rem; nuevo*/
    text-align: center;
}

.register-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.register-link:hover {
    color: #2d5c1e;
}

/* Right side - Promo */
.promo-side {
    flex: 1;
    background: linear-gradient(135deg, #2d5c1e, #9dc742);
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
    position: relative;
    border-radius: 0 2rem 2rem 0;
}

.promo-side .slogan {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-top: -1rem;
    margin-bottom: 0.2rem;
    max-width: 90%;
    opacity: 0.9;
}

.promo-side h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.app-preview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    margin-top: 0.3rem;
    /* Ajustado para mover las imágenes más abajo */
}

.app-preview img.phone {
    width: 90%;
    position: absolute;
    left: -18%;
    top: 15%;
    /* Ajustado para mover la imagen más abajo */
}

.app-preview img.tablet {
    width: 90%;
    position: absolute;
    right: -20%;
    top: 15%;
    /* Ajustado para mover la imagen más abajo */
}

/* Responsive design */
@media (max-width: 768px) {
    .card {
        flex-direction: column;
    }

    .promo-side {
        display: none;
    }

    .login-side {
        padding: 1.5rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

.login-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-family: "General Sans", sans-serif;
    src: url("\frontend-backend-be\public\fonts\GeneralSans_Complete\Fonts\WEB\fonts\GeneralSans-Semibold.woff2")
        format("woff2");
    font-weight: 600;
    font-style: normal;
}

.input-group label {
    color: #909090;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-Semibold.woff2")
        format("woff2");
    font-weight: 600;
    /*Semibold*/
    font-style: normal;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-Regular.woff2")
        format("woff2");
    font-weight: 400;
    /* Regular */
    font-style: normal;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-Medium.woff2")
        format("woff2");
    font-weight: 500;
    /* Medium */
    font-style: normal;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans_Complete/Fonts/WEB/fonts/GeneralSans-Bold.woff2")
        format("woff2");
    font-weight: 700;
    /* Bold */
    font-style: normal;
}

.control-text {
    font-family: "General Sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: white;
    /*font-size: 3.66875rem;*/
}

.finances-text {
    font-family: General Sans, sans-serif;
    font-weight: 500;
    font-style: normal;
    color: white;
    /*font-size: 3.66875rem;*/
}

.toggle-password {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    display: flex;
    align-items: center;
}

.eye-icon {
    width: 20px;
    /* Ajusta el tamaño según lo necesites */
    height: auto;
}

/* @media screen and (min-height: 700px) and (max-height: 800px)  */
@media screen and (min-width: 1280px) and (max-width: 1919px) {
    .container {
        width: 925px;
    }

    .login-side {
        height: 600px !important;
        padding: 2.5rem !important;
    }

    .logo-img {
        width: 180px !important;
    }

    .login-title,
    .text-center {
        font-size: 1.65rem !important;
    }

    input {
        height: 55px !important;
        font-size: 1.0625rem !important;
    }

    .login-button {
        height: 55px !important;
        font-size: 1.0625rem !important;
    }

    .register-text {
        font-size: 1rem !important;
    }

    .forgot-link {
        font-size: 1rem !important;
    }

    .promo-side h1 {
        font-size: 3rem !important;
    }
}

/*moviles pequeños*/
@media screen and (max-width: 480.9px) {
    .container {
        height: auto;
        width: 90%;
    }

    .login-side {
        height: auto;
        padding: 1.5rem !important;
    }

    .logo-img {
        width: 120px !important;
    }

    .login-title,
    .text-center {
        font-size: 1.2rem !important;
    }

    input {
        height: 45px !important;
        font-size: 0.875rem !important;
    }

    .login-button {
        height: 45px;
        font-size: 0.875rem !important;
    }

    .register-text,
    .forgot-link {
        font-size: 0.875rem !important;
    }

    .promo-side h1 {
        font-size: 2rem !important;
    }
}

/*moviles medianos*/
@media screen and (min-width: 481px) and (max-width: 767.9px) {
    .container {
        height: auto;
        width: 85%;
    }

    .login-side {
        height: auto;
        padding: 1.8rem;
    }

    .logo-img {
        width: 140px;
    }

    .login-title,
    .text-center {
        font-size: 1.4rem !important;
    }

    input {
        height: 50px !important;
        font-size: 1rem !important;
    }

    .login-button {
        height: 50px !important;
        font-size: 1rem !important;
    }

    .register-text,
    .forgot-link {
        font-size: 0.9375rem !important;
    }

    .promo-side h1 {
        font-size: 2.5rem !important;
    }
}

/*tablets pequeñas*/
@media screen and (min-width: 768px) and (max-width: 1023.9px) {
    .container {
        width: 750px !important;
    }

    .login-side {
        height: 550px !important;
        padding: 2rem !important;
    }

    .logo-img {
        width: 160px !important;
    }

    .login-title,
    .text-center {
        font-size: 1.5rem !important;
    }

    input {
        height: 52px !important;
        font-size: 1rem !important;
    }

    .login-button {
        height: 52px !important;
        font-size: 1rem !important;
    }

    .register-text,
    .forgot-link {
        font-size: 0.975rem !important;
    }

    .promo-side h1 {
        font-size: 2.75rem !important;
    }
}

/*tablets grande y laptops pequeñas*/
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .container {
        width: 850px !important;
    }

    .login-side {
        height: 575px !important;
        padding: 2.2rem !important;
    }

    .logo-img {
        width: 170px !important;
    }

    .login-title,
    .text-center {
        font-size: 1.6rem !important;
    }

    input {
        height: 54px !important;
        font-size: 1.025rem !important;
    }

    .login-button {
        height: 54px !important;
        font-size: 1.025rem !important;
    }

    .register-text,
    .forgot-link {
        font-size: 1rem !important;
    }

    .promo-side h1 {
        font-size: 2.85rem !important;
    }
}

/*pantallas a partir de 1920*/
@media screen and (min-width: 1920px) {
    .container {
        width: 1100px !important;
    }

    .login-side {
        height: 650px !important;
        padding: 3rem !important;
    }

    .logo-img {
        width: 200px !important;
    }

    .login-title,
    .text-center {
        font-size: 1.75rem !important;
    }

    input {
        height: 60px !important;
        font-size: 1.1rem !important;
    }

    .login-button {
        height: 60px !important;
        font-size: 1.1rem !important;
    }

    .register-text,
    .forgot-link {
        font-size: 1.05rem !important;
    }

    .promo-side h1 {
        font-size: 3.5rem !important;
    }
}

.text-center {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-family: "General Sans", sans-serif;
    src: url("\frontend-backend-be\public\fonts\GeneralSans_Complete\Fonts\WEB\fonts\GeneralSans-Semibold.woff2")
        format("woff2");
    font-weight: 600;
    font-style: normal;
}

/* Estilos específicos por ID */
#promo-reset {
    border-radius: 2rem 0 0 2rem; /* Cambia la forma si es necesario */
}
