<style>
   /* ==================================
   FORM WRAPPER
   ================================== */
   .member-form-section{
   /*padding:70px 0;*/
   background:
   linear-gradient(
   135deg,
   #faf7ef,
   #ffffff
   );
   }
   .member-form-card{
   background:#fff;
   border-radius:20px;
   overflow:hidden;
   box-shadow:
   0 15px 50px rgba(95,1,2,.12);
   border:1px solid rgba(229,174,6,.20);
   }
   /* ==================================
   HEADER
   ================================== */
   .form-header{
   position:relative;
   padding:40px;
   text-align:center;
   background:
   linear-gradient(
   135deg,
   #5F0102,
   #7A0202
   );
   }
   .form-header::before{
   content:'';
   position:absolute;
   top:0;
   left:0;
   right:0;
   height:5px;
   background:#E5AE06;
   }
   .membership-logo{
   margin-bottom:15px;
   }
   .membership-logo img{
   width:90px;
   height:90px;
   object-fit:contain;
   background:#fff;
   border-radius:50%;
   padding:10px;
   border:3px solid #E5AE06;
   }
   .membership-badge{
   display:inline-block;
   background:#E5AE06;
   color:#5F0102;
   padding:8px 18px;
   border-radius:50px;
   font-size:13px;
   font-weight:700;
   margin-bottom:15px;
   text-transform:uppercase;
   }
   .form-header h2{
   color:#fff;
   font-size:34px;
   font-weight:800;
   margin-bottom:8px;
   }
   .form-header h3{
   color:#E5AE06;
   font-size:22px;
   font-weight:600;
   margin-bottom:15px;
   }
   .form-header p{
   color:rgba(255,255,255,.90);
   max-width:850px;
   margin:auto;
   line-height:1.8;
   }
   /* ==================================
   FORM BODY
   ================================== */
   .form-body{
   padding:40px;
   }
   /* ==================================
   SECTION TITLE
   ================================== */
   .form-section-title{
   background:#FFF6DD;
   border-left:5px solid #E5AE06;
   padding:15px 20px;
   margin:30px 0 20px;
   color:#5F0102;
   font-size:20px;
   font-weight:700;
   border-radius:10px;
   }
   /* ==================================
   LABELS
   ================================== */
   .form-label{
   color:#5F0102;
   font-weight:700;
   margin-bottom:8px;
   }
   /* ==================================
   INPUTS
   ================================== */
   .form-control,
   .form-select{
   height:52px;
   border:1px solid #e3d7b0;
   border-radius:10px;
   background:#fff;
   transition:.3s;
   }
   textarea.form-control{
   height:auto;
   }
   .form-control:focus,
   .form-select:focus{
   border-color:#E5AE06;
   box-shadow:
   0 0 0 4px rgba(229,174,6,.15);
   }
   /* ==================================
   FEE BOX
   ================================== */
   .membership-fee-box{
   background:
   linear-gradient(
   135deg,
   #FFF6DD,
   #FFFDF7
   );
   border:2px dashed #E5AE06;
   border-radius:15px;
   padding:20px;
   text-align:center;
   margin:25px 0;
   }
   .membership-fee-box h4{
   color:#5F0102;
   font-size:18px;
   margin-bottom:10px;
   }
   .membership-fee-box .amount{
   font-size:40px;
   color:#5F0102;
   font-weight:800;
   }
   /* ==================================
   DECLARATION
   ================================== */
   .declaration-box{
   background:#fafafa;
   padding:20px;
   border-radius:12px;
   border-left:4px solid #E5AE06;
   }
   /* ==================================
   SUBMIT BUTTON
   ================================== */
   .member-submit-btn{
   background:
   linear-gradient(
   135deg,
   #5F0102,
   #7A0202
   );
   color:#fff;
   border:none;
   padding:15px 40px;
   border-radius:50px;
   font-size:18px;
   font-weight:700;
   transition:.3s;
   }
   .member-submit-btn:hover{
   background:
   linear-gradient(
   135deg,
   #7A0202,
   #5F0102
   );
   transform:translateY(-2px);
   color:#fff;
   }
   /* ==================================
   MOBILE
   ================================== */
   @media(max-width:768px){
   .form-header{
   padding:25px;
   }
   .form-header h2{
   font-size:26px;
   }
   .form-header h3{
   font-size:18px;
   }
   .form-body{
   padding:25px;
   }
   }
   .sesa-input{
   height:58px;
   border-radius:12px;
   border:1px solid #E5AE06;
   }
   .sesa-form-heading{
   background:#5F0102;
   color:#fff;
   display:flex;
   align-items:center;
   gap:15px;
   padding:0;
   border-radius:12px;
   overflow:hidden;
   margin-bottom:25px;
   }
   .heading-icon{
   width:70px;
   height:70px;
   background:#E5AE06;
   color:#5F0102;
   display:flex;
   align-items:center;
   justify-content:center;
   font-size:24px;
   }
   .sesa-form-heading h3{
   color:#fff;
   margin:0;
   font-size:20px;
   font-weight:700;
   }
   /*:::::::::::::::::::::::::::::::::::::*/
   
   #processingOverlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    z-index:999999;
    justify-content:center;
    align-items:center;
}

.processing-box{
    background:#fff;
    width:500px;
    max-width:95%;
    padding:40px;
    border-radius:15px;
    text-align:center;
}

.spinner{
    width:70px;
    height:70px;
    border:6px solid #eee;
    border-top:6px solid #8b0000;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:0 auto 20px;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.custom-fee-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
    transition: 0.2s ease;
    margin: 0;
}

.custom-fee-option:hover {
    border-color: #7A0E0E;
    background: #fffafa;
}

