/* Style the modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;

}
/* Center the modal vertically and horizontally */
.modal-dialog {
    /* background-color: white; */
    width: 70%;
    max-width:auto; /* Adjust the maximum width as needed to minimize the size */
    margin: 30px auto; /* Center the modal on the page */
}

/* Style the modal content */
.modal-content {
    border: none;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Style the modal header */
.modal-header {
    background-color: #4CAF50;
    color: white;
    
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 50px;
}


.modal-title {
    font-size: 20px;
   padding-top: 5px;
    text-align: center;
}
 .close{
    margin-left: 650px;
   transform:translateY(-27px);
 }

/* Style the modal body */
.modal-body {
    max-height: 60vh; /* Set a maximum height for the modal body */
    overflow-y: auto; /* Add a vertical scroll bar if the content exceeds the height */

    /* Reduce padding to fit more content within the modal */
    padding: 10px;
}

/* Style the forms inside the modal */
#loginForm{
    padding: 20px;
}

#registerForm{
    padding: 20px;
}

.firstlastName{
    width: 100%;
    height: 30px;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}


/* Style form labels and inputs */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -10px;
    margin-bottom: 10px; /* Add this to handle spacing between columns */
}

.input-group {
    flex: 1;
    padding: 0 10px; /* Add this to handle spacing between columns */
}

/* Style form labels and inputs */
/* Style all form inputs and select tags */
#loginForm 
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"] {
    width: 100%;
    height: 30px; /* Reduce the height of form elements */
    padding: 5px; /* Reduce padding for smaller form elements */
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

/* Style form labels */
label {
    font-weight: bold;
}

/* Style form buttons */
.btn {
    margin-top: 10px;
}

/* Style the secondary buttons */
.btn-secondary {
    background-color: #777;
}

/* Style form errors */
.text-danger {
    color: red;
}

/* Center text in the registration response message */
#registrationResponseMessage {
    text-align: center;
}

/* Style the registration response message text */
#registrationResponseMessage.text-danger {
    color: red;
    font-size: 16px;
}


/* Add media queries for responsiveness (adjust as needed) */
@media (max-width: 768px) {
    .modal-dialog {
        width: 90%;
    }
}
.close-btn {
    color: #fff; /* Text color */
    background-color: #28a745; /* Background color for success */
    font-size: 16px;
    padding: 8px 12px; /* Add padding for better button appearance */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    margin: 10px;
    margin-left: 380px;
}

.close-btn:hover {
    background-color: #218838; /* Darker shade of green on hover */
}
#goToLogin {
    margin-left: 10px;
    background-color: transparent; /* Remove background color */
    color: #007bff; /* Set text color to blue */
}
#goToReg {
    margin-left: 10px;
    background-color: transparent; /* Remove background color */
    color: #007bff; /* Set text color to blue */
}
.submit-button {
    background-color: #007bff; /* Blue background color */
    color: #fff; /* Text color */
    padding: 6px 18px; /* Add padding for better button appearance */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}

.submit-button:hover {
    background-color: #0056b3; /* Darker shade of blue on hover */
}
textarea{
    width: 100%;
    height: 70pxpx; /* Reduce the height of form elements */
   
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}
select{
    width: 100%;
    height: 30px; /* Reduce the height of form elements */
    padding: 5px; /* Reduce padding for smaller form elements */
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.col-md-6{
    width: 42%;

}
.col-md-12{
    margin-top: 10px;
    width: 100%;

}