.app-body {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 2fr 3fr;
}

.logo-side {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #050643;
}

.login-logo {
    width: 300px;
    margin: auto;
}

.form-side {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 450px;
    gap: 20px;
    background-color: #ffffff;
    padding: 30px;
    box-sizing: border-box;
}

input[type="email"],
input[type="password"],
.password-container>button {
    width: 100%;
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.see-password-button {
    padding-top: 6px;
}

.see-password-button.red svg {
    stroke: red;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #FE185B;
    box-shadow: 0 0 0 2px rgba(254, 24, 91, 0.2);
    outline: none;
}

.forgot-password {
    color: #FE185B;
    text-decoration: none;
    align-self: flex-end;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #d1134b;
    text-decoration: underline;
}

button {
    width: 100%;
    padding: 12px 20px;
    background-color: #FE185B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

.popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.name-email {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.name-email h2 {
    margin-bottom: 15px;
    color: #FE185B;
    font-size: 24px;
}

.name-email span {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.password-container {
    display: grid;
    grid-template-columns: 78% 18%;
    grid-gap: 4%;
    width: 100%;
}

.password-container input[type="password"],
.password-container input[type="text"] {
    border: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.password-container input[type="password"]:focus,
.password-container input[type="text"]:focus {
    border-color: #FE185B;
    box-shadow: 0 0 0 2px rgba(254, 24, 91, 0.2);
    outline: none;
}

.password-container button {
    background: none;
    cursor: pointer;
}

.popup-form button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    background-color: #FE185B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.popup-form button[type="submit"]:hover {
    background-color: #d1134b;
}

.close-popup {
    font-size: 24px;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #FE185B;
}

.forgot-button {
    background: none;
    border: none;
    color: #FE185B;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    align-self: flex-end;
    transition: color 0.3s ease;
}

.forgot-button:hover {
    color: #d1134b;
    text-decoration: underline;
}

.error-message {
    color: #ff3860;
    padding: 10px 0;
    font-size: 14px;
}

.error-messages {
    color: #ff3860;
    margin-top: 15px;
    font-size: 14px;
    width: 100%;
}

.error-messages ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.error-messages li {
    margin-bottom: 5px;
}

@media (max-width: 480px) {
    .app-body {
        padding: 20px;
    }

    form,
    .popup-form {
        width: 100%;
        max-width: none;
        padding: 20px;
    }
}