body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px; /* Increased width */
    margin: 50px auto; /* Centered on the page */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    max-width: 100px;
    height: auto;
}

h2 {
    text-align: center;
    color: #333;
}

form {
    margin-top: 20px;
}

.row {
    display: flex;
    margin-bottom: 10px;
}

.col {
    flex: 1;
    margin-right: 10px;
    margin-bottom: 10px; /* Margin between rows */
}

.col:last-child {
    margin-right: 0;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
select,
input[type="checkbox"] {
    width: 100%; /* Full width */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

select {
    appearance: none; /* Remove default arrow in select boxes */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    padding-right: 30px; /* Adjust based on the width of the arrow icon */
}

input[type="checkbox"] {
    width: auto; /* Make checkbox width auto */
    margin-right: 10px; /* Space between checkbox and label */
    vertical-align: middle;
}

.btn-blue {
    display: block;
    margin: 0 auto; /* Center the button */
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 50%; /* Set width of the button */
}

.btn-blue:hover {
    background-color: #0056b3;
}

.toggle-password {
    cursor: pointer;
    color: #007bff;
    font-size: 12px;
    margin-left: 5px;
}

.signin-link {
    text-align: center;
    margin-top: 20px;
}

.signin-link a {
    color: #007bff;
    text-decoration: none;
}

.signin-link a:hover {
    text-decoration: underline;
}

.invalid {
    border-color: #ff0000; /* Red border for invalid fields */
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
