@font-face{font-family:ZurichBT;src:url('/wp-content/themes/rcdc-child-theme/assets/fonts/ZurichBT-Roman.otf') format("opentype");font-weight:500}
@font-face{font-family:ZurichBT;src:url('/wp-content/themes/rcdc-child-theme/assets/fonts/ZurichBT-Light.otf') format("opentype");font-weight:300}
@font-face{font-family:ZurichBT;src:url('/wp-content/themes/rcdc-child-theme/assets/fonts/ZurichBT.ttf') format('truetype');font-weight:400}
@font-face{font-family:ZurichBT;src:url('/wp-content/themes/rcdc-child-theme/assets/fonts/ZurichBT-Bold.otf') format("opentype");font-weight:700}
body{background-color:#fff;color:var(--rcdc-dark-grey);font-family:ZurichBT,Arial,sans-serif;font-size:16px;line-height:1.6;overflow-x:hidden;padding-top:80px}
.md-dashboard-wrapper,.md-dashboard-wrapper *{box-sizing:border-box}
.md-dashboard-wrapper{display:grid;grid-template-columns:260px 1fr;min-height:100vh;color:#3f4a57;-webkit-font-smoothing:antialiased}
.md-sidebar{background:#f7f7f7;border-right:1px solid #e4e8ec;padding:28px 20px;display:flex;flex-direction:column;gap:0;border-radius:12px}
.md-profile{text-align:center;padding-bottom:24px;border-bottom:1px solid #e4e8ec;margin-bottom:20px}
.md-avatar{width:88px;height:88px;border-radius:50%;overflow:hidden;margin:0 auto 14px;border:3px solid #e8f0fa}
.md-avatar img{width:100%;height:100%;object-fit:cover}
.md-profile h2{font-size:16px;font-weight:800;color:#7f1c2d;line-height:20px;margin:0}
.md-badge{display:inline-block;padding:4px 14px;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;border-radius:999px;background:#7f1c2d;color:#fff}
.md-contact p{font-size:12px;color:#000;margin:6px 0 0;line-height:1.4;font-style:italic}
.md-nav{display:flex;flex-direction:column;gap:2px;flex:1}
.md-logout,.md-nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;font-size:14px;font-weight:600;color:#3f4a57;text-decoration:none;cursor:pointer;transition:background .12s,color .12s;border:none;background:0 0}
.md-nav a:hover{background:#f3f7fb;color:#7f1c2d}
.md-nav a.active{background:#fff;text-decoration:underline;color:#7f1c2d;font-weight:800}
a.md-route.active:focus{outline:1px solid}
.md-logout{padding-top:20px;color:#000;font-size:14px;font-weight:600}
.md-logout:hover{color:#c0392b}
.md-icon{width:20px;height:20px;background-size:contain;background-repeat:no-repeat;background-position:center;flex-shrink:0;opacity:.7}
.icon-dashboard{background-image:url('./icons/icon_1.png')}
.icon-profile{background-image:url('./icons/icon_2.png')}
.icon-members{background-image:url('./icons/icon_3.png')}
.icon-events{background-image:url('./icons/icon_4.png')}
.icon-courses{background-image:url('./icons/icon_5.png')}
.icon-exams{background-image:url('./icons/icon_6.png')}
.icon-credits{background-image:url('./icons/icon_7.png')}
.icon-company{background-image:url('./icons/icon_8.png')}
.icon-community{background-image:url('./icons/icon_9.png')}
.md-main{padding:0 0 0 30px;min-width:0}
#md-loader{display:flex;align-items:center;justify-content:center;padding:60px 0}
.md-spinner{width:36px;height:36px;border:3px solid #e4e8ec;border-top-color:#7f1c2d;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{
to{transform:rotate(360deg)}
}
.md-card{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:24px;box-shadow:0 1px 4px rgba(20,59,102,.07);margin-bottom:20px}
.rcdc-membership-dashboard-card{grid-column:span 2}
.md-card h3,.rcdc-detail-head h3,.rcdc-list-header h3,.rcdc-section-heading h3{color:var(--rcdc-green)!important;font-size:30px!important;line-height:40px!important;margin:0 0 16px!important}
.md-muted{font-size:14px;color:#000}
.wlcm-msg h2{margin:0 0 8px}
.wlcm-msg p{font-size:15px;color:#5a6776;margin:0;line-height:1.6}
.md-grid{display:grid;gap:20px;margin-bottom:20px}
.md-grid-2{grid-template-columns:1fr 1fr}
.md-span-2{grid-column:span 2}
.md-membership-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.md-membership-info{flex:1}
.md-membership-info .md-label{width:fit-content}
.md-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.md-upgrade-row{margin-left:0;margin-bottom:0}
.md-label{width:130px;font-size:13px;color:#000;font-weight:600;flex-shrink:0}
.md-value{font-size:14px;font-weight:700;color:#7f1c2d}
.md-status{display:inline-block;padding:3px 10px;border-radius:50px;font-size:14px;font-weight:800}
.status-active{background:#e9f8f1;color:#1F6B31}
.status-expired{background:#fdecea;color:#c0392b}
.status-pending{background:#fff8e1;color:#7a5800}
.status-inactive{background:#f3f5f7;color:#000}
.md-upgrade-btn{color:#7f1c2d;font-weight:700;text-decoration:underline;margin:0!important;font-style:italic}
.md-ring-pie{width:110px;height:110px;min-width:110px;border-radius:50%;background:conic-gradient(#7f1c2d calc(var(--progress) * 1%),#e4e8ec 0);display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}
.md-ring-pie::before{content:'';width:80px;height:80px;background:#fff;border-radius:50%;position:absolute}
.md-ring-inner{position:relative;text-align:center;z-index:1}
.md-ring-inner strong{font-size:22px;font-weight:900;color:#7f1c2d;display:block;line-height:1}
.md-ring-inner span{font-size:11px;color:#000;font-weight:600}
.md-renew-cta{margin-top:16px;padding:16px 18px;border-radius:10px;background:#fff8e1;border:1px solid #f0d060;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.md-renew-cta .cta-content strong{display:block;color:#7a5800;font-weight:800;font-size:14px;margin-bottom:4px}
.md-renew-cta .cta-content p{margin:0;font-size:13px;color:#7a5800}
.md-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;grid-column:span 2;padding:0;border:none;background:0 0;box-shadow:none}
.div-count-box{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:18px 16px;display:flex;gap:20px;box-shadow:0 1px 4px rgba(20,59,102,.07);transition:box-shadow .15s}
.div-count-box:hover{box-shadow:0 3px 10px rgba(20,59,102,.12)}
.div-count-box img{width:30px;height:30px;object-fit:contain;flex-shrink:0}
.stats-text{display:flex;flex-direction:column}
.stats-text strong{font-size:24px;font-weight:900;color:#7f1c2d;line-height:1}
.stats-text span{font-size:12px;color:#000;font-weight:600;margin-top:3px}
.course-wrap{display:flex;flex-direction:column;gap:14px}
.md-course-card{background:#f7f9fb;border:1px solid #e4e8ec;border-radius:10px;padding:16px 18px;transition:box-shadow .15s}
.md-course-card:hover{box-shadow:0 2px 8px rgba(20,59,102,.1)}
.course-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.course-header h4{font-size:14px;font-weight:700;color:#7f1c2d;margin:0;line-height:1.3}
.course-percent{font-size:13px;font-weight:800;color:#7f1c2d;flex-shrink:0;margin-left:10px}
.md-progress{height:6px;background:#e4e8ec;border-radius:999px;overflow:hidden;margin-bottom:12px}
.md-progress span{display:block;height:100%;background:#7f1c2d;border-radius:999px;transition:width .3s}
.new-certificate-btn{margin-left:1%}
.course-btn{padding:7px 18px;border-radius:999px;background:#e8f0fa;color:#7f1c2d;font-size:13px;font-weight:800;text-decoration:none;transition:background .12s,color .12s}
.course-btn:hover{background:#7f1c2d;color:#fff}
.md-events-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.md-event-card{background:#fff;border:1px solid #e4e8ec;border-radius:12px;overflow:hidden;transition:box-shadow .15s}
.md-event-card:hover{box-shadow:0 3px 12px rgba(20,59,102,.12)}
.event-thumb img{width:100%;height:140px;object-fit:cover;display:block}
.event-body{padding:16px}
.event-body h3{font-size:15px;font-weight:800;color:#7f1c2d;margin:0 0 8px}
.event-meta{font-size:12px;color:#000;margin-bottom:5px}
.event-status{display:inline-block;font-size:11px;font-weight:800;padding:3px 10px;border-radius:999px;margin:6px 0 0}
.event-desc{font-size:13px;color:#5a6776;margin-top:8px;line-height:1.5}
.md-event{padding:12px 0;border-bottom:1px solid #eceff2}
.md-event:last-child{border-bottom:none}
.md-event strong{font-size:14px;font-weight:800;color:#7f1c2d}
.md-event p{font-size:12px;color:#000;margin:4px 0 6px}
.md-card .cmn-btn{background-color:var(--rcdc-green);color:#fff;font-size:16px;font-weight:700;cursor:pointer;border-color:var(--rcdc-green);text-transform:uppercase;letter-spacing:2px;border-radius:0;padding:10px 20px;border:0}
.md-ce-card h3{margin-bottom:0}
.ce_outer_container{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:16px}
.ce_container{flex:1}
.md-ce-row{padding:12px 0;border-bottom:1px solid #eceff2}
.md-ce-row:last-child{border-bottom:none}
.md-ce-row strong{font-size:14px;font-weight:800;color:#7f1c2d}
.md-ce-row p{font-size:12px;color:#000;margin:4px 0 0}
.md-ce-pending{opacity:.7}
.md-ring{width:90px;height:90px;border-radius:50%;border:6px solid #e8f0fa;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.md-ce-ring{border-color:#7f1c2d}
.md-ce-table-card{padding:22px 24px}
.md-ce-table-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.md-ce-count{font-size:12px;font-weight:800;padding:3px 12px;border-radius:999px}
.md-ce-count--approved{background:#e9f8f1;color:#1F6B31}
.md-ce-count--pending{background:#e9f8f1;color:#1F6B31}
.md-ce-table-wrap{overflow-x:auto}
.md-ce-table{width:100%;border-collapse:collapse;font-size:13px}
.md-ce-table thead th{padding:10px 14px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e4e8ec;white-space:nowrap;text-align:left}
.md-ce-thead--approved{background:#f3f7fb}
.md-ce-thead--approved th{color:#7f1c2d}
.md-ce-thead--pending th{border-bottom-color:#f0d060}
.md-ce-th-center{text-align:center!important}
.md-ce-table tbody tr{border-bottom:1px solid #eceff2;transition:background .1s}
.md-ce-table tbody tr:last-child{border-bottom:none}
.md-ce-table tbody tr:hover{background:#f7f9fb}
.md-ce-table td{padding:11px 14px;color:#3f4a57;vertical-align:middle}
.md-ce-td-num{color:#000;width:36px}
.md-ce-td-source{font-weight:700;color:#7f1c2d}
.md-ce-td-date{color:#5a6776;white-space:nowrap}
.md-ce-td-pts{text-align:center;font-weight:800;color:#7f1c2d}
.md-ce-td-status{text-align:center}
.md-ce-type-badge{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#e8f0fa;color:#7f1c2d}
.md-ce-status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:800}
.md-ce-status--approved{background:#e9f8f1;color:#1F6B31}
.md-ce-status--pending{background:#e9f8f1;color:#1F6B31}
.md-ce-table tfoot td{padding:12px 14px;font-size:13px;font-weight:800}
.md-ce-tfoot--approved{background:#f7f9fb}
.md-ce-tfoot--approved td{color:#7f1c2d;border-top:2px solid #7f1c2d}
.md-ce-tfoot--pending td{color:#7f1c2d;border-top:2px solid #7f1c2d}
.md-ce-cta{display:flex;align-items:center;justify-content:space-between;background:#f7f9fb;border:1px solid #e4e8ec;gap:16px}
.md-ce-cta-inner{display:flex;align-items:center;justify-content:space-between;width:100%;gap:16px}
.md-ce-cta h3{margin:0}
#my-profile-form{max-width:760px}
.profile-accordion{display:flex;flex-direction:column;gap:12px}
.acc-item{background:#fff;border:1px solid #e4e8ec;border-radius:12px;overflow:hidden}
.acc-header{padding:16px 20px;font-size:15px;font-weight:800;color:#7f1c2d;cursor:pointer;position:relative;display:flex;align-items:center;gap:12px;user-select:none}
.rcdc-list-header p{color:#000}
.acc-header:hover{background-color:#f7f7f7}
.acc-header::after{content:'+';position:absolute;right:20px;font-size:20px;font-weight:400;color:#000}
.acc-item.active .acc-header::after{content:'−'}
.acc-content{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s;padding:0 20px}
.acc-item.active .acc-content{max-height:1200px;overflow-y:auto;padding:20px;background:#f7f7f7;border-top:1px solid #e4e8ec}
#new-password{max-width:350px}
.pd_section{background:url('management.png') no-repeat 15px 20px;background-size:25px;padding-left:50px}
.bill_item{background:url('biilling.png') no-repeat 15px 20px;background-size:25px;padding-left:52px}
.ship_item{background:url(shipping.png) no-repeat 15px 15px;background-size:auto 23px;padding-left:52px}
.password_change{background:url('password.png') no-repeat 15px 50%;background-size:auto 25px;padding-left:52px}
.form-group{margin-bottom:16px;display:flex;flex-direction:column;gap:5px}
.form-group.half{flex:1}
.form-group label{font-size:13px;font-weight:600;color:#000}
#my-profile-form input,#my-profile-form textarea,.form-group input,.form-group textarea{width:100%;height:40px;padding:0 13px;border:1px solid #cdd6de;border-radius:0;font-size:14px;color:#3f4a57;background:#fff;transition:border-color .12s}
#my-profile-form textarea{height:auto;padding:10px 13px}
#my-profile-form input:focus,#my-profile-form textarea:focus,.form-group input:focus{outline:0;border-color:#7f1c2d}
#my-profile-form input[disabled]{background:#f5f7fa;color:#94a0ab;cursor:not-allowed}
#my-profile-form button[type=submit]{margin-top:30px;border:0}
#profile-preview{width:80px;height:80px;border-radius:50%;object-fit:cover;border:3px solid #e8f0fa;margin-bottom:10px}
.password-strength{margin-top:8px}
.strength-bar{height:5px;background:#e4e8ec;border-radius:999px;width:0%;transition:width .3s,background .3s}
.strength-bar.level-1{background:#e74c3c;width:25%}
.strength-bar.level-2{background:#f39c12;width:50%}
.strength-bar.level-3{background:#27ae60;width:75%}
.strength-bar.level-4{background:#1a8a4a;width:100%}
.strength-text{font-size:12px;color:#000;margin-top:4px;display:block}
#company-profile-form{max-width:700px}
#company-profile-form .form-group{margin-bottom:18px}
#company-profile-form label{font-size:13px;font-weight:700;color:#5a6776;display:block;margin-bottom:5px}
#company-profile-form input,#company-profile-form textarea{width:100%;padding:10px 13px;border:1px solid #cdd6de;border-radius:8px;font-size:14px;color:#3f4a57;background:#fff;transition:border-color .12s}
#company-profile-form input:focus,#company-profile-form textarea:focus{outline:0;border-color:#7f1c2d}
#company-profile-form textarea{min-height:90px;resize:vertical}
#company-profile-form input[type=file]{padding:8px;background:#f7f9fb;border:1px dashed #cdd6de;cursor:pointer}
#company-profile-form img{border-radius:8px;border:1px solid #e4e8ec;margin-bottom:8px}
#company-profile-form .cmn-btn.primary{margin-top:6px}
#company-profile-msg{margin-top:12px;font-size:14px}
#member-panel-container{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:24px;box-shadow:0 1px 4px rgba(20,59,102,.07)}
#member-panel-container h3{font-size:16px;font-weight:800;color:#7f1c2d;margin:0 0 16px}
.member-table{width:100%;border-collapse:collapse;font-size:13px}
.member-table thead th{text-align:left;padding:8px 12px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#000;border-bottom:1px solid #e4e8ec}
.member-table tbody tr{border-bottom:1px solid #eceff2;transition:background .1s}
.member-table tbody tr:last-child{border-bottom:none}
.member-table tbody tr:hover{background:#f7f9fb}
.member-table td{padding:12px;color:#3f4a57;vertical-align:middle}
.member_role{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:800;margin:2px 2px 0 0}
.member_role.owner{background:#e8f0fa;color:#7f1c2d}
.member_role.primary{background:#e7f4f6;color:#0f7d8a}
.member_role.billing{background:#fff8e1;color:#7a5800}
.member_role.secondary{background:#f3f5f7;color:#5a6776}
.member_role.member{background:#f3f5f7;color:#5a6776}
.member_role.code\ coordinator{background:#e9f8f1;color:#1F6B31}
.bcell{max-width:200px}
.bchips{display:flex;flex-wrap:wrap;gap:4px}
.bch{font-size:11px;font-weight:700;padding:4px 10px;border-radius:999px;background:#e7f4f6;color:#0f7d8a;white-space:normal;line-height:1.3;display:inline-block;max-width:100%}
.ccell{min-width:140px}
.cwrap{padding:4px 0}
.cnum{font-size:13px;color:#3f4a57}
.cnum b{font-size:15px;font-weight:800;color:#7f1c2d}
.cbar{height:6px;border-radius:999px;background:#e4e8ec;overflow:hidden;margin:6px 0 4px}
.cbar i{display:block;height:100%;border-radius:999px;background:#7f1c2d}
.cleft{font-size:11px;color:#000}
.cleft a{color:#7f1c2d;font-weight:700}
.action-btn{display:inline-block;padding:5px 12px;border-radius:999px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer;transition:background .12s,color .12s;margin-bottom:2%}
.edit-btn{background:#e8f0fa;color:#7f1c2d}
.edit-btn:hover{background:#7f1c2d;color:#fff}
.delete-btn{background:#fdecea;color:#c0392b}
.delete-btn:hover{background:#c0392b;color:#fff}
#csv-upload-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 16px}
#csv-upload-form input[type=file]{padding:8px 10px;border:1px dashed #cdd6de;border-radius:8px;background:#f7f9fb;font-size:13px;cursor:pointer;width:240px}
#csv-upload-form button{padding:9px 18px;border-radius:999px;border:none;background:#7f1c2d;color:#fff;font-size:13px;font-weight:800;cursor:pointer}
.add_single_member,.sample_csv{padding:9px 16px;border-radius:999px;background:#e8f0fa;color:#7f1c2d!important;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer;transition:background .12s}
.add_single_member:hover,.sample_csv:hover{background:#7f1c2d;color:#fff!important}
#import-status{display:none;align-items:center;gap:12px;padding:12px 16px;border:1px solid #e4e8ec;border-radius:10px;background:#f7f9fb;margin-top:12px;font-size:13px;color:#3f4a57;font-weight:600}
#import-status.active{display:flex}
#import-status.success{background:#e9f8f1;border-color:#7fd6b3;color:#1F6B31}
#import-status.error{background:#fdecea;border-color:#f0b0a8;color:#c0392b}
.spinner{width:20px;height:20px;border:2px solid #e4e8ec;border-top-color:#7f1c2d;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}
.credit-card{background:#f7f9fb;border:1px solid #e4e8ec;border-radius:12px;padding:18px 20px;margin-bottom:20px}
.cc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.cc-head .t{font-size:15px;font-weight:800;color:#7f1c2d}
.cstats{display:flex;gap:28px;flex-wrap:wrap;margin-bottom:14px}
.cstat b{font-size:24px;font-weight:900;display:block;line-height:1;color:#7f1c2d}
.cstat.used b{color:#7f1c2d}
.cstat.rem b{color:#0f7a5e}
.cstat.un b{color:#000}
.cstat span{font-size:12px;color:#000;font-weight:600}
.cprog{height:12px;border-radius:999px;overflow:hidden;display:flex;background:#e4e8ec;margin-bottom:10px}
.cprog i{height:100%;display:block}
.clegend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#000}
.clegend .k{display:flex;align-items:center;gap:6px}
.clegend .sw{width:10px;height:10px;border-radius:2px;display:inline-block}
.btnn{background:#7f1c2d!important;color:#fff!important;border:none!important;border-radius:999px!important;padding:10px 20px!important;font-weight:800!important;font-size:13px!important;cursor:pointer!important}
.btnn:hover{background:#0f2d50!important}
.member-modal{display:none;position:fixed;inset:0;background:rgba(20,59,102,.45);backdrop-filter:blur(4px);z-index:99999;align-items:center;justify-content:center}
.member-modal.active{display:flex}
.modal-content{background:#fff!important;border-radius:14px!important;padding:28px!important;width:100%;max-width:460px;box-shadow:0 20px 60px rgba(20,59,102,.2);position:relative;animation:modalIn .2s ease}
@keyframes modalIn{
from{transform:translateY(16px);opacity:0}
to{transform:translateY(0);opacity:1}
}
.modal-content h3{font-size:17px;font-weight:800;color:#7f1c2d;margin:0 0 16px}
.modal-content p{font-size:14px;color:#5a6776;margin:0 0 20px;line-height:1.5}
.close-modal{position:absolute;top:-12px;right:-12px;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #e4e8ec;display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;box-shadow:0 2px 8px rgba(20,59,102,.12);transition:background .12s}
.close-modal:hover{background:#f3f7fb}
.modal-content input,.modal-content select{width:100%;height:40px;padding:0 13px;border:1px solid #cdd6de;border-radius:8px;font-size:14px;color:#3f4a57;background:#fff;margin-bottom:12px;transition:border-color .12s}
.modal-content input:focus,.modal-content select:focus{outline:0;border-color:#7f1c2d}
.modal-content input[readonly]{background:#f5f7fa;color:#94a0ab}
#create-member-btn,#save-member{all:unset;box-sizing:border-box;display:block;width:100%;margin-top:6px;padding:13px;text-align:center;border-radius:999px;background:#7f1c2d;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background .12s}
#create-member-btn:hover,#save-member:hover{background:#0f2d50}
#create-member-btn .btn-text,#save-member .btn-text{display:inline}
#create-member-btn .btn-loader,#save-member .btn-loader{display:none;width:16px;height:16px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;margin:0 auto}
#create-member-btn.loading .btn-text,#save-member.loading .btn-text{display:none}
#create-member-btn.loading .btn-loader,#save-member.loading .btn-loader{display:block}
#addMemberModal .modal-content,#deleteModal .modal-content{max-width:420px}
#confirm-delete{all:unset;box-sizing:border-box;flex:1;text-align:center;padding:12px;border-radius:999px;background:#c0392b;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background .12s}
#confirm-delete:hover{background:#a93226}
#cancel-delete{all:unset;box-sizing:border-box;flex:1;text-align:center;padding:12px;border-radius:999px;background:#f5f7fa;color:#5a6776;font-size:14px;font-weight:700;cursor:pointer;border:1px solid #e4e8ec;transition:background .12s}
#cancel-delete:hover{background:#e4e8ec}
#success-ok{all:unset;box-sizing:border-box;display:block;width:100%;padding:12px;text-align:center;border-radius:999px;background:#7f1c2d;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background .12s}
#success-ok:hover{background:#0f2d50}
.md-modal{position:fixed;inset:0;background:rgba(20,59,102,.45);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;z-index:99999;transition:all .2s}
.md-modal.active{opacity:1;visibility:visible}
.md-modal-content{background:#fff;padding:28px;border-radius:14px;width:360px;box-shadow:0 20px 60px rgba(20,59,102,.2);transform:scale(.95);transition:transform .2s}
.md-modal.active .md-modal-content{transform:scale(1)}
.md-modal-content h3{font-size:17px;font-weight:800;color:#7f1c2d;margin:0 0 8px}
.md-modal-content p{font-size:14px;color:#5a6776;margin:0 0 20px}
.md-modal-actions{display:flex;gap:10px;justify-content:flex-end}
.md-modal-actions button{padding:10px 22px;border-radius:999px;border:none;font-size:14px;font-weight:800;cursor:pointer;transition:background .12s}
button.danger{background:#c0392b;color:#fff}
button.danger:hover{background:#a93226}
#cancel-logout{background:#f5f7fa;color:#5a6776;border:1px solid #e4e8ec}
#cancel-logout:hover{background:#e4e8ec}
#md-change-attendee-modal{position:fixed;inset:0;background:rgba(20,59,102,.45);display:none;z-index:99999;justify-content:center;align-items:center}
.pac-container{z-index:999999!important}
#md-change-attendee-modal.show{display:flex}
#md-change-attendee-modal .md-modal-inner{background:#fff;width:700px;max-width:90%;overflow-y:auto;padding:28px;border-radius:14px;box-shadow:0 20px 60px rgba(20,59,102,.2)}
.shop_table{width:100%;border-collapse:collapse;font-size:13px}
.shop_table thead th{text-align:left;padding:8px 12px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#000;border-bottom:1px solid #e4e8ec}
.shop_table tbody td{padding:11px 12px;border-bottom:1px solid #eceff2;color:#3f4a57}
.md-change-attendee,.md-select-attendee{padding:6px 14px;border-radius:999px;border:none;font-size:12px;font-weight:800;cursor:pointer;transition:background .12s}
.md-select-attendee{background:#e8f0fa;color:#7f1c2d}
.md-select-attendee:hover{background:#7f1c2d;color:#fff}
.md-change-attendee{background:#e7f4f6;color:#0f7d8a}
.md-change-attendee:hover{background:#7f1c2d;color:#fff}
.md-manage-attendees{padding:7px 16px;border-radius:999px;border:none;background:#7f1c2d;color:#fff;font-size:12px;font-weight:800;cursor:pointer;transition:background .12s}
.md-manage-attendees:hover{background:#0f2d50}
#md-back-events{padding:8px 20px;border-radius:999px;border:1px solid #cdd6de;background:#fff;color:#7f1c2d;font-size:13px;font-weight:800;cursor:pointer}
.bsummary{display:flex;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.bstat{flex:1;min-width:140px;background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:16px 18px}
.bstat b{font-size:28px;font-weight:900;display:block;line-height:1;color:#7f1c2d}
.bstat span{font-size:13px;color:#000}
.bstat.inc b{color:#7f1c2d}
.bstat.used b{color:#0f7a5e}
.bstat.un b{color:#7a5800}
.bstat.exp b{color:#c0392b}
.uchip.expired{background:#fdecea;color:#c0392b}
.usebox{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:16px 18px;margin-bottom:16px}
.usebox .ut{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px;color:#5a6776}
.usebar{height:10px;border-radius:999px;background:#e4e8ec;overflow:hidden}
.usebar i{display:block;height:100%;border-radius:999px;background:#0f7a5e}
.bhead{display:grid;grid-template-columns:44px 1fr 200px;gap:14px;align-items:center;padding:10px 18px;background:#f7f9fb;border:1px solid #e4e8ec;border-bottom:none;border-radius:12px 12px 0 0;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#000}
.blist{border:1px solid #e4e8ec;border-radius:0 0 12px 12px;overflow:hidden;background:#fff}
.brow{display:grid;grid-template-columns:44px 1fr 200px;gap:14px;align-items:flex-start;padding:16px 18px;border-top:1px solid #eceff2}
.brow:first-child{border-top:none}
.bicon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:15px;margin-top:2px}
.bicon.on{background:#e9f8f1;color:#1F6B31}
.bicon.idle{background:#f3f5f7;color:#000;border:1.5px dashed #cdd6de}
.btitle{font-size:14px;font-weight:800;color:#7f1c2d}
.bdesc{font-size:12px;color:#000;margin-top:2px}
.buse{font-size:12px;margin-top:5px;font-weight:700}
.buse.y{color:#0f7a5e}
.buse.n{color:#7a5800}
.bstatus{display:flex;flex-direction:column;align-items:flex-end;gap:6px;text-align:right}
.uchip{font-size:11px;font-weight:800;padding:3px 10px;border-radius:999px}
.uchip.used{background:#e9f8f1;color:#1F6B31}
.uchip.unused{background:#fff8e1;color:#7a5800}
.baction{font-size:12px;font-weight:700;color:#7f1c2d}
.upsell{margin-top:16px;background:#7f1c2d;color:#fff;border-radius:12px;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.upsell b{font-size:15px}
.upsell span{font-size:13px;color:#fff}
.upsell .btn{background:#fff;color:#7f1c2d;border:none;border-radius:999px;padding:10px 20px;font-weight:800;font-size:13px;cursor:pointer;transition:background .12s}
.upsell .btn:hover{background:#e8f0fa}
.company-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;align-items:stretch}
.company-card{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:20px;display:flex;flex-direction:column;box-shadow:0 1px 4px rgba(20,59,102,.07);transition:box-shadow .15s}
.company-card:hover{box-shadow:0 3px 12px rgba(20,59,102,.12)}
.company-logo{width:100%;height:140px;border-radius:8px;overflow:hidden;margin-bottom:14px;background:#f7f9fb}
.company-logo img{width:100%;height:100%;object-fit:cover}
.company-card h3{font-size:15px;font-weight:800;color:#7f1c2d;margin:0 0 8px}
.company-card p{font-size:13px;color:#5a6776;margin:0 0 6px}
.company-desc{line-height:1.5}
.company-social{display:flex;gap:8px;margin-top:auto;padding-top:12px}
.company-social .social-icon{width:32px;height:32px;border-radius:50%;background:#f3f7fb;display:flex;align-items:center;justify-content:center;color:#5a6776;transition:background .12s,color .12s}
.company-social .facebook:hover{background:#1877f2;color:#fff}
.company-social .instagram:hover{background:#e4405f;color:#fff}
.company-social .linkedin:hover{background:#0a66c2;color:#fff}
.member-step-wrapper{max-width:720px;margin:40px auto;padding:36px;background:#fff;border:1px solid #e4e8ec;border-radius:12px;box-shadow:0 1px 4px rgba(20,59,102,.07)}
.member-step-wrapper p.org-message{font-size:14px;color:#5a6776;line-height:1.6;margin-bottom:20px}
.member-step-wrapper p.org-message.success{background:#e9f8f1;border:1px solid #7fd6b3;border-radius:8px;padding:14px 16px;color:#1F6B31}
.member-step-wrapper input[type=email],.member-step-wrapper input[type=text]{width:100%;height:40px;padding:0 13px;border:1px solid #cdd6de;border-radius:8px;font-size:14px;margin-bottom:14px;transition:border-color .12s}
.member-step-wrapper input:focus{outline:0;border-color:#7f1c2d}
.member-step-wrapper button{padding:10px 24px;border-radius:999px;border:none;background:#7f1c2d;color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:background .12s}
.member-step-wrapper button:hover{background:#0f2d50}
.org-result-item{padding:11px 12px;border-bottom:1px solid #eceff2;cursor:pointer;font-size:14px;color:#3f4a57;transition:background .1s}
.org-result-item:hover{background:#f3f7fb;color:#7f1c2d}
.success-box{background:#e9f8f1;border:1px solid #7fd6b3;border-radius:10px;padding:16px 18px;text-align:center;font-size:14px;font-weight:700;color:#1F6B31;margin-top:16px}
.md-attendee-wrapper{overflow-x:auto}
#gf-prod-pipeline{background:#fff;border:1px solid #e4e8ec;border-radius:12px;padding:28px;box-shadow:0 1px 4px rgba(20,59,102,.07)}
.thanks_message{font-size:24px;font-weight:900;text-align:center;margin-bottom:20px;color:#7f1c2d}
.woocommerce-table{width:100%;border-collapse:collapse;font-size:14px}
.woocommerce-table thead{background:#f7f9fb}
.woocommerce-table th{text-align:left;padding:10px 14px;font-weight:800;color:#7f1c2d;border-bottom:1px solid #e4e8ec}
.woocommerce-table td{padding:12px 14px;color:#3f4a57;border-bottom:1px solid #eceff2}
.woocommerce-table tfoot td,.woocommerce-table tfoot th{font-weight:800}
a.visit_dashboard{display:inline-block;padding:10px 24px;border-radius:999px;background:#7f1c2d;color:#fff!important;font-weight:800;text-decoration:none;transition:background .12s}
a.visit_dashboard:hover{background:#0f2d50}
.gf-event-roster{margin-top:14px;padding:18px;background:#fff;border:1px solid #e4e8ec;border-radius:10px}
.gf-event-roster h4{font-size:15px;font-weight:800;color:#7f1c2d;margin:0 0 14px}
.roster-item{display:flex;align-items:center;padding:9px 10px;border-radius:6px;margin-bottom:4px}
.roster-item:hover{background:#f7f9fb}
.roster-item label{display:flex;align-items:center;gap:10px;font-size:14px;color:#3f4a57;font-weight:600;cursor:pointer}
.roster-item:has(input:checked){background:#e8f0fa}
.md-chapters-list{display:flex;flex-direction:column;gap:8px}
.md-chapter-item{padding:12px 16px;border:1px solid #e4e8ec;border-radius:10px;transition:background .1s,border-color .1s}
.md-chapter-item:has(.md-chapter-checkbox:checked){background:#f0f5ff;border-color:#b8ccec}
.md-chapter-item:hover{background:#f7f9fb}
.md-chapter-label{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:14px;font-weight:600;color:#3f4a57;margin:0}
.md-chapter-checkbox{width:18px!important;height:18px!important;accent-color:#7F1C2D;cursor:pointer;flex-shrink:0;border-radius:4px}
.md-chapter-name{font-size:14px;font-weight:600;color:#7f1c2d;line-height:1.4}
.md-chapter-item:has(.md-chapter-checkbox:not(:checked)) .md-chapter-name{color:#000;text-decoration:line-through;opacity:.7}
.md-ce-btn-download{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 14px;font-size:13px;font-weight:600;line-height:1;text-decoration:none;white-space:nowrap;background:#1f6b31;color:#fff!important;transition:all .2s ease}
.md-ce-btn-download:hover{background:#7f1c2d;color:#fff!important}
.md-invoice-icon{font-size:16px;line-height:1;font-weight:700;position:relative;top:-.5px}
.bch.used{background:#e9f8f1;color:#1F6B31}
.bch.expired{background:#fdecea;color:#c0392b}
.bch.bch-empty{background:#f3f5f7;color:#000;font-style:italic}
button.cmn-btn,a.cmn-btn,.cmn-btn a {
  background-color: #1F6B31 !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700 !important;
  cursor: pointer;
  border:0 !important;
  /* text-transform: uppercase; */
  letter-spacing:1px !important;
  border-radius: 20px !important;
  padding: 10px 20px !important;
}
button.cmn-btn:hover,a.cmn-btn:hover,.cmn-btn a:hover{background-color:#7F1C2D!important}
.has-global-padding.is-layout-constrained:has(.md-dashboard-wrapper){padding:10px 0!important}
@media (max-width:900px){
.md-dashboard-wrapper{grid-template-columns:1fr;gap:30px}
.md-dashboard-wrapper .md-main{padding:0}

.md-sidebar{border-right:none;border-bottom:1px solid #e4e8ec}
.md-grid-2,.md-stats{grid-template-columns:1fr}
.md-span-2{grid-column:span 1}
.bhead,.brow{grid-template-columns:34px 1fr}
.bhead span:last-child{display:none}
.bstatus{grid-column:1/3;align-items:flex-start;flex-direction:row}
}
@media (max-width:600px){
.md-main{padding:16px}
.md-stats{grid-template-columns:1fr 1fr}
.md-events-grid{grid-template-columns:1fr}
}
#my-profile-form select{width:100%;height:40px;padding:0 13px;border:1px solid #cdd6de;font-size:14px !important;color:#3f4a57;background:#fff;transition:border-color .12s}
#my-profile-form select:focus{outline:0;border-color:#7f1c2d}
#md-dynamic-content{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:22px;margin:0 0 18px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.md-google-address-error{margin:0 0 18px;padding:12px 14px;border:1px solid #d63638;border-radius:6px;background:#fcf0f1;color:#7a1d1f;font-size:14px;line-height:1.45}
.md-google-address-error ul{margin:8px 0 0 18px;padding:0}
.pac-container{z-index:100000!important}
#my-profile-form .md-mailing-address-item select[name=shipping_country],#my-profile-form .md-mailing-address-item select[name=shipping_state]{width:100%;border:1px solid #cfd8e3;background:#fff;font:inherit;box-sizing:border-box}
#my-profile-form .md-mailing-address-item .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#my-profile-form .md-mailing-address-item .form-row .form-group{min-width:0}
@media (max-width:700px){
#my-profile-form .md-mailing-address-item .form-row{grid-template-columns:1fr;gap:0}
}
#my-profile-form .md-personal-details-item .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#my-profile-form .md-personal-details-item .form-row .form-group{min-width:0}
@media (max-width:700px){
#my-profile-form .md-personal-details-item .form-row{grid-template-columns:1fr;gap:0}
}
/* RCDC three phone inputs */
.rcdc-profile-phones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:14px 0 22px}.rcdc-profile-phone-group{min-width:0}.rcdc-profile-phone-group .iti{width:100%;display:block}.rcdc-profile-phone-group .iti input{width:100%;box-sizing:border-box}.rcdc-phone-error{font-size:12px;color:#a01d35;margin-top:5px;display:none}.rcdc-phone-error:not(:empty){display:block}.rcdc-profile-phone-group input[aria-invalid=true]{border-color:#a01d35!important}@media(max-width:900px){.rcdc-profile-phones{grid-template-columns:1fr}}

/* Profile phones: two columns, with Home phone beside Gender. */
.rcdc-profile-phones{grid-template-columns:repeat(2,minmax(0,1fr));}
.rcdc-profile-last-row{align-items:flex-start;}
.rcdc-profile-last-row .rcdc-profile-phone-group .iti{width:100%;display:block;}
@media(max-width:900px){.rcdc-profile-phones{grid-template-columns:1fr;}}

/* Communication preferences */
.md-communication-item .rcdc-communication-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:14px 0 22px}
.md-communication-item .rcdc-communication-checkbox{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-weight:400;line-height:1.5}
.md-communication-item .rcdc-communication-checkbox input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:#1f6b31}
@media(max-width:700px){.md-communication-item .rcdc-communication-options{grid-template-columns:1fr}}

/* Communication Preferences: match the existing profile accordion styling. */
.communication_item{background:url('communication.png') no-repeat 15px 50%;background-size:27px 27px;padding-left:52px}
.md-communication-item .acc-content{box-sizing:border-box}
.md-communication-item .rcdc-pref-heading{font-size:16px;font-weight:700;color:#7f1c2d;margin:22px 0 5px;padding-bottom:8px;border-bottom:1px solid #dfe5e9}
.md-communication-item .rcdc-pref-heading:first-of-type{margin-top:14px}
.md-communication-item .rcdc-pref-help{font-size:13px;line-height:1.5;color:#59636e;margin:7px 0 12px}
.md-communication-item .rcdc-communication-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin:12px 0 20px}
.md-communication-item .rcdc-communication-checkbox{box-sizing:border-box;display:flex;align-items:flex-start;gap:11px;min-width:0;padding:13px 14px;background:#fff;border:1px solid #e0e5e9;border-radius:8px;font-size:14px;font-weight:500;line-height:1.45;color:#374454;cursor:pointer;transition:border-color .15s,background .15s}
.md-communication-item .rcdc-communication-checkbox:hover{border-color:#1f6b31;background:#f8fcf9}
#my-profile-form .md-communication-item .rcdc-communication-checkbox input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;box-sizing:border-box;width:18px;height:18px;min-width:18px;flex:0 0 18px;padding:0;margin:1px 0 0;accent-color:#1f6b31;cursor:pointer}
.md-communication-item .rcdc-communication-checkbox span{min-width:0;overflow-wrap:break-word}
.md-communication-item .form-group{max-width:440px}
@media(max-width:700px){.md-communication-item .rcdc-communication-options{grid-template-columns:minmax(0,1fr)}.md-communication-item .rcdc-communication-checkbox{padding:12px}}

.md-communication-item .rcdc-register-location-action{margin:0 0 12px}
.md-communication-item .rcdc-edit-location-details{border-radius:20px;display:inline-flex;align-items:center;border:1px solid #1f6b31;letter-spacing:1px;background:#fff;color:#1f6b31;padding:10px 16px;font-size:14px;font-weight:700;cursor:pointer}
.md-communication-item .rcdc-edit-location-details:hover,.md-communication-item .rcdc-edit-location-details:focus-visible{background:#f1f8f2;outline-offset:2px}

/* Independent profile section save actions and accessible feedback */
#my-profile-form .rcdc-section-actions { margin-top: 22px; padding-top: 15px; border-top: 1px solid #e4e9ec; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#my-profile-form .rcdc-section-save { width: auto; max-width: 100%; cursor: pointer; }
#my-profile-form .rcdc-section-save:disabled { opacity: .7; cursor: wait; }
#my-profile-form .rcdc-save-notice { font-size: 13px; font-weight: 600; line-height: 1.5; }
#my-profile-form .rcdc-save-notice.is-success { color: #1f6b31; }
#my-profile-form .rcdc-save-notice.is-error { color: #991b2b; }
@media(max-width: 600px) { #my-profile-form .rcdc-section-actions { align-items: stretch; flex-direction: column; } #my-profile-form .rcdc-section-save { width: 100%; } }

/* Prevent Chrome scroll anchoring from jumping to the footer when sections collapse. */
#my-profile-form .profile-accordion { overflow-anchor: none; }
#my-profile-form .acc-item { scroll-margin-top: 125px; }
#my-profile-form .md-mailing-address-item select[name=sf_shipping_country],#my-profile-form .md-mailing-address-item select[name=sf_shipping_state]{width:100%;border:1px solid #cfd8e3;background:#fff;font:inherit;box-sizing:border-box}
#my-profile-form .rcdc-copy-billing-address{background:none;border:0;padding:0;margin-left:6px;color:#7f1c2d;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
