.login-dialog {
    height: auto;
    border-radius: 17px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 121px 0px 121px 0px;
}

.card {
    height: auto;
    border-radius: 17px;
    background: #0f1638;
    padding: 50px;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-logo {
    width: 46px;
    height: 34px;
}

.login-title {
    height: 30px;
    margin-left: 26px;
    font-family: "Nord";
    font-weight: 700;
    line-height: 30px;
    color: #bed431;
    font-size: 25px;
}

.login-form {
    margin-top: 16px;
}

.form-control {
    background-color: #334060;
    color: #fff7eb;
    border: none;
    border-radius: 17px;
    width: 100%;
    height: 53px;
    margin-bottom: 20px;
    padding: 0 15px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 400;
    font-family: "Poppins";
}

.form-control::placeholder {
    width: 100%;
    color: #fff7eb;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 27px;
    font-weight: 400;
}

.form-control:focus,
.form-control:active {
    background-color: #596688;
    color: #fff7eb;
    outline: none;
    box-shadow: none;
}

.error-message {
    color: #f1673e;
    font-size: 10px;
    width: max-content;
    margin-bottom: 20px;
    margin-top: -10px;
}

.form-control.error {
    border: 1px solid #f1673e;
}

.form-actions {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-btn {
    flex: none;
    font-family: "Nord";
    font-size: 20px;
    height: 50px;
    background-color: #b4d7eb;
    border-radius: 17px;
    border: none;
    margin-right: 134px;
    font-weight: bold;
}

.forgot-password {
    flex: none;
    font-size: 15px;
    color: #fff7eb;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
}

@media (max-width: 768px) {
    .login-title {
        height: auto;
        font-size: 18px;
    }
    .login-dialog {
        display: block;
        margin: 50px 20px 50px 20px;
    }
    .form-control {
        width: 100%;
    }

    .form-actions {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
    }

    .login-btn {
        margin-right: 0;
        width: 100%;
    }

    .forgot-password {
        margin-top: 20px;
    }
}
