body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.credit-app {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    position: relative;
    margin-top: 40px;
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

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

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input, select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #218838;
}

.language-toggle {
    position: absolute;
    top: -30px;
    right: 0;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.language-toggle:hover {
    background-color: #0056b3;
}

/* Style for the checkbox and its label */
input[type="checkbox"] {
    margin-right: 5px;
}

#alternateIdGroup {
    display: none; /* Hidden by default */
}

.validation-message {
    color: #dc3545; /* Red color for error messages */
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.error {
    border: 1px solid #dc3545 !important; /* Red border for missing fields */
}