.form-container {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.form-container h1 {
    margin-bottom: 20px;
}

.form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
}

.form-group span {
    color: red;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    margin-bottom: 10px;
}

#apartment {
    margin-top: 10px;
}

.form-row .form-group {
    margin-right: 10px;
}

.form-row .form-group:last-child {
    margin-right: 0;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #666;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #555;
}

.signup-redirect {
    margin-top: 20px;
}

.signup-redirect p {
    margin: 0;
}

.signup-redirect a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.signup-redirect a:hover {
    text-decoration: underline;
}

.login-redirect {
    margin-top: 20px;
}

.login-redirect p {
    margin: 0;
}

.login-redirect a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.login-redirect a:hover {
    text-decoration: underline;
}

.forgot-password {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}
