


.form-container { 
    max-width: 800px; 
    margin: auto; 
    background: white; 
    padding: 40px; 
    border-radius: 8px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

/* Expanded inputs and textareas */
input[type="text"], input[type="email"], input[type="url"], select, textarea { 
    flex: 1; /* Input expands to fill remaining space */
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; /* Crucial: includes padding in width calculation */
    font-size: 16px;
}

.form-group.textarea-group {
    align-items: flex-start;
}

.form-group.textarea-group label {
    margin-top: 10px;
}

/* Specialty handling for checkbox group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-left: 215px; /* Alignment with input field start */
    margin-bottom: 18px;
}



/* Find and update these specific lines */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-left: 0; /* Changed from 215px to 0 for better default behavior */
    padding-left: 215px; /* Use padding instead, which we can reset easily */
    margin-bottom: 18px;
}







.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input {
    margin-right: 8px;
}

button.submit-btn { 
    background: #1D457B; 
    color: white; 
    padding: 15px 30px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    width: 100%; 
    font-size: 18px; 
    font-weight: bold;
    margin-top: 30px;
    transition: background 0.3s;
}

button.submit-btn:hover { 
    background: #3498db; 
}

/* Captcha centering */
.captcha-wrapper { 
    margin: 20px 0 20px 215px; 
}

/* Responsive scaling */
@media (max-width: 768px) {
    /*.form-group { flex-direction: column; align-items: flex-start; }
    label { flex: none; width: 100%; text-align: left; margin-bottom: 5px; }
    .checkbox-group { margin-left: 0; }*/





    .checkbox-group {
        padding-left: 0 !important;
        justify-content: flex-start;
    }
    
    .form-container {
        padding: 20px; /* Reduce padding on mobile */
    }
}

/* Fixed width for labels */
.lable1 { 
    flex: 0 0 200px; /* Label column is 200px wide */
    font-weight: bold; 
    color: #555;
    margin-right: 15px;
    text-align: right; /* Align text to the right for neat appearance */
}