.custom-fee-option input {
    width: 18px;
    height: 18px;
    accent-color: #7A0E0E;
    cursor: pointer;
}

.custom-fee-option span {
    flex: 1;
    font-weight: 600;
    color: #333;
}

.custom-fee-option strong {
    color: #7A0E0E;
    white-space: nowrap;
}


.payable-amount-box {
    background: linear-gradient(135deg, #7A0E0E, #a71919);
    color: #fff;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.payable-amount-box small {
    font-size: 14px;
    opacity: 0.9;
}

.payable-amount-box h3 {
    margin: 3px 0 0;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.selected-fees {
    font-size: 13px;
    text-align: right;
    max-width: 55%;
    opacity: 0.95;
}

@media(max-width:576px) {

    .payable-amount-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .selected-fees {
        max-width: 100%;
        text-align: left;
    }

}

   .membership-option-section {
        background: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .membership-option-header {
        background: #7A0E0E;
        color: #fff;
        padding: 12px 18px;
        border-radius: 7px;
        margin-bottom: 18px;
    }

    .membership-option-header h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .membership-option-header p {
        margin: 4px 0 0;
        font-size: 13px;
        opacity: .95;
    }

    .membership-option-note {
        background: #fff8e1;
        border-left: 4px solid #e5ae06;
        padding: 10px 14px;
        margin-bottom: 18px;
        font-size: 14px;
        color: #555;
        border-radius: 4px;
    }

    .membership-option-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;

        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;

        padding: 15px 18px;
        min-height: 75px;

        cursor: pointer;
        transition: all .25s ease;
    }

    .membership-option-card:hover {
        border-color: #7A0E0E;
        box-shadow: 0 3px 10px rgba(0,0,0,.08);
    }

    .membership-option-card input[type="radio"] {
        width: 19px;
        height: 19px;
        accent-color: #7A0E0E;
        flex-shrink: 0;
        cursor: pointer;
    }

    .membership-option-content {
        flex: 1;
    }

    .membership-option-title {
        display: block;
        font-size: 15px;
        font-weight: 600;
        color: #333;
        line-height: 1.4;
    }

    .membership-option-price {
        display: inline-block;
        margin-top: 4px;
        font-size: 14px;
        font-weight: 700;
        color: #7A0E0E;
    }

    .membership-option-card:has(input:checked) {
        border-color: #7A0E0E;
        background: #fff9f9;
        box-shadow: 0 3px 12px rgba(122,14,14,.12);
    }

    .membership-option-card:has(input:checked)::after {
        content: "Selected";
        position: absolute;
        top: 8px;
        right: 10px;

        background: #7A0E0E;
        color: #fff;

        font-size: 10px;
        font-weight: 600;

        padding: 3px 7px;
        border-radius: 10px;
    }

    @media(max-width:767px) {

        .membership-option-section {
            padding: 15px;
        }

        .membership-option-header h4 {
            font-size: 16px;
        }

        .membership-option-card {
            min-height: auto;
            padding: 14px;
        }

        .membership-option-title {
            font-size: 14px;
            padding-right: 45px;
        }
    }

    /* =========================================================
   NEW / OLD MEMBER SELECTION
========================================================= */

.member-type-box {
    background: #fff6dd;
    border: 2px solid #e5ae06;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}


.member-type-title {
    color: #5f0102;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}


.member-type-title i {
    color: #e5ae06;
    margin-right: 8px;
}


.member-type-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


.member-type-option {
    flex: 1;
    min-width: 220px;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #fff;

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 15px 18px;

    cursor: pointer;

    font-weight: 600;

    color: #333;

    transition: .2s;
}


.member-type-option:hover {
    border-color: #7a0e0e;
    background: #fffafa;
}


.member-type-option input {
    width: 20px;
    height: 20px;

    accent-color: #7a0e0e;

    cursor: pointer;
}


.member-type-option:has(input:checked) {
    border-color: #7a0e0e;
    background: #fff9f9;
    box-shadow: 0 3px 10px rgba(122,14,14,.10);
}


.member-type-note {
    margin-top: 12px;

    background: #fff;

    border-left: 4px solid #e5ae06;

    padding: 10px 14px;

    border-radius: 5px;

    color: #555;

    font-size: 14px;
}


.member-type-note i {
    color: #7a0e0e;
    margin-right: 5px;
}


@media(max-width:576px) {

    .member-type-options {
        flex-direction: column;
    }

    .member-type-option {
        min-width: 100%;
    }

}

/* =========================================================
   DECLARATION / WARNING
========================================================= */

.declaration-warning {
    background: #fff8e8;
    border: 1px solid #e5ae06;
    border-left: 5px solid #7a0e0e;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}


.declaration-warning-title {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #7a0e0e;
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 12px;
}


.declaration-warning-title i {
    color: #d39a00;
}


.declaration-warning-text {
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}


.declaration-warning-text p {
    margin: 0 0 8px;
}


.declaration-warning-text p:last-child {
    margin-bottom: 15px;
}


.declaration-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    background: #fff;
    border: 1px solid #ddd;

    border-radius: 8px;

    padding: 12px 15px;

    cursor: pointer;

    color: #333;
    font-size: 14px;
    font-weight: 600;
}


.declaration-check input {
    width: 19px;
    height: 19px;

    margin-top: 2px;

    flex-shrink: 0;

    accent-color: #7a0e0e;

    cursor: pointer;
}


@media(max-width:576px) {

    .declaration-warning {
        padding: 15px;
    }

    .declaration-warning-title {
        font-size: 16px;
    }

    .declaration-warning-text {
        font-size: 13px;
    }

    .declaration-check {
        font-size: 13px;
    }

}


</style>