/* ==========================================
   VISAWA NGO - Volunteer Registration
========================================== */

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

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fa;
    color:#333;
}
/* volunteer page css for calender */
<style>
.dob-group {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

#date_of_birth_text {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.calendar-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: #0d6efd;
    color: white;
    font-size: 21px;
    cursor: pointer;
}

.hidden-date-input {
    position: absolute;
    right: 0;
    width: 46px;
    height: 46px;
    opacity: 0;
    pointer-events: none;
}

#dobError {
    display: block;
    color: #dc3545;
    margin-top: 5px;
}

.input-error {
    border-color: #dc3545 !important;
}
</style>
/* Page */

.page-content{
    padding:50px 15px;
}

.form-container{
    max-width:950px;
    margin:auto;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Header */

.page-title{
    background:linear-gradient(135deg,#0d6efd,#0a58ca);
    color:#fff;
    text-align:center;
    padding:35px;
}

.page-title h1{
    font-size:34px;
    margin-bottom:10px;
}

.page-title p{
    font-size:17px;
    opacity:.95;
}

/* Form */

.form-body{
    padding:35px;
}

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

.form-section h3{
    color:#0d6efd;
    border-left:5px solid #0d6efd;
    padding-left:12px;
    margin-bottom:20px;
    font-size:24px;
}

/* Grid */

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

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

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

.form-group label{
    font-weight:600;
    margin-bottom:8px;
}

.required{
    color:red;
}

/* Inputs */

input,
select,
textarea{

    width:100%;
    padding:12px 14px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    transition:.3s;
    background:#fff;

}

input:focus,
select:focus,
textarea:focus{

    outline:none;
    border-color:#0d6efd;
    box-shadow:0 0 8px rgba(13,110,253,.20);

}

textarea{
    resize:vertical;
}

/* Phone */

.phone-group{
    display:flex;
    gap:10px;
}

.phone-group select{
    width:120px;
}

.phone-group input{
    flex:1;
}

/* Radio */


.radio-group{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    width:100%;
    margin-top:4px;
}

.radio-group label{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:8px;
    min-width:130px;
    margin:0;
    padding:11px 14px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
}

/* Override global input width */
.radio-group input[type="radio"]{
    width:auto;
    min-width:auto;
    margin:0;
    padding:0;
    flex:0 0 auto;
    accent-color:#0d6efd;
}

.radio-group label span{
    white-space:nowrap;
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    transition:.3s;
    background:#fff;
}
.field-error{
    display:block;
    color:#dc3545;
    font-size:14px;
    margin-top:6px;
}

.input-error{
    border-color:#dc3545 !important;
    box-shadow:0 0 5px rgba(220,53,69,.25) !important;
}
@media(max-width:768px){

    .radio-group{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .radio-group label{
        width:100%;
        min-width:0;
    }

}
/* Fee Box */

.fee-box{

    background:#fff8e1;
    border:1px solid #ffd54f;
    border-radius:10px;
    padding:30px;
    margin-bottom:35px;
    text-align:center;

}

.fee-box h3{

    color:#ff9800;
    margin-bottom:20px;
    font-size:28px;

}

.fee-amount{

    font-size:42px;
    color:#198754;
    font-weight:bold;
    margin:15px 0;

}

.green{
    color:#198754;
}

.fee-description{

    font-size:17px;
    line-height:1.9;
    color:#555;

}

.note{

    margin-top:25px;
    background:#d1e7dd;
    color:#0f5132;
    padding:15px;
    border-radius:6px;
    font-weight:600;

}

/* Button */

button{

    width:100%;
    background:#198754;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:6px;
    cursor:pointer;
    font-size:20px;
    font-weight:bold;
    transition:.3s;

}

button:hover{

    background:#157347;

}

button:disabled{

    background:#9e9e9e;
    cursor:not-allowed;

}

/* Responsive */

@media(max-width:768px){

.page-title h1{

    font-size:28px;

}

.form-grid{

    grid-template-columns:1fr;

}

.full-width{

    grid-column:1;

}

.phone-group{

    flex-direction:column;

}

.phone-group select{

    width:100%;

}

.radio-group{

    flex-direction:column;

}

.form-body{

    padding:20px;

}

.fee-box{

    padding:20px;

}

.fee-amount{

    font-size:34px;

}

}