

#credit-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

p {
    text-align: center;
    display: block;
    font-weight: bold;
    margin-top: 5px;
    padding: 5px;
}

h3, h4 {
    color: #333;
    margin-bottom: 0.5em;
    text-align: center;
    
}

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

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-top: 5px;
}

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

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

input[type="submit"],
button {
    padding: 10px 20px;
    color: #fff;
    background-color: #6c5ce7;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2f00ff;
}

select {
    width: 100%;
}

#housing-type-other-text,
#employment-type-other-text,
#proof-income-other-text {
    display: none;
    margin-top: 10px;
}


/* Basic styles for the container */
#moto-options {
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Styles for each label */
#moto-options label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
}

#moto-options input[type="checkbox"] {
    margin-right: 10px; /* Increase the margin to add more space */
}

/* Hover effect for labels */
#moto-options label:hover {
    background-color: #f0f0f0;
}


input.invalid, select.invalid {
  border: 2px solid red !important;
}

