/* styles.css */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Light grey background */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body takes full viewport height */
}
.banner {
    width: 100%;
    overflow: hidden; /* Ensures the image doesn't spill out if it's larger than 5vh */
    display: flex; /* Use flex to center image if needed, though object-cover handles most */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}
.banner img {
    /* Tailwind classes w-full h-full object-cover are applied directly in HTML */
    /* This ensures the image fills the banner div while maintaining aspect ratio */
}
.form-container {
    flex-grow: 1; /* Allows the container to take up remaining vertical space */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    padding: 20px;
}
.form-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px; /* Rounded corners for the card */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* More pronounced shadow for the card */
    width: 100%;
    max-width: 500px; /* Max width for readability on larger screens */
    box-sizing: border-box; /* Include padding in width calculation */
}
.form-group {
    margin-bottom: 18px; /* Spacing between form groups */
}
label {
    display: block; /* Make labels block-level for better layout */
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
input[type="text"],
input[type="email"],
input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded input fields */
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.2s; /* Smooth transition for focus effect */
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: #4A90E2; /* Blue border on focus */
}
.radio-group {
    display: flex;
    flex-wrap: wrap; /* Allow radio buttons to wrap on smaller screens */
    gap: 15px; /* Space between radio options */
}
.radio-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    color: #555;
}
.radio-group input[type="radio"] {
    margin-right: 8px;
    accent-color: #4A90E2; /* Blue radio button color */
}
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s; /* Smooth transitions for hover/active states */
    border: none;
}
.btn-primary {
    background-color: #4A90E2;
    color: white;
}
.btn-primary:hover {
    background-color: #357ABD;
    transform: translateY(-1px); /* Slight lift effect on hover */
}
.btn-primary:disabled {
    background-color: #A0C8F5; /* Lighter blue when disabled */
    cursor: not-allowed;
}
.btn-secondary {
    background-color: #f0f0f0;
    color: #4A90E2;
    border: 1px solid #4A90E2; /* Blue border for secondary buttons */
}
.btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}
.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}
.message.success {
    background-color: #d4edda; /* Light green */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
}
.message.error {
    background-color: #f8d7da; /* Light red */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
}
.message.info { /* Added for informational messages like "Generating OTP..." */
    background-color: #d1ecf1; /* Light blue/cyan */
    color: #0c5460; /* Dark cyan text */
    border: 1px solid #bee5eb;
}
.email-otp-section {
    display: flex;
    gap: 10px; /* Space between email input and OTP button */
    align-items: flex-end; /* Align items to the bottom */
}
.email-otp-section input {
    flex-grow: 1; /* Allow input to take available space */
}
.otp-input-group {
    display: none; /* Hidden by default, shown when OTP is generated */
    margin-top: 15px;
}
.otp-input-group .email-otp-section {
    margin-top: 5px; /* Adjust spacing within OTP section */
}
.flex-grow {
    flex-grow: 1;
}
