/* ==========================================
   NEPA Mobile App Request Form
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#edf3fb;
    font-family:Arial,"Noto Sans Devanagari",sans-serif;
    color:#222;
    padding:30px;
}

.form-page{
    max-width:1100px;
    margin:auto;
    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 15px 50px rgba(0,0,0,.12);
}

.form-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    border-bottom:4px solid #0d4ea6;
    padding-bottom:20px;
    margin-bottom:30px;
}

.form-header h1{
    color:#0d4ea6;
    font-size:34px;
    margin-bottom:8px;
}

.form-header p{
    color:#e3003b;
    font-size:22px;
    font-weight:bold;
}

.photo-box{
    width:140px;
    height:170px;
    border:2px dashed #0d4ea6;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    text-align:center;
    background:#fafafa;
}

.photo-box span{
    color:#666;
}

.photo-box input{
    display:none;
}

.photo-box img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.top-info{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:30px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

section{
    margin-top:35px;
}

section h2{
    background:#0d4ea6;
    color:#fff;
    padding:12px 18px;
    border-radius:8px;
    margin-bottom:18px;
    font-size:22px;
}

label{
    display:block;
    font-weight:700;
}

input,
textarea,
select{
    width:100%;
    margin-top:6px;
    padding:12px;
    border:1px solid #ccd6e5;
    border-radius:8px;
    font-size:15px;
    background:#fff;
}

textarea{
    resize:vertical;
}

.checkbox-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-bottom:20px;
}

.checkbox-grid label{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    background:#f8fbff;
    border:1px solid #d7e2f2;
    padding:12px;
    border-radius:8px;
}

.checkbox-grid input{
    width:auto;
    margin:0;
}

.full{
    display:block;
    margin-top:15px;
}

.declaration{
    background:#fff9ea;
    border-left:5px solid #ff9800;
    padding:18px;
    line-height:1.8;
    border-radius:6px;
}

.agree{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
}

.agree input{
    width:auto;
}

.actions{
    display:flex;
    gap:15px;
    justify-content:center;
    margin-top:40px;
}

.actions button,
.actions a{
    text-decoration:none;
    background:#0d4ea6;
    color:#fff;
    border:none;
    padding:14px 28px;
    border-radius:8px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.actions button[type=submit]{
    background:#e3003b;
}

.actions a{
    display:inline-flex;
    align-items:center;
}

.actions button:hover,
.actions a:hover{
    opacity:.9;
}

@media(max-width:900px){

.grid,
.top-info,
.checkbox-grid{
    grid-template-columns:1fr;
}

.form-header{
    flex-direction:column;
}

.photo-box{
    margin:auto;
}

}

@media print{

body{
    background:#fff;
    padding:0;
}

.form-page{
    box-shadow:none;
    border-radius:0;
    max-width:100%;
}

.actions{
    display:none;
}

}