*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter', sans-serif;
    background:#edf2f7;
    color:#1e293b;
    padding:40px 20px;
}

/* PAGE WRAPPER */

.page-wrapper{
    max-width:1400px;
    margin:auto;
}

/* TOP BANNER */

.top-banner{
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:white;
    border-radius:24px;
    padding:35px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

.top-banner h1{
    font-size:34px;
    font-weight:800;
    margin-bottom:8px;
}

.top-banner p{
    opacity:0.9;
    font-size:15px;
}

.secure-badge{
    background:rgba(255,255,255,0.15);
    padding:12px 22px;
    border-radius:50px;
    font-weight:600;
    backdrop-filter:blur(10px);
}

/* FORM CONTAINER */

.form-container{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:30px;
}

/* SIDEBAR */

.form-sidebar{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-sidebar h2{
    font-size:24px;
    font-weight:700;
}

.sidebar-card{
    background:white;
    padding:25px;
    border-radius:22px;
    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.sidebar-card h3{
    margin-bottom:15px;
    color:#0f172a;
}

.sidebar-card ul{
    padding-left:20px;
    display:flex;
    flex-direction:column;
    gap:12px;
    color:#475569;
}

.sidebar-card.blue{
    background:#dbeafe;
    color:#1e3a8a;
}

/* FORM CONTENT */

.form-content{
    background:white;
    border-radius:24px;
    padding:40px;
    box-shadow:0 10px 35px rgba(0,0,0,0.05);
}

.form-header{
    margin-bottom:35px;
}

.form-header h2{
    font-size:32px;
    margin-bottom:10px;
    color:#0f172a;
}

.form-header p{
    color:#64748b;
}

/* SECTION TITLE */

.section-title{
    font-size:18px;
    font-weight:700;
    margin:35px 0 20px;
    padding-bottom:12px;
    border-bottom:2px solid #e2e8f0;
    color:#0f172a;
}

/* GRID */

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

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

/* FORM GROUP */

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group label{
    margin-bottom:10px;
    font-size:14px;
    font-weight:600;
    color:#334155;
}

/* INPUTS */

.form-group input,
.form-group textarea{
    border:1px solid #cbd5e1;
    border-radius:14px;
    padding:15px 18px;
    font-size:15px;
    transition:0.3s ease;
    background:#f8fafc;
    color:#0f172a;
}

.form-group textarea{
    min-height:120px;
    resize:vertical;
}

.form-group input:focus,
.form-group textarea:focus{
    outline:none;
    border-color:#2563eb;
    background:white;
    box-shadow:0 0 0 5px rgba(37,99,235,0.12);
}

/* PHOTO UPLOAD */

.photo-upload-wrapper{
    width:100%;
}

.photo-upload-card{
    border:2px dashed #cbd5e1;
    border-radius:24px;
    background:#f8fafc;
    min-height:260px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:0.3s ease;
    padding:30px;
    text-align:center;
}

.photo-upload-card:hover{
    border-color:#2563eb;
    background:#eff6ff;
}

.photo-preview{
    width:140px;
    height:140px;
    object-fit:cover;
    border-radius:20px;
    margin-bottom:20px;
    border:5px solid white;
    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.upload-content h3{
    font-size:20px;
    margin-bottom:10px;
    color:#0f172a;
}

.upload-content p{
    color:#64748b;
    margin-bottom:15px;
}

.upload-badge{
    background:#2563eb;
    color:white;
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

/* SIGNATURE */

.signature-wrapper{
    border:2px dashed #cbd5e1;
    border-radius:20px;
    overflow:hidden;
    background:white;
}

#signature-pad{
    width:100%;
    height:250px;
    background:white;
    cursor:crosshair;
    display:block;
}

.signature-actions{
    margin-top:15px;
}

.signature-actions button{
    background:#ef4444;
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s ease;
}

.signature-actions button:hover{
    opacity:0.9;
}

/* SUMMARY BOX */

.summary-box{
    margin-top:35px;
    background:#0f172a;
    color:white;
    border-radius:18px;
    padding:25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.summary-box div{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.summary-box strong{
    font-size:24px;
}

/* SUBMIT BUTTON */

.submit-btn{
    width:100%;
    margin-top:30px;
    border:none;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    padding:18px;
    border-radius:16px;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:0.3s ease;
    box-shadow:0 10px 25px rgba(37,99,235,0.25);
}

.submit-btn:hover{
    transform:translateY(-2px);
}

/* MOBILE */

@media(max-width:992px){

    .form-container{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    body{
        padding:20px 15px;
    }

    .grid-layout{
        grid-template-columns:1fr;
    }

    .form-content,
    .sidebar-card{
        padding:25px;
    }

    .top-banner{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .top-banner h1{
        font-size:28px;
    }

    .summary-box{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

    .photo-preview{
        width:110px;
        height:110px;
    }

}


/* CAPTCHA */

.captcha-box{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.captcha-box span{
    background:#eff6ff;
    padding:14px 18px;
    border-radius:12px;
    font-weight:700;
    color:#1d4ed8;
    min-width:120px;
    text-align:center;
}

.captcha-box input{
    flex:1;
}

/* DROPDOWN / SELECT STYLING */

.form-group select{
    width:100%;
    border:1px solid #cbd5e1;
    border-radius:14px;
    padding:15px 18px;
    font-size:15px;
    font-weight:500;
    background:#f8fafc;
    color:#0f172a;
    transition:0.3s ease;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    cursor:pointer;

    /* CUSTOM ARROW */

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%23475569' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 16px center;
    background-size:18px;

    padding-right:50px;
}

/* HOVER */

.form-group select:hover{
    border-color:#16a34a;
    background-color:#f0fdf4;
}

/* FOCUS */

.form-group select:focus{
    outline:none;
    border-color:#16a34a;
    background:white;
    box-shadow:0 0 0 5px rgba(22,163,74,0.15);
}

/* OPTION STYLE */

.form-group select option{
    background:white;
    color:#0f172a;
    padding:12px;
}

/* PHOTO NOTE */

.photo-note{
    display:block;
    margin-top:6px;
    font-size:12px;
    font-weight:500;
    color:#64748b;
}

/* UPLOAD GUIDELINES */

.upload-guidelines{
    margin-top:12px;
    padding-left:18px;
    text-align:left;
    color:#64748b;
    font-size:13px;
    line-height:1.8;
    margin-bottom:10px;
}