*{box-sizing:border-box}
body{
font-family:'Poppins',sans-serif; 
background:#f4f6fb;
margin:0;
padding:40px;
}

.container{
max-width:900px;
margin:auto;
}

.form-card{
background:#fff;
padding:10px 30px 30px 30px;
border-radius:8px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.logo{display:inline-block;   width:104%; margin-bottom: 30px;    border-bottom: 5px solid #6082bd;}
.logo img{width:auto; height:80px;}
h2{    font-weight: 400;
text-align:center;
margin-bottom:30px;
background: #3f6dbb;
color: #fff;
line-height: 70px;
border-radius: 20px 20px 0 0 ;
}

.section-title{
margin-top:25px;
font-weight:bold;
color:#444;
border-bottom:2px solid #eee;
padding-bottom:5px;
}

.grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.grid.dob{grid-template-columns:0.7fr 1fr 1.3fr 1fr;}
.grid.dob label{padding-top: 8px; text-align: center;}

select.form-error{padding-right:0px}

.full{
grid-column:1/3;
}

input, textarea, select{

width:100%;
padding:10px;
border:1px solid #85a6cd;
border-radius:4px;
font-size:14px;

}

textarea{
height:70px;
}
.button_area{width:100%; text-align:right; display:inline-block}
button{

background:#0073aa;
color:#fff;
border:none;
padding:14px;
width:100%;
font-size:16px;
margin-top:20px;
border-radius:4px;
cursor:pointer;

}

button:hover{
background:#005f8d;
}

.success{
color:green;
text-align:right;
margin-top:30px;
}

.form-error{
border:1px solid #e74c3c !important;
}

.error-text{
color:#e74c3c;
font-size:12px;
margin-top:2px;
display:block;
}

input:focus, textarea:focus, select:focus{
border-color:#0073aa;
outline:none;
box-shadow:0 0 3px rgba(0,115,170,0.4);
}

.field-wrap{
position:relative;
}

.error-text{
position:absolute;
right:10px;
top:50%;
transform:translateY(-50%);
color:#e74c3c;
font-size:12px;
pointer-events:none;
}

.form-error{
border:1px solid #e74c3c !important;
padding-right:80px;
}


.same_as{display:inline-block; width:auto;float: right;}
.same_as input[type="checkbox"]{display: inline-block;    vertical-align: middle;    width: auto;}







@media(max-width:700px){

    .grid{    grid-template-columns:1fr;    }
    .full{    grid-column:1;    }
    .button_area button{width:100%}
    .grid.logo_div{gap:0px}
    .logo_div .logo{margin-bottom:0px;width:100%; border-bottom:none}
    .logo img{width:100%; height:auto; margin-bottom:10px;}
    .logo_div h2{margin-top:0px; font-size:16px;line-height: 38px;        margin-bottom: 10px;}
    .same_as {        display: inline-block;        width: 100%;        float: none;    }
    .grid.dob{    display:grid;    grid-template-columns: repeat(1, 0.7fr 1.3fr 1fr);    gap:10px;    }
    .grid.dob label{    grid-column: 1 / -1;padding-top:0px;    }
    .grid.dob select{padding-left:0px; padding-right:0px}
    

}