*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:0;
    background:#f1f1f1;
    font-family:Arial,sans-serif;
    color:#444;
}

.membership-container{
    max-width:1200px;
    margin:30px auto;
    padding:0 20px 60px;
}

h1{
    font-size:45px;
    font-weight:800;
    color:#1f4d2f;
    margin:0 0 10px;
    text-transform:uppercase;
}

.subtitle{
    font-size:14px;
    color:#666;
    margin-bottom:45px;
}

.section-title{
    font-size:26px;
    font-weight:800;
    text-transform:uppercase;
    color:#444;
    margin-top:40px;
    margin-bottom:8px;
    padding-top:14px;
    border-top:3px solid #1f4d2f;
}

.section-description{
    color:#666;
    font-size:14px;
    margin-bottom:35px;
}

.success-message,
.error-message{
    display:none;
    padding:22px;
    border-radius:8px;
    margin-bottom:30px;
    line-height:1.7;
}

.success-message{
    background:#dff0d8;
    color:#2f6627;
}

.error-message{
    background:#ffd7d7;
    color:#9c0000;
}

.documents-helper{
    font-size:13px;
    color:#777;
    margin-bottom:35px;
}

.upload-row{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:28px;
    align-items:center;
    margin-bottom:20px;
}

.upload-info{
    display:flex;
    align-items:flex-start;
    gap:12px;
    font-size:12px;
    line-height:1.5;
}

.upload-info input{
    width:20px;
    height:20px;
    min-width:20px;
    margin-top:2px;
    accent-color:#1f6d47;
    opacity:1;
    appearance:auto;
    display:block;
}

.upload-field label{
    display:block;
    font-size:14px;
    font-weight:700;
    color:#666;
    margin-bottom:6px;
}

.required{
    color:#d50000;
}

.upload-field input[type="file"]{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    background:#fff;
    border-radius:8px;
}

.photo-helper{
    margin-top:10px;
    margin-bottom:20px;
    color:#666;
    font-size:14px;
    line-height:1.7;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

.form-group label{
    font-size:16px;
    font-weight:700;
    color:#666;
    margin-bottom:8px;
}

.form-group small{
    margin-top:4px;
    font-size:12px;
    color:#777;
    line-height:1.5;
}

input,
textarea,
select{
    width:100%;
    padding:14px;
    border:1px solid #bdbdbd;
    background:#f8f8f8;
    border-radius:8px;
    font-size:15px;
    color:#444;
}

textarea{
    min-height:120px;
    resize:vertical;
}

.terms-box{
    margin-top:20px;
    padding:24px;
    background:#fafafa;
    border:1px solid #ddd;
    line-height:1.6;
    font-size:11px;
    color:#555;
}

.terms-box p{
    margin-bottom:14px;
}

.terms-box ul,
.terms-box ol{
    padding-left:20px;
    margin-bottom:18px;
}

.terms-box li{
    margin-bottom:8px;
    line-height:1.5;
}

.terms-box h3{
    font-size:16px;
    margin-top:20px;
    margin-bottom:10px;
    color:#1f4d2f;
}

.consent-row{
    margin-top:35px;
}

.checkbox-label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    line-height:1.5;
    font-size:11px;
}

.checkbox-label input{
    width:20px;
    height:20px;
    margin-top:2px;
}

.submit-btn{
    margin-top:35px;
    background:#1f6d47;
    color:#fff;
    border:none;
    padding:18px 40px;
    font-size:18px;
    font-weight:700;
    border-radius:4px;
    cursor:pointer;
}

.submit-btn:hover{
    background:#165437;
}

.submit-btn:disabled{
    opacity:0.7;
    cursor:not-allowed;
}

@media(max-width:1000px){

    .upload-row{
        grid-template-columns:1fr;
        gap:18px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    h1{
        font-size:32px;
    }

    .section-title{
        font-size:22px;
    }

    .membership-container{
        padding:0 15px 40px;
    }

}
.section-divider{
    margin:35px 0;
    border-top:2px dashed #1f4d2f;
}