body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.online-message, .oncallbanner {
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
}

.online-message {
    background-color: #DFF0D8;
    color: #3C763D;
    border: 1px solid #D6E9C6;
    border-radius: 4px;
}

.form-input2{
    width: 97%; /* Ensure all inputs take the full width of their container */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.oncallbanner {
    background-color: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
    border-radius: 4px;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media  screen and (max-width: 600px) {
    .form-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: calc(100vh - 300px); /* Subtracting the space taken by messages */
    }
}
    


.form-card {
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 600px; /* Set a fixed width for the form. Adjust this value as needed. */
    text-align: center; /* Centering elements within the card */
    position: relative;
    top: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input, select.form-input, textarea.form-input {
    width: 100%; /* Ensure all inputs take the full width of their container */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #007BFF;
    outline: none;
}

.form-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: #0056b3;
}

@media only screen and (max-width: 600px) {
    .form-card {
        background-color: #fff;
        padding: 50px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        width: 275px; /* Set a fixed width for the form. Adjust this value as needed. */
        text-align: center; /* Centering elements within the card */
        top: 95px;
        position: relative;
    }
  }