body {
    font-family: sans-serif;
    margin: 20px;
    color: #333;
    background-color: #ffffff; /* Optional: Add a light background to the page */
}

.form-container {
    max-width: 800px;
    margin: 20px auto; /* Added top/bottom margin */
    border: 1px solid #ccc; /* Optional border around the whole form area */
    padding: 20px 30px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: Subtle shadow */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    width: 80px; /* Adjust size as needed */
    height: 80px;
    border: 1px solid #ccc;
    background-color: #f0f0f0; /* Placeholder color */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #888;
    margin-right: 20px;
    text-align: center; /* For placeholder text */
    flex-shrink: 0; /* Prevent logo from shrinking */
    /* If you have the actual logo image:
       background-image: url('path/to/your/logo.png');
       background-size: contain;
       background-repeat: no-repeat;
       background-position: center;
       border: none;
       background-color: transparent;
    */
}

.school-info h1 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif; /* Font similar to image */
    color: black; /* Explicitly set color */
}

.registration-title {
    border: 2px solid black;
    padding: 5px 10px;
    display: inline-block; /* To make border wrap text */
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px; /* Space below school name */
    color: black; /* Explicitly set color */
}

.photo-placeholder {
    width: 120px;
    height: 140px; /* Slightly taller than wide */
    border: 2px solid black;
    border-radius: 10px; /* Rounded corners */
    background-color: #fff; /* White background */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #aaa;
    flex-shrink: 0; /* Prevent placeholder from shrinking */
    margin-left: 20px; /* Add some space */
}

h2.section-title {
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 16px;
    color: black; /* Explicitly set color */
}

.form-section {
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    align-items: baseline; /* Align label text with input baseline */
    margin-bottom: 12px;
}

.form-row label {
    flex: 0 0 200px; /* Fixed width for labels */
    font-weight: bold;
    padding-right: 10px;
    font-size: 14px;
    text-align: left;
    color: black; /* Explicitly set color */
}

.form-row input[type="text"],
.form-row input[type="date"],
.form-row input[type="tel"] {
    flex-grow: 1; /* Input takes remaining space */
    border: none;
    border-bottom: 1px solid black;
    padding: 5px 2px; /* Adjusted padding */
    font-size: 14px;
    background-color: transparent; /* Ensure no background color interferes */
    line-height: normal; /* Ensure consistent line height */
    width: 100%; /* Ensure it takes up available space within flex container */
    box-sizing: border-box; /* Include padding/border in width */
}

.form-row input:focus {
    outline: none; /* Remove focus outline */
    border-bottom: 1.5px solid #555; /* Slightly thicker border on focus */
}

/* Specific width adjustments if needed */
label[for="s_lga"],
label[for="p_lga"] {
   flex-basis: 250px; /* Give more space for longer labels */
}

/* Optional: Style for the submit button if you uncomment it */
/*
button[type="submit"] {
    padding: 10px 25px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #45a049;
}
*/