/*  page1.css - Form Field Improvements */

body {
    font-family: Arial, sans-serif; /* Ensure consistent font */
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
	width: 200px;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.logo-text {
    color: #553c9a;
    font-size: 2.5em;
    margin-top: 0;
}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 75%;
    max-width: 1200px;
}

h1 {
    color: #00087A; /* Darker heading for sign up page */
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column; /* Stack form elements vertically */
    align-items: stretch; /* Make form elements stretch to container width */
}

.form-group {
    margin-bottom: 20px; /* Spacing between form groups */
}

.form-group label {
    display: block; /* Make labels take full width */
    margin-bottom: 8px; /* Spacing below label */
    color: #555; /* Slightly darker label text */
    font-weight: bold; /* Make labels a bit bolder */
}

.form-group input {
    padding: 12px; /* Padding inside input fields */
    border: 1px solid #ccc; /* Light grey border */
    border-radius: 25px; /* Slightly rounded input corners */
    font-size: 1em; /* Consistent font size */
    font-family: Arial, sans-serif; /* Ensure font consistency */
	width:95%;
}

.form-group input:focus {
    outline: none; /* Remove default focus outline */
    border-color: #00087A; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 8, 122, 0.5); /* Add a subtle focus shadow */
}


.error-message {
    background-color: #ffe0e0; /* Light red background for errors */
    color: #cc0000; /* Dark red error text */
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #cc0000; /* Red border for error box */
    display: none; /* Hidden by default, shown by JavaScript */
}


.button.signup-button.submit-button { /* Target the submit button on page1.html */
    background: linear-gradient(to right, #00087A, #7F00DB);
    border-radius: 25px;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px; /* Add some space above the button */
}

.button.signup-button.submit-button:hover {
    opacity: 0.9;
}
/* Overlay Image Styles */
.overlay-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}