*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding:0;
    background:#f5f5f5;
    font-family:Arial,sans-serif;
    color:#222;
}

.membership-container{
    max-width:1100px;
    margin:40px auto;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

h1{
    font-size:42px;
    margin-bottom:10px;
}

.subtitle{
    margin-bottom:30px;
    color:#666;
}

.section-title{
    margin-top:40px;
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:3px solid #124c23;
    font-size:22px;
    font-weight:bold;
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.full-width{
    grid-column:1 / -1;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

input,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

.terms-box{
    max-height:320px;
    overflow-y:auto;
    padding:20px;
    border:1px solid #ddd;
    border-radius:10px;
    background:#fafafa;
    line-height:1.6;
}

.consent-row{
    margin-top:20px;
}

.checkbox-label{
    display:flex;
    gap:12px;
    align-items:flex-start;
    font-weight:normal;
}

.checkbox-label input{
    width:auto;
    margin-top:5px;
}

.submit-btn{
    background:#124c23;
    color:#fff;
    border:none;
    padding:16px 30px;
    font-size:18px;
    border-radius:8px;
    cursor:pointer;
    margin-top:30px;
}

.submit-btn:hover{
    background:#0f3f1d;
}

.success-message{
    display:none;
    background:#dff0d8;
    color:#2e6b2e;
    padding:20px;
    border-radius:8px;
    margin-bottom:20px;
}

.error-message{
    display:none;
    background:#ffd6d6;
    color:#a10000;
    padding:20px;
    border-radius:8px;
    margin-bottom:20px;
}

@media(max-width:768px){

    .membership-container{
        padding:20px;
        margin:15px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    h1{
        font-size:34px;
    }

}