:root{--red:#98263a;--red2:#b83b50;--rose:#fbf3f5;--ink:#172033;--muted:#667085;--surface:#fff;--line:#e7e8ec;--gold:#c7a45b;--cream:#fbfaf8;--shadow:0 20px 60px rgba(24,34,52,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--cream);color:var(--ink)}a{text-decoration:none;color:inherit}button,input{font:inherit}.site-nav{max-width:1240px;margin:auto;padding:22px 28px;display:flex;justify-content:space-between;align-items:center}.brand,.brand-lockup{display:flex;align-items:center;gap:12px}.brand small,.brand-lockup small,.sidebar-brand small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:800}.brand-mark.large{width:48px;height:48px;border-radius:15px;font-size:18px}.site-nav nav{display:flex;align-items:center;gap:25px;color:#465066;font-size:14px}.nav-cta,.btn-primary{background:var(--red);color:#fff;padding:13px 20px;border-radius:14px;font-weight:700;display:inline-flex;justify-content:center}.hero{max-width:1240px;margin:0 auto;padding:75px 28px 90px;display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:var(--red)}.eyebrow.light{color:rgba(255,255,255,.75)}.hero h1{font-size:56px;line-height:1.05;letter-spacing:-.04em;margin:17px 0}.hero h1 em,.brand-message h1 em{color:var(--red2);font-style:normal}.hero p{font-size:18px;line-height:1.8;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:12px;margin-top:28px}.btn-secondary{border:1px solid var(--line);background:#fff;padding:13px 20px;border-radius:14px;font-weight:700}.wide{width:100%}.center{display:flex;align-items:center}.hero-panel{min-height:430px;border-radius:34px;background:linear-gradient(145deg,#7f1f31,#ba3b50);position:relative;overflow:hidden;padding:30px;color:#fff;box-shadow:0 35px 80px rgba(152,38,58,.28)}.hero-panel:after{content:"";position:absolute;width:370px;height:370px;border:1px solid rgba(255,255,255,.16);border-radius:50%;right:-140px;bottom:-120px}.hero-badge{position:relative;z-index:3;font-size:11px;letter-spacing:.15em}.orb{width:250px;height:250px;border-radius:50%;border:1px solid rgba(255,255,255,.25);position:absolute;left:50%;top:52%;transform:translate(-50%,-50%)}.hero-mini{position:relative;z-index:3;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);padding:16px 18px;border-radius:18px;margin-top:230px;backdrop-filter:blur(8px)}.hero-mini+.hero-mini{margin-top:10px}.hero-mini b{display:block}.hero-mini span{font-size:12px;opacity:.8}.section{max-width:1240px;margin:auto;padding:90px 28px}.soft{max-width:none;background:var(--rose)}.section-head{max-width:700px}.section h2,.about-grid h2,.cta h2{font-size:40px;line-height:1.1;letter-spacing:-.03em;margin:10px 0 0}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:36px}.service-grid article{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:var(--shadow)}.service-grid article span{font-size:11px;color:var(--red);font-weight:800}.service-grid h3{font-size:20px;margin:40px 0 10px}.service-grid p{color:var(--muted);line-height:1.6;font-size:14px}.about-grid,.cta{max-width:1184px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.about-grid p{font-size:18px;line-height:1.8;color:var(--muted)}.cta{background:#fff;border:1px solid var(--line);padding:38px;border-radius:28px;grid-template-columns:1fr auto}.site-footer{max-width:1184px;margin:auto;padding:30px 28px;display:flex;justify-content:space-between;color:#7b8495;font-size:12px}.auth-page{background:var(--cream)}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr}.login-brand-panel{padding:48px 70px;background:linear-gradient(150deg,#7f1f31,#b53a4d);color:#fff;position:relative;overflow:hidden}.login-brand-panel .brand-lockup b{font-size:20px}.batik-lines{position:absolute;inset:0;opacity:.14;background:radial-gradient(circle at 20px 20px,#fff 2px,transparent 3px),linear-gradient(45deg,transparent 46%,#fff 47%,transparent 49%),linear-gradient(-45deg,transparent 46%,#fff 47%,transparent 49%);background-size:72px 72px}.brand-message{position:absolute;left:70px;right:70px;bottom:100px;max-width:640px;z-index:2}.brand-message h1{font-size:58px;line-height:1.02;letter-spacing:-.05em}.brand-message p{max-width:540px;line-height:1.8;color:rgba(255,255,255,.82);font-size:17px}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:40px;position:relative}.login-card{width:100%;max-width:480px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:38px;box-shadow:var(--shadow)}.login-card h2{font-size:38px;letter-spacing:-.04em;margin:10px 0}.login-card>p{color:var(--muted);line-height:1.7}.login-card form{display:grid;gap:18px;margin-top:30px}.login-card label{font-size:12px;font-weight:800;color:#30394c}.login-card input{width:100%;height:54px;margin-top:8px;border:1px solid var(--line);border-radius:13px;padding:0 14px;outline:none}.login-card input:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(152,38,58,.08)}.password-field{position:relative}.password-field input{padding-right:50px}.password-field button{position:absolute;right:8px;top:17px;border:0;background:transparent;color:#7d8799;cursor:pointer}.login-links{text-align:right;font-size:12px;color:var(--red);font-weight:700}.form-message{min-height:20px;color:var(--red);font-size:12px}.login-footer{position:absolute;bottom:22px;color:#8a93a2}
@media(max-width:980px){.hero,.login-shell,.member-panels{grid-template-columns:1fr}.service-grid{grid-template-columns:1fr 1fr}.login-brand-panel{min-height:430px}.brand-message{left:40px;right:40px;bottom:50px}.brand-message h1{font-size:42px}}
@media(max-width:620px){.site-nav{padding:18px}.site-nav nav{display:none}.hero{padding-top:40px}.hero h1{font-size:40px}.hero-actions{flex-direction:column}.service-grid{grid-template-columns:1fr}.section h2,.about-grid h2,.cta h2{font-size:30px}.about-grid,.cta{grid-template-columns:1fr}.site-footer{flex-direction:column;gap:8px}.login-brand-panel{padding:28px;min-height:390px}.login-form-panel{padding:20px}.login-card{padding:25px}}

/* =========================================================
   IPDI ONE PUBLIC LANDING PAGE — MODERN OFFICIAL STYLE
   ========================================================= */
.home-nav{position:sticky;top:0;z-index:50;background:rgba(251,250,248,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(231,232,236,.8)}
.home-nav-inner{max-width:1240px;margin:auto;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.home-brand{display:inline-flex;align-items:center;gap:12px}
.home-brand-mark{width:46px;height:46px;border-radius:14px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;box-shadow:0 8px 24px rgba(23,32,51,.06)}
.home-brand-mark img{width:100%;height:100%;object-fit:cover}
.home-brand-copy{display:flex;flex-direction:column;line-height:1.1}
.home-brand-copy strong{font-size:17px;letter-spacing:-.02em}
.home-brand-copy small{margin-top:4px;color:var(--muted);font-size:11px}
.home-nav-links{display:flex;align-items:center;gap:25px;color:#475467;font-size:13px;font-weight:600}
.home-nav-links a{transition:.2s ease}
.home-nav-links a:hover{color:var(--red)}
.home-nav-login{padding:11px 17px;border-radius:12px;background:var(--red);color:#fff!important;box-shadow:0 10px 22px rgba(152,38,58,.16)}
.home-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px}
.home-menu-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0;border-radius:99px}
.home-main{overflow:hidden}
.home-container{max-width:1240px;margin:0 auto;padding-left:28px;padding-right:28px}
.home-hero{position:relative;background:linear-gradient(180deg,#fffdfc 0%,#fbfaf8 76%,#f6eef0 100%);padding:74px 0 84px}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);gap:62px;align-items:center;position:relative;z-index:2}
.home-eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.16em}
.home-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--red2);box-shadow:0 0 0 5px rgba(184,59,80,.10)}
.home-eyebrow-light{color:rgba(255,255,255,.78)}
.home-hero-copy h1{font-size:64px;line-height:.98;letter-spacing:-.055em;margin:18px 0 22px;max-width:800px}
.home-hero-copy h1 em{font-style:normal;color:var(--red)}
.home-hero-lead{font-size:17px;color:#667085;line-height:1.86;max-width:720px;margin:0}
.home-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.home-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 19px;border-radius:14px;font-size:13px;font-weight:800;transition:.22s ease}
.home-btn-primary{background:var(--red);color:#fff;box-shadow:0 16px 30px rgba(152,38,58,.18)}
.home-btn-primary:hover{transform:translateY(-2px);box-shadow:0 20px 35px rgba(152,38,58,.23)}
.home-btn-outline{background:#fff;border:1px solid var(--line);color:var(--ink)}
.home-btn-outline:hover{transform:translateY(-2px);border-color:#d6b6bd}
.home-trust-row{display:flex;gap:20px;flex-wrap:wrap;margin-top:28px;color:#7b8495;font-size:11px}
.home-trust-row span{display:inline-flex;align-items:center;gap:6px}
.home-trust-row b{color:var(--red)}
.home-hero-visual{position:relative;min-height:520px;display:flex;align-items:center;justify-content:center}
.home-dashboard-card{position:relative;background:#fff;border:1px solid #ece2e4;box-shadow:0 30px 80px rgba(86,45,56,.14)}
.home-dashboard-main{width:100%;max-width:490px;border-radius:30px;padding:26px;transform:rotate(1.2deg);z-index:3}
.home-card-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.home-card-topline small{display:block;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.14em}
.home-card-topline strong{display:block;margin-top:4px;font-size:17px}
.home-status-dot{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;background:#eefaf3;color:#18794e;font-size:10px;font-weight:800}
.home-profile-row{display:flex;gap:14px;align-items:center;margin-top:27px;padding-bottom:22px;border-bottom:1px solid #eef0f2}
.home-avatar{width:62px;height:62px;border-radius:18px;background:#f8e8ec;overflow:hidden;display:grid;place-items:center}
.home-avatar img{width:100%;height:100%;object-fit:cover}
.home-mini-label{display:block;color:#98a2b3;font-size:9px;font-weight:800;letter-spacing:.13em}
.home-profile-row strong{display:block;margin-top:3px;font-size:16px}
.home-profile-row small{display:block;margin-top:3px;color:#7c8797;font-size:11px}
.home-metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}
.home-metric-grid div{padding:14px;border-radius:15px;background:#fbf7f8;border:1px solid #f1e7e9}
.home-metric-grid span{display:block;color:#98a2b3;font-size:10px}
.home-metric-grid strong{display:block;margin-top:6px;font-size:16px}
.home-floating-card{position:absolute;display:flex;align-items:center;gap:11px;background:rgba(255,255,255,.94);border:1px solid rgba(231,232,236,.92);box-shadow:0 20px 50px rgba(23,32,51,.11);border-radius:18px;padding:13px 15px;z-index:4;max-width:240px}
.home-floating-card strong{display:block;font-size:11px}
.home-floating-card small{display:block;margin-top:3px;color:#7b8495;font-size:10px;line-height:1.4}
.home-floating-icon{width:34px;height:34px;border-radius:11px;background:#f8e7eb;color:var(--red);display:grid;place-items:center;font-size:9px;font-weight:900;flex:0 0 auto}
.home-floating-card-one{left:-20px;top:82px}
.home-floating-card-two{right:-18px;bottom:55px}
.home-hero-glow{position:absolute;border-radius:50%;filter:blur(4px);pointer-events:none}
.home-hero-glow-a{width:340px;height:340px;right:8%;top:0;background:rgba(184,59,80,.08)}
.home-hero-glow-b{width:290px;height:290px;left:-90px;bottom:-70px;background:rgba(199,164,91,.08)}
.home-section{padding:94px 0}
.home-section-light{background:#fff}
.home-section-heading{display:grid;grid-template-columns:1fr .9fr;gap:50px;align-items:end}
.home-section-heading.compact{display:block}
.home-section-heading h2,.home-about-copy h2,.home-faq-grid h2,.home-cta-card h2{font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:12px 0 0}
.home-section-heading>p,.home-about-copy>p,.home-faq-grid>div>p{color:var(--muted);font-size:16px;line-height:1.8;margin:0}
.home-service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:38px}
.home-service-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;min-height:280px;display:flex;flex-direction:column;transition:.22s ease}
.home-service-card:hover{transform:translateY(-4px);box-shadow:0 25px 55px rgba(23,32,51,.08)}
.home-service-featured{background:linear-gradient(145deg,#fff7f8,#fff)}
.home-service-number{font-size:10px;font-weight:800;color:#98a2b3;letter-spacing:.1em}
.home-service-icon{margin-top:38px;width:48px;height:48px;border-radius:15px;background:#f8e8ec;color:var(--red);display:grid;place-items:center;font-size:11px;font-weight:900;letter-spacing:.03em}
.home-service-card h3{font-size:19px;letter-spacing:-.02em;margin:18px 0 8px}
.home-service-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0}
.home-service-card a{margin-top:auto;padding-top:20px;color:var(--red);font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.home-about{background:linear-gradient(180deg,#fbfaf8,#fff)}
.home-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}
.home-about-visual{position:relative;min-height:410px;display:grid;place-items:center}
.home-about-card{position:absolute;border-radius:30px}
.home-about-card-back{width:68%;height:72%;background:#f0dfe3;transform:rotate(-8deg) translate(-18px,8px)}
.home-about-card-main{width:76%;height:78%;background:linear-gradient(150deg,#7f1f31,#b83b50);color:#fff;padding:33px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 26px 60px rgba(127,31,49,.2)}
.home-about-card-main span{font-size:10px;letter-spacing:.15em;font-weight:800;opacity:.76}
.home-about-card-main strong{font-size:42px;line-height:1;letter-spacing:-.05em;margin-top:8px}
.home-about-card-main p{font-size:13px;line-height:1.6;max-width:260px;color:rgba(255,255,255,.8);margin:14px 0 0}
.home-about-lines{display:flex;gap:6px;margin-top:34px}
.home-about-lines i{height:3px;border-radius:99px;background:rgba(255,255,255,.5);width:46px}.home-about-lines i:nth-child(2){width:23px}.home-about-lines i:nth-child(3){width:11px}
.home-about-copy{max-width:650px}
.home-about-points{display:grid;gap:13px;margin-top:28px}
.home-about-points>div{display:flex;gap:12px;align-items:flex-start;padding:12px 0}
.home-about-points>div>span{width:28px;height:28px;border-radius:9px;background:#f8e8ec;color:var(--red);display:grid;place-items:center;font-weight:900;font-size:12px}
.home-about-points p{margin:0}.home-about-points strong{display:block;font-size:14px}.home-about-points small{display:block;color:var(--muted);margin-top:3px;font-size:12px}
.home-flow{background:#fff}
.home-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:38px}
.home-step{border-top:1px solid var(--line);padding-top:18px}.home-step span{font-size:10px;color:var(--red);font-weight:800}.home-step strong{display:block;font-size:17px;margin-top:22px}.home-step p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 0}
.home-faq{background:#f8f3f4}
.home-faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:75px;align-items:start}
.home-faq-list{display:grid;gap:11px}
.home-faq-list details{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 20px}.home-faq-list summary{cursor:pointer;list-style:none;font-weight:800;font-size:13px;display:flex;justify-content:space-between;gap:20px}.home-faq-list summary::-webkit-details-marker{display:none}.home-faq-list summary::after{content:'+';color:var(--red);font-size:18px;line-height:1}.home-faq-list details[open] summary::after{content:'−'}.home-faq-list p{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
.home-cta-section{padding:0 0 75px;background:#f8f3f4}
.home-cta-card{background:linear-gradient(145deg,#7f1f31,#b83b50);border-radius:30px;padding:38px 42px;color:#fff;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;box-shadow:0 28px 65px rgba(127,31,49,.18)}
.home-cta-card h2{color:#fff;max-width:680px}.home-cta-card p{color:rgba(255,255,255,.8);font-size:14px;line-height:1.75;margin:12px 0 0}.home-cta-actions{display:flex;flex-direction:column;align-items:flex-end;gap:11px}.home-btn-white{background:#fff;color:var(--red);box-shadow:0 15px 30px rgba(0,0,0,.12)}.home-cta-link{font-size:11px;color:rgba(255,255,255,.85);font-weight:700}.home-footer{background:#191d27;color:#fff}.home-footer-inner{padding-top:30px;padding-bottom:30px;display:grid;grid-template-columns:1fr auto auto;gap:28px;align-items:center}.home-footer-brand{display:flex;align-items:center;gap:12px}.home-footer-logo{width:42px;height:42px;border-radius:13px;background:#fff;overflow:hidden;flex:0 0 auto}.home-footer-logo img{width:100%;height:100%;object-fit:cover}.home-footer-brand strong{display:block;font-size:14px}.home-footer-brand span,.home-footer-brand small{display:block;color:rgba(255,255,255,.58);font-size:10px;margin-top:3px}.home-footer-links{display:flex;gap:18px;color:rgba(255,255,255,.7);font-size:11px}.home-footer-copy{color:rgba(255,255,255,.48);font-size:10px}
@media(max-width:1050px){.home-hero-grid{grid-template-columns:1fr}.home-hero-copy{max-width:840px}.home-hero-visual{min-height:470px}.home-floating-card-one{left:2%}.home-floating-card-two{right:2%}.home-service-grid{grid-template-columns:1fr 1fr}.home-about-grid,.home-faq-grid{grid-template-columns:1fr}.home-about-visual{max-width:540px}.home-cta-card{grid-template-columns:1fr}}
@media(max-width:760px){.home-nav-inner{padding:14px 18px}.home-menu-toggle{display:block}.home-nav-links{display:none;position:absolute;left:14px;right:14px;top:72px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:0 20px 45px rgba(23,32,51,.12);flex-direction:column;align-items:stretch;gap:3px}.home-nav-links.is-open{display:flex}.home-nav-links a{padding:11px 12px;border-radius:11px}.home-nav-login{text-align:center;margin-top:4px}.home-container{padding-left:18px;padding-right:18px}.home-hero{padding-top:50px}.home-hero-copy h1{font-size:44px}.home-hero-lead{font-size:15px}.home-hero-visual{min-height:430px}.home-dashboard-main{padding:20px;border-radius:24px}.home-floating-card{max-width:205px;padding:11px}.home-floating-card-one{top:30px}.home-floating-card-two{bottom:18px}.home-section{padding:72px 0}.home-section-heading{grid-template-columns:1fr;gap:14px}.home-section-heading h2,.home-about-copy h2,.home-faq-grid h2,.home-cta-card h2{font-size:32px}.home-step-grid{grid-template-columns:1fr 1fr}.home-cta-card{padding:30px 24px;border-radius:24px}.home-cta-actions{align-items:flex-start}.home-footer-inner{grid-template-columns:1fr}.home-footer-links{flex-wrap:wrap}}
@media(max-width:500px){.home-brand-copy small{font-size:10px}.home-hero-copy h1{font-size:38px}.home-hero-actions{flex-direction:column}.home-btn{width:100%}.home-trust-row{display:grid;gap:9px}.home-hero-visual{min-height:390px}.home-floating-card-one{left:-5px}.home-floating-card-two{right:-4px}.home-service-grid{grid-template-columns:1fr}.home-about-card-main strong{font-size:31px}.home-step-grid{grid-template-columns:1fr}.home-footer-links{gap:12px}}

/* =========================
   EVENT MANAGEMENT
========================= */
.events-admin-page,.events-member-page{width:100%}
.event-flash{margin:0 0 18px;padding:14px 16px;border-radius:14px;background:#eefaf3;color:#18794e;border:1px solid #d5f0df;font-weight:700;font-size:13px}
.event-table-wrap{overflow:auto}.event-table{width:100%;border-collapse:collapse;min-width:920px}.event-table th{padding:15px 14px;background:#f8f4f5;color:#7f1f31;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.event-table td{padding:16px 14px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top}.event-table td strong{display:block}.event-table td small{display:block;color:var(--muted);margin-top:4px}.event-actions{display:flex;gap:8px;flex-wrap:wrap}.event-actions a{font-weight:800;color:var(--red);font-size:12px}.event-price{font-weight:900;color:var(--red)}.event-status{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:10px;font-weight:900;background:#eef2f7;color:#475467}.event-status.published,.event-status.registered{background:#eefaf3;color:#18794e}.event-status.draft{background:#fff7ed;color:#b54708}.event-status.closed,.event-status.archived{background:#f2f4f7;color:#667085}.event-empty{text-align:center;color:var(--muted);padding:36px!important}.event-empty-card{grid-column:1/-1}
.event-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.event-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow);display:flex;flex-direction:column}.event-card-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--muted);font-size:11px}.event-card h2{font-size:25px;letter-spacing:-.03em;margin:18px 0 10px}.event-card p{color:var(--muted);line-height:1.7;font-size:13px;min-height:64px}.event-card-info{display:flex;justify-content:space-between;gap:12px;padding:15px 0 18px;margin-top:auto;color:#475467;font-size:12px}.event-card-info strong{color:var(--red)}.event-card .btn-primary{margin-top:4px}.event-my-list{margin-top:24px}
.event-builder{display:grid;gap:18px}.event-section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.event-section-title h2{margin:4px 0 0;font-size:23px}.event-section-title p{margin:6px 0 0;color:var(--muted);font-size:12px}.event-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.event-form-grid label,.dynamic-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:800;color:#344054}.event-form-grid label.full,.dynamic-field.full{grid-column:1/-1}.event-form-grid input,.event-form-grid select,.event-form-grid textarea,.builder-row input,.builder-row select{width:100%;border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px 14px;outline:none;font-size:13px;color:var(--ink)}.event-form-grid textarea{resize:vertical}.event-form-grid input:focus,.event-form-grid select:focus,.event-form-grid textarea:focus,.builder-row input:focus,.builder-row select:focus{border-color:var(--red);box-shadow:0 0 0 4px rgba(152,38,58,.08)}.checkbox-line{flex-direction:row!important;align-items:center;align-self:center}.checkbox-line input,.required-toggle input{width:auto!important}.builder-list{display:grid;gap:10px}.builder-row{display:grid;grid-template-columns:auto 1.15fr .7fr .65fr 1.2fr auto;gap:10px;align-items:end;padding:13px;border:1px solid var(--line);border-radius:17px;background:#fcfcfd}.field-row{grid-template-columns:auto 1.1fr .8fr 1.15fr auto auto}.builder-index{width:34px;height:34px;border-radius:10px;background:#f8e8ec;color:var(--red);display:grid;place-items:center;font-weight:900;font-size:11px}.builder-row label{font-size:11px;font-weight:800;color:#475467}.builder-row small{display:block;font-size:9px;color:#98a2b3;margin:0 0 4px}.builder-remove{height:42px;border:1px solid #f1d4da;background:#fff4f6;color:#b42343;border-radius:12px;padding:0 12px;font-weight:800;cursor:pointer}.required-toggle{display:flex;align-items:center;gap:6px;height:42px;white-space:nowrap}.event-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-bottom:15px}.ticket-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.ticket-choice{position:relative;display:block;cursor:pointer}.ticket-choice input{position:absolute;opacity:0;pointer-events:none}.ticket-choice>div{border:1px solid var(--line);border-radius:18px;padding:18px;display:grid;gap:5px;transition:.2s}.ticket-choice input:checked+div{border-color:var(--red);box-shadow:0 0 0 4px rgba(152,38,58,.08);background:#fff8fa}.ticket-choice strong{font-size:15px}.ticket-choice span{font-weight:900;color:var(--red)}.ticket-choice small{color:var(--muted);line-height:1.5}.event-register-form{display:grid;gap:18px}.dynamic-field input,.dynamic-field select,.dynamic-field textarea{font-weight:500}.event-member-page{min-height:100vh}
@media(max-width:900px){.event-card-grid,.ticket-choice-grid,.event-form-grid{grid-template-columns:1fr}.builder-row,.field-row{grid-template-columns:1fr}.builder-index{width:100%}.event-form-actions{flex-direction:column}.event-form-actions .btn-primary,.event-form-actions .btn-secondary{width:100%}.event-section-title{flex-direction:column}.event-section-title .btn-secondary{width:100%}}

/* =========================================================
   IPDI ONE LOGIN V2
   ========================================================= */

/* =========================================================
   IPDI ONE — LOGIN
   ========================================================= */

.login-page-v2 {
    min-height: 100vh;
    background: #f7f5f3;
}

.login-shell-v2 {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}

/* =========================================================
   LEFT BRAND PANEL
   ========================================================= */

.login-brand-v2 {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 54px 68px;
    color: #fff;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255,255,255,.13),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #74172b 0%,
            #98263a 48%,
            #b33a50 100%
        );
}

.login-brand-v2::before,
.login-brand-v2::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.login-brand-v2::before {
    width: 560px;
    height: 560px;
    right: -220px;
    top: -175px;
}

.login-brand-v2::after {
    width: 420px;
    height: 420px;
    left: -230px;
    bottom: -180px;
}

/* pattern */
.login-pattern-v2 {
    position: absolute;
    inset: 0;
    opacity: .10;
    pointer-events: none;
    background-image:
        linear-gradient(
            30deg,
            transparent 24%,
            rgba(255,255,255,.55) 25%,
            transparent 26%,
            transparent 74%,
            rgba(255,255,255,.55) 75%,
            transparent 76%
        ),
        linear-gradient(
            150deg,
            transparent 24%,
            rgba(255,255,255,.35) 25%,
            transparent 26%,
            transparent 74%,
            rgba(255,255,255,.35) 75%,
            transparent 76%
        );
    background-size: 72px 72px;
}

.login-brand-content-v2 {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 108px);
    display: flex;
    flex-direction: column;
}

/* brand top */
.login-brand-head-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ipdi-logo-v2 {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .04em;
}

.login-brand-name-v2 {
    display: flex;
    flex-direction: column;
}

.login-brand-name-v2 strong {
    font-size: 23px;
    line-height: 1;
    letter-spacing: -.03em;
}

.login-brand-name-v2 span {
    margin-top: 5px;
    font-size: 11px;
    color: rgba(255,255,255,.75);
}

/* center message */
.login-brand-copy-v2 {
    margin-top: auto;
    margin-bottom: auto;
    max-width: 690px;
    padding-right: 30px;
}

.login-brand-eyebrow-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    color: rgba(255,255,255,.72);
}

.login-brand-eyebrow-v2::before {
    content: "";
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,.55);
}

.login-brand-copy-v2 h1 {
    margin: 20px 0 20px;
    font-size: clamp(44px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}

.login-brand-copy-v2 h1 em {
    font-style: normal;
    color: #f5dca6;
}

.login-brand-copy-v2 p {
    max-width: 590px;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
}

/* footer */
.login-brand-footer-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    margin-top: auto;
    padding-top: 28px;
    font-size: 11px;
    color: rgba(255,255,255,.62);
}

.login-brand-footer-v2 strong {
    color: rgba(255,255,255,.90);
}

/* =========================================================
   RIGHT PANEL
   ========================================================= */

.login-form-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background: #fbfaf8;
}

.login-card-v2 {
    width: 100%;
    max-width: 470px;
    background: #fff;
    border: 1px solid #e9e7e4;
    border-radius: 26px;
    padding: 38px;
    box-shadow:
        0 22px 65px rgba(29, 31, 35, .08);
}

/* header */
.login-card-header-v2 {
    margin-bottom: 26px;
}

.login-card-eyebrow-v2 {
    display: block;
    margin-bottom: 9px;
    color: #98263a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
}

.login-card-header-v2 h2 {
    margin: 0;
    color: #172033;
    font-size: 35px;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.login-card-header-v2 p {
    margin: 12px 0 0;
    color: #707989;
    font-size: 13px;
    line-height: 1.7;
}

/* fields */
.login-form-v2 form {
    display: grid;
    gap: 18px;
}

.login-field-v2 {
    display: block;
}

.login-label-v2,
.login-label-row-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #303848;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
}

.login-label-row-v2 a {
    color: #98263a;
    font-weight: 700;
    letter-spacing: 0;
}

.login-input-v2 {
    width: 100%;
    height: 53px;
    border: 1px solid #dedfe3;
    border-radius: 13px;
    background: #fff;
    color: #172033;
    padding: 0 14px;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.login-input-v2::placeholder {
    color: #a0a6b1;
}

.login-input-v2:focus {
    border-color: #98263a;
    box-shadow: 0 0 0 4px rgba(152,38,58,.08);
    background: #fff;
}

/* password */
.login-password-v2 {
    position: relative;
}

.login-password-v2 .login-input-v2 {
    padding-right: 52px;
}

.login-password-toggle-v2 {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 37px;
    height: 37px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7b8493;
    cursor: pointer;
}

.login-password-toggle-v2:hover {
    background: #f5f5f4;
}

/* =========================================================
   CAPTCHA
   ========================================================= */

.login-captcha-box-v2 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}

.login-captcha-input-wrap-v2 {
    min-width: 0;
}

.login-captcha-image-wrap-v2 {
    display: flex;
    align-items: stretch;
    gap: 7px;
}

.login-captcha-image-v2 {
    width: 165px;
    height: 53px;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #dfe1e5;
    background: #f8fafc;
}

.login-captcha-refresh-v2 {
    width: 44px;
    height: 53px;
    border: 1px solid #dedfe3;
    border-radius: 12px;
    background: #fff;
    color: #98263a;
    font-size: 19px;
    font-weight: 800;
    cursor: pointer;
    transition: .18s ease;
}

.login-captcha-refresh-v2:hover {
    background: #fbf2f4;
    border-color: #d7a1ac;
}

/* help */
.login-security-note-v2 {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: -2px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #faf8f7;
    border: 1px solid #eeeae7;
    color: #777f8b;
    font-size: 10px;
    line-height: 1.55;
}

.login-security-note-v2 strong {
    color: #5e6674;
}

/* message */
.login-message-v2 {
    min-height: 18px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.5;
}

.login-message-v2.success {
    color: #19734d;
}

/* button */
.login-submit-v2 {
    width: 100%;
    height: 53px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #8d2035, #a82f45);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .03em;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(152,38,58,.18);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}

.login-submit-v2:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(152,38,58,.22);
}

.login-submit-v2:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

/* register */
.login-register-v2 {
    text-align: center;
    color: #7b8390;
    font-size: 12px;
    line-height: 1.6;
}

.login-register-v2 a {
    color: #98263a;
    font-weight: 800;
}

/* footer */
.login-form-footer-v2 {
    position: fixed;
    left: calc(52.5% + 40px);
    bottom: 20px;
    color: #9aa1ad;
    font-size: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
    .login-shell-v2 {
        grid-template-columns: 1fr;
    }

    .login-brand-v2 {
        min-height: 420px;
    }

    .login-brand-content-v2 {
        min-height: 314px;
    }

    .login-brand-copy-v2 {
        margin-top: 70px;
        margin-bottom: 25px;
    }

    .login-form-footer-v2 {
        position: static;
        margin-top: 12px;
    }
}

@media (max-width: 620px) {
    .login-brand-v2 {
        min-height: 360px;
        padding: 28px;
    }

    .login-brand-copy-v2 h1 {
        font-size: 42px;
    }

    .login-brand-copy-v2 p {
        font-size: 14px;
    }

    .login-form-v2 {
        min-height: auto;
        padding: 20px;
    }

    .login-card-v2 {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .login-card-header-v2 h2 {
        font-size: 30px;
    }

    .login-captcha-box-v2 {
        grid-template-columns: 1fr;
    }

    .login-captcha-image-wrap-v2 {
        width: 100%;
    }

    .login-captcha-image-v2 {
        flex: 1;
        width: auto;
    }
}

.captcha-refresh-text{
    border:0;
    padding:0;
    background:transparent;
    color:#98263a;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.captcha-refresh-text:hover{
    text-decoration:underline;
}

.login-reset-link-v2{
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.home-brand-mark{
    width:58px;
    height:58px;
    border-radius:50%;
    background:transparent;
    border:none;
    box-shadow:none;
    overflow:hidden;
    padding:0;
    display:grid;
    place-items:center;
}

.home-brand-mark img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:50%;
    display:block;
}

/* MyIPDI — Logo preview kartu */
.home-avatar{
    width:72px;
    height:72px;
    border-radius:50%;
    background:transparent;
    border:none;
    box-shadow:none;
    overflow:hidden;
    display:grid;
    place-items:center;
}

.home-avatar img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:50%;
    display:block;
}


/* MyIPDI — Logo footer */
.home-footer-logo{
    width:52px;
    height:52px;
    border-radius:50%;
    background:transparent;
    border:none;
    box-shadow:none;
    overflow:hidden;
    padding:0;
}

.home-footer-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius:50%;
    display:block;
}

/* =========================================================
   MyIPDI MEMBER — PREMIUM DESIGN V3
   Dashboard-only layer. Uses unique .myipdi-premium selectors.
   ========================================================= */

body.dashboard-page{
    margin:0;
    background:#f7f6f4;
    overflow-x:hidden;
}

.myipdi-premium,
.myipdi-premium *{
    box-sizing:border-box;
}

.myipdi-premium{
    --mp-maroon:#7f1734;
    --mp-maroon-deep:#621026;
    --mp-maroon-soft:#fbf0f3;
    --mp-gold:#b89245;
    --mp-gold-soft:#f7f0df;
    --mp-text:#29313a;
    --mp-muted:#8e97a2;
    --mp-line:#e9e5df;

    min-height:100vh;
    display:grid;
    grid-template-columns:252px minmax(0,1fr);
    background:
        radial-gradient(circle at 92% 0%,rgba(184,146,69,.08),transparent 22%),
        linear-gradient(180deg,#fbfaf8 0,#f7f6f4 52%,#fff 100%);
    color:var(--mp-text);
    font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* ================= SIDEBAR ================= */

.myipdi-premium-sidebar{
    position:sticky;
    top:0;
    align-self:start;
    height:100vh;
    min-height:100vh;
    max-height:100vh;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(127,23,52,.22) transparent;
    padding:20px 13px 15px;
    display:flex;
    flex-direction:column;
    background:rgba(255,255,255,.985);
    border-right:1px solid var(--mp-line);
    box-shadow:8px 0 28px rgba(34,27,29,.035);
    z-index:5;
}

.myipdi-premium-brand{
    padding:2px 8px 14px;
}

.myipdi-premium-brand-link{
    display:flex;
    align-items:center;
    gap:11px;
}

.myipdi-premium-brand-logo{
    width:50px;
    height:50px;
    flex:0 0 50px;
    overflow:hidden;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff;
    box-shadow:
        0 7px 17px rgba(31,24,27,.07),
        0 0 0 1px rgba(184,146,69,.16);
}

.myipdi-premium-brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.myipdi-premium-brand-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.myipdi-premium-brand-copy strong{
    color:var(--mp-maroon);
    font-size:18px;
    font-weight:800;
    line-height:1;
    letter-spacing:-.035em;
}

.myipdi-premium-brand-copy small{
    margin-top:5px;
    color:#a18e67;
    font-size:7px;
    font-weight:800;
    letter-spacing:.15em;
}

.myipdi-premium-divider{
    height:1px;
    margin:0 8px 16px;
    background:linear-gradient(90deg,#eadfc9,#f0ede8,transparent);
}

.myipdi-premium-section-label{
    margin:0 11px 8px;
    color:#aaa398;
    font-size:7px;
    font-weight:800;
    letter-spacing:.16em;
}

.myipdi-premium-nav{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.myipdi-premium-nav-item,
.myipdi-premium-logout{
    position:relative;
    min-height:45px;
    width:100%;
    padding:0 11px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid transparent;
    border-radius:13px;
    background:transparent;
    color:#7f8791;
    text-decoration:none;
    font:inherit;
    font-size:11px;
    font-weight:600;
    cursor:pointer;
    transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}

.myipdi-premium-nav-item:hover,
.myipdi-premium-logout:hover{
    transform:translateX(3px);
    color:var(--mp-maroon);
    background:#fffafa;
    border-color:#eee6df;
    box-shadow:0 10px 22px rgba(38,32,33,.065);
}

.myipdi-premium-nav-item.is-active{
    color:var(--mp-maroon);
    background:linear-gradient(90deg,#fbf0f3,#fffaf7);
    border-color:#ecdce1;
    box-shadow:0 9px 20px rgba(127,23,52,.055);
}

.myipdi-premium-nav-item.is-active::before{
    content:"";
    position:absolute;
    left:-1px;
    top:9px;
    bottom:9px;
    width:3px;
    border-radius:0 4px 4px 0;
    background:linear-gradient(180deg,var(--mp-gold),var(--mp-maroon));
}

.myipdi-premium-icon{
    width:17px;
    height:17px;
    flex:0 0 17px;
    display:grid;
    place-items:center;
}

.myipdi-premium-icon svg,
.myipdi-premium-chevron svg,
.myipdi-premium-service .service-icon svg,
.myipdi-premium-service .service-arrow svg{
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-premium-group{
    width:100%;
}

.myipdi-premium-group>summary{
    list-style:none;
}

.myipdi-premium-group>summary::-webkit-details-marker{
    display:none;
}

.myipdi-premium-group[open]>summary{
    color:var(--mp-maroon);
    background:#fcf9f7;
    border-color:#eee6df;
}

.myipdi-premium-chevron{
    width:13px;
    height:13px;
    margin-left:auto;
    color:#aaa18f;
    transition:transform .2s ease,color .2s ease;
}

.myipdi-premium-group[open] .myipdi-premium-chevron{
    transform:rotate(90deg);
    color:var(--mp-gold);
}

.myipdi-premium-submenu{
    margin:4px 0 5px 26px;
    padding:3px 0 3px 12px;
    display:flex;
    flex-direction:column;
    gap:1px;
    border-left:1px solid #e8e0d2;
}

.myipdi-premium-submenu a{
    min-height:32px;
    padding:5px 6px 5px 0;
    display:flex;
    align-items:center;
    gap:7px;
    color:#979ea7;
    font-size:9px;
    line-height:1.35;
    text-decoration:none;
    transition:color .18s ease,transform .18s ease;
}

.myipdi-premium-submenu a:hover{
    color:var(--mp-maroon);
    transform:translateX(2px);
}

.myipdi-premium-submenu i{
    width:4px;
    height:4px;
    flex:0 0 4px;
    border-radius:50%;
    background:#d2c19c;
}

.myipdi-premium-sidebar-footer{
    margin-top:18px;
    padding-top:14px;
    border-top:1px solid #eeeae4;
}

/* ================= MAIN ================= */

.myipdi-premium-main{
    min-width:0;
    padding:30px 46px 52px;
}

/* Compact maroon welcome panel */
.myipdi-premium-header{
    position:relative;
    overflow:hidden;
    min-height:142px;
    padding:23px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:19px;
    border-radius:22px;
    color:#fff;
    background:
        radial-gradient(circle at 91% -42%,rgba(255,255,255,.16),transparent 28%),
        linear-gradient(125deg,#73142f 0%,#851b39 58%,#9b2947 100%);
    box-shadow:0 16px 34px rgba(105,17,42,.14);
}

.myipdi-premium-header::after{
    content:"IPDI";
    position:absolute;
    right:22px;
    bottom:-39px;
    color:rgba(255,255,255,.055);
    font-size:104px;
    font-weight:900;
    line-height:1;
    letter-spacing:-.08em;
    pointer-events:none;
}

.myipdi-premium-header-copy{
    position:relative;
    z-index:1;
    min-width:0;
}

.myipdi-premium-eyebrow,
.myipdi-premium .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#e7ca87;
    font-size:8px;
    font-weight:800;
    letter-spacing:.16em;
}

.myipdi-premium-eyebrow>span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#e1b95f;
}

.myipdi-premium-header h1{
    margin:8px 0 6px;
    color:#fff;
    font-size:clamp(30px,2.65vw,39px);
    font-weight:700;
    line-height:1.08;
    letter-spacing:-.045em;
}

.myipdi-premium-wave{
    white-space:nowrap;
}

.myipdi-premium-header p{
    max-width:670px;
    margin:0;
    color:rgba(255,255,255,.74);
    font-size:11px;
    line-height:1.65;
}

.myipdi-premium-status{
    position:relative;
    z-index:2;
    flex:0 0 auto;
    min-width:125px;
    padding:9px 12px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:13px;
    background:rgba(255,255,255,.11);
    backdrop-filter:blur(7px);
}

.myipdi-premium-status .dot{
    width:7px;
    height:7px;
    flex:0 0 7px;
    border-radius:50%;
    background:#e3c476;
    box-shadow:0 0 0 4px rgba(227,196,118,.12);
}

.myipdi-premium-status span:last-child{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.myipdi-premium-status strong{
    color:#fff;
    font-size:9px;
    letter-spacing:.08em;
}

.myipdi-premium-status small{
    color:rgba(255,255,255,.62);
    font-size:7px;
}

/* ================= IDENTITY ================= */

.myipdi-premium-profile{
    position:relative;
    overflow:hidden;
    min-height:108px;
    padding:17px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:21px;
    border:1px solid #e6dfd6;
    border-radius:19px;
    background:linear-gradient(120deg,#fff,#fffdfa 67%,#fbf7ee 100%);
    box-shadow:0 12px 28px rgba(42,33,31,.045);
}

.myipdi-premium-profile::before{
    content:"";
    position:absolute;
    left:20px;
    right:20px;
    top:0;
    height:2px;
    border-radius:0 0 4px 4px;
    background:linear-gradient(90deg,var(--mp-maroon),var(--mp-gold),transparent);
}

.myipdi-premium-profile::after{
    content:"";
    position:absolute;
    right:-70px;
    top:-105px;
    width:215px;
    height:215px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(184,146,69,.10),rgba(184,146,69,0) 69%);
    pointer-events:none;
}

.myipdi-premium-profile-main{
    position:relative;
    z-index:1;
    min-width:0;
    display:flex;
    align-items:center;
    gap:13px;
}

.myipdi-premium-avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:#fff;
    background:linear-gradient(145deg,#861d3d,#a32d4b);
    box-shadow:0 7px 16px rgba(127,23,52,.15);
    font-size:18px;
    font-weight:800;
}

.myipdi-premium-profile-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.myipdi-premium-profile-copy .eyebrow{
    margin-bottom:4px;
    color:var(--mp-gold);
}

.myipdi-premium-profile-copy strong{
    color:#30363d;
    font-size:16px;
    font-weight:680;
    line-height:1.2;
}

.myipdi-premium-profile-copy small{
    margin-top:4px;
    color:#9aa1a9;
    font-size:9px;
    overflow-wrap:anywhere;
}

.myipdi-premium-profile-meta{
    position:relative;
    z-index:1;
}

.myipdi-premium-profile-meta>div{
    min-width:125px;
    padding:9px 12px;
    border:1px solid #e7decf;
    border-radius:12px;
    background:rgba(255,255,255,.8);
}

.myipdi-premium-profile-meta span{
    display:block;
    color:#a18d64;
    font-size:7px;
    font-weight:800;
    letter-spacing:.13em;
}

.myipdi-premium-profile-meta strong{
    display:block;
    margin-top:5px;
    color:var(--mp-maroon);
    font-size:12px;
    font-weight:760;
}

/* ================= SERVICES ================= */

.myipdi-premium-services{
    margin-top:24px;
}

.myipdi-premium-services-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:12px;
}

.myipdi-premium-services-heading h2{
    margin:4px 0 0;
    color:#2b333b;
    font-size:21px;
    font-weight:700;
    line-height:1.15;
    letter-spacing:-.035em;
}

.myipdi-premium-heading-line{
    width:46px;
    height:2px;
    margin-bottom:3px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--mp-maroon),var(--mp-gold));
}

.myipdi-premium-service-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.myipdi-premium-service{
    position:relative;
    min-height:135px;
    overflow:hidden;
    padding:17px 18px;
    display:flex;
    align-items:flex-start;
    gap:11px;
    border:1px solid #e7e3de;
    border-radius:18px;
    background:#fff;
    text-decoration:none;
    box-shadow:0 6px 19px rgba(37,31,31,.026);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.myipdi-premium-service:hover{
    transform:translateY(-4px);
    border-color:#d9c9ac;
    box-shadow:0 17px 32px rgba(40,31,31,.07);
}

.myipdi-premium-service::before{
    content:"";
    position:absolute;
    left:0;
    top:15px;
    bottom:15px;
    width:3px;
    border-radius:0 4px 4px 0;
}

.myipdi-premium-service.is-burgundy::before{
    background:linear-gradient(180deg,#a12649,var(--mp-maroon-deep));
}

.myipdi-premium-service.is-gold::before{
    background:linear-gradient(180deg,#d6b56c,var(--mp-gold));
}

.myipdi-premium-service.is-featured{
    background:linear-gradient(135deg,#fff5f7,#fff 60%);
    border-color:#ead2da;
}

.myipdi-premium-service::after{
    content:"";
    position:absolute;
    right:-84px;
    top:-92px;
    width:155px;
    height:155px;
    border-radius:50%;
    pointer-events:none;
}

.myipdi-premium-service.is-burgundy::after{
    background:radial-gradient(circle,rgba(127,23,52,.08),rgba(127,23,52,0) 69%);
}

.myipdi-premium-service.is-gold::after{
    background:radial-gradient(circle,rgba(184,146,69,.105),rgba(184,146,69,0) 69%);
}

.myipdi-premium-service .service-icon{
    position:relative;
    z-index:1;
    width:39px;
    height:39px;
    flex:0 0 39px;
    padding:9px;
    display:grid;
    place-items:center;
    border-radius:11px;
}

.myipdi-premium-service.is-burgundy .service-icon{
    color:var(--mp-maroon);
    background:var(--mp-maroon-soft);
    border:1px solid #efdbe1;
}

.myipdi-premium-service.is-gold .service-icon{
    color:#9b762e;
    background:var(--mp-gold-soft);
    border:1px solid #eadfc6;
}

.myipdi-premium-service .service-copy{
    position:relative;
    z-index:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    padding-top:1px;
}

.myipdi-premium-service .service-copy small{
    color:#a7a097;
    font-size:6.5px;
    font-weight:800;
    letter-spacing:.13em;
}

.myipdi-premium-service .service-copy strong{
    margin-top:5px;
    color:#30363d;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
}

.myipdi-premium-service .service-copy em{
    margin-top:5px;
    color:#949ca5;
    font-size:9.5px;
    line-height:1.48;
    font-style:normal;
}

.myipdi-premium-service .service-arrow{
    position:absolute;
    top:14px;
    right:14px;
    width:27px;
    height:27px;
    padding:7px;
    display:grid;
    place-items:center;
    border:1px solid #ebe7e1;
    border-radius:50%;
    background:#fff;
    color:var(--mp-maroon);
    box-shadow:0 5px 12px rgba(38,31,31,.05);
    transition:.2s ease;
}

.myipdi-premium-service:hover .service-arrow{
    transform:translate(2px,-2px);
    background:var(--mp-maroon);
    border-color:var(--mp-maroon);
    color:#fff;
}

.myipdi-premium-service.service-wide{
    grid-column:1/-1;
    min-height:108px;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1050px){
    .myipdi-premium{
        grid-template-columns:225px minmax(0,1fr);
    }

    .myipdi-premium-main{
        padding:26px 27px 42px;
    }
}

@media(max-width:800px){
    .myipdi-premium{
        display:block;
    }

    .myipdi-premium-sidebar{
        position:relative;
        align-self:stretch;
        height:auto;
        min-height:auto;
        max-height:none;
        overflow:visible;
        padding:14px 12px;
    }

    .myipdi-premium-nav{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .myipdi-premium-group{
        grid-column:1/-1;
    }

    .myipdi-premium-sidebar-footer{
        margin-top:12px;
    }

    .myipdi-premium-main{
        min-height:auto;
        padding:24px 16px 38px;
    }

    .myipdi-premium-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .myipdi-premium-status{
        align-self:flex-start;
    }

    .myipdi-premium-profile{
        align-items:flex-start;
        flex-direction:column;
    }

    .myipdi-premium-profile-meta{
        width:100%;
    }

    .myipdi-premium-profile-meta>div{
        width:100%;
    }

    .myipdi-premium-service-grid{
        grid-template-columns:1fr;
    }

    .myipdi-premium-service.service-wide{
        grid-column:auto;
    }
}

@media(max-width:520px){
    .myipdi-premium-nav{
        grid-template-columns:1fr;
    }

    .myipdi-premium-group{
        grid-column:auto;
    }

    .myipdi-premium-header h1{
        font-size:29px;
    }

    .myipdi-premium-header{
        padding:21px 18px;
    }

    .myipdi-premium-profile-main{
        align-items:flex-start;
    }
}

/* =========================================================
   MyIPDI SIDEBAR — PREMIUM COLOR HOVER
   ========================================================= */

/* Default hover */
.myipdi-premium-nav-item:not(.is-active):hover{
    transform:translateX(3px);
    border-color:transparent;
    box-shadow:
        0 12px 25px rgba(54,39,70,.10),
        0 4px 10px rgba(54,39,70,.04);
}

/* Ungu */
.myipdi-premium-nav-item:nth-child(2):hover,
.myipdi-premium-nav-item:nth-child(4):hover,
.myipdi-premium-nav-item:nth-child(6):hover{
    background:linear-gradient(
        135deg,
        #eee6f5 0%,
        #f7f2fa 100%
    );
    color:#75428f;
}

/* Gold */
.myipdi-premium-nav-item:nth-child(3):hover,
.myipdi-premium-nav-item:nth-child(5):hover,
.myipdi-premium-nav-item:nth-child(7):hover{
    background:linear-gradient(
        135deg,
        #f7eed9 0%,
        #fcf8ee 100%
    );
    color:#9b742c;
}

/* Icon mengikuti warna hover */
.myipdi-premium-nav-item:nth-child(2):hover .myipdi-premium-icon,
.myipdi-premium-nav-item:nth-child(4):hover .myipdi-premium-icon,
.myipdi-premium-nav-item:nth-child(6):hover .myipdi-premium-icon{
    color:#75428f;
}

.myipdi-premium-nav-item:nth-child(3):hover .myipdi-premium-icon,
.myipdi-premium-nav-item:nth-child(5):hover .myipdi-premium-icon,
.myipdi-premium-nav-item:nth-child(7):hover .myipdi-premium-icon{
    color:#9b742c;
}

/* Titik kecil premium di kanan */
.myipdi-premium-nav-item:not(.is-active):hover::after{
    content:"";
    position:absolute;
    right:11px;
    width:5px;
    height:5px;
    border-radius:50%;
    background:currentColor;
    opacity:.75;
}

/* =========================================================
           MYIPDI LOGIN — PREMIUM HEALTHCARE LOGIN
           Self-contained layout
           ========================================================= */

        .myipdi-login,
        .myipdi-login *{
            box-sizing:border-box;
        }

        html,
        body.auth-page{
            margin:0;
            padding:0;
        }

        .myipdi-login{
            --red:#8a1238;
            --red-deep:#650d29;
            --red-soft:#fff2f6;
            --gold:#d5ad58;
            --gold-light:#f1d68f;
            --ink:#1d2d45;
            --muted:#7a8798;
            --line:#e7e4df;

            position:relative;
            width:100%;
            min-height:100dvh;

            display:grid;
            grid-template-columns:minmax(0,1.08fr) minmax(500px,.92fr);

            overflow:hidden;

            background:
                linear-gradient(
                    180deg,
                    #fbfaf8 0%,
                    #f5f2ef 100%
                );

            font-family:
                Inter,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                Arial,
                sans-serif;
        }


        /* =========================================================
           LEFT PANEL
           ========================================================= */

        .myipdi-login-brand{
            position:relative;
            min-height:100dvh;
            overflow:hidden;
            isolation:isolate;

            padding:34px 58px 24px;

            color:#fff;

            background:
                linear-gradient(
                    90deg,
                    rgba(91,7,35,.98) 0%,
                    rgba(112,11,43,.96) 24%,
                    rgba(126,15,49,.80) 42%,
                    rgba(137,23,55,.42) 61%,
                    rgba(137,23,55,.12) 100%
                ),
                url("/assets/img/login-nurse-panel-final.jpg")
                    center center / cover no-repeat;
        }


        /* subtle maroon overlay */
        .myipdi-login-brand::before{
            content:"";
            position:absolute;
            inset:0;
            z-index:0;
            pointer-events:none;

            background:
                radial-gradient(
                    circle at 74% 16%,
                    rgba(255,255,255,.10),
                    transparent 23%
                ),
                linear-gradient(
                    to bottom,
                    rgba(72,4,28,.05),
                    rgba(72,4,28,.18)
                );
        }


        /* bottom wave */
        .myipdi-login-brand::after{
            content:"";
            position:absolute;
            left:-8%;
            right:-8%;
            bottom:-120px;

            height:235px;
            z-index:1;
            pointer-events:none;

            opacity:.70;

            background:
                radial-gradient(
                    ellipse at 35% 0%,
                    transparent 0 43%,
                    rgba(255,255,255,.10) 43.2%,
                    transparent 44%
                ),
                radial-gradient(
                    ellipse at 55% 5%,
                    transparent 0 52%,
                    rgba(255,255,255,.07) 52.2%,
                    transparent 53%
                ),
                linear-gradient(
                    180deg,
                    transparent,
                    rgba(65,4,27,.35)
                );

            transform:rotate(-3deg);
        }


        /* =========================================================
           PATTERN
           ========================================================= */

        .myipdi-login-pattern{
            position:absolute;
            inset:0;
            z-index:1;
            pointer-events:none;

            opacity:.12;

            background-image:
                linear-gradient(
                    30deg,
                    transparent 24%,
                    rgba(255,255,255,.40) 25%,
                    transparent 26%,
                    transparent 74%,
                    rgba(255,255,255,.40) 75%,
                    transparent 76%
                ),
                linear-gradient(
                    150deg,
                    transparent 24%,
                    rgba(255,255,255,.24) 25%,
                    transparent 26%,
                    transparent 74%,
                    rgba(255,255,255,.24) 75%,
                    transparent 76%
                );

            background-size:78px 78px;

            mask-image:
                linear-gradient(
                    to bottom,
                    #000 0%,
                    #000 72%,
                    transparent 100%
                );
        }


        /* gedung lama tidak dipakai */
        .myipdi-login-building{
            display:none !important;
        }


        /* decorative orbit */
        .myipdi-login-orbit{
            position:absolute;
            right:-230px;
            top:-250px;

            width:530px;
            height:530px;

            z-index:1;

            border:
                1px solid
                rgba(255,255,255,.10);

            border-radius:50%;
            pointer-events:none;
        }


        /* =========================================================
           LEFT CONTENT
           ========================================================= */

        .myipdi-login-content{
            position:relative;
            z-index:4;

            min-height:
                calc(100dvh - 58px);

            display:flex;
            flex-direction:column;
        }


        /* brand */
        .myipdi-login-brand-head{
            display:flex;
            align-items:center;
            gap:14px;
        }


        /* logo tanpa stroke */
        .myipdi-login-logo{
            width:62px;
            height:62px;
            flex:0 0 62px;

            display:grid;
            place-items:center;

            padding:0;

            overflow:hidden;

            border-radius:50%;

            background:transparent;

            border:0;

            box-shadow:none;
        }

        .myipdi-login-logo img{
            width:100%;
            height:100%;

            display:block;

            object-fit:contain;

            border-radius:50%;
        }


        /* brand text */
        .myipdi-login-brand-text{
            display:flex;
            flex-direction:column;
            min-width:0;
        }

        .myipdi-login-brand-text strong{
            color:#fff;

            font-size:25px;
            line-height:1;
            font-weight:800;

            letter-spacing:-.04em;
        }

        .myipdi-login-brand-text span{
            margin-top:6px;

            color:
                rgba(255,255,255,.76);

            font-size:10.5px;
            line-height:1.3;
        }


        /* =========================================================
           BRAND COPY
           ========================================================= */

        .myipdi-login-copy{
            max-width:690px;

            margin-top:auto;
            margin-bottom:auto;

            padding:
                30px
                30px
                22px
                0;
        }

        .myipdi-login-eyebrow{
            display:inline-flex;
            align-items:center;
            gap:9px;

            color:var(--gold-light);

            font-size:10px;
            line-height:1;

            font-weight:900;

            letter-spacing:.18em;
        }

        .myipdi-login-eyebrow::before{
            content:"";

            width:27px;
            height:1px;

            background:
                rgba(241,214,143,.85);
        }


        .myipdi-login-copy h1{
            margin:
                20px
                0
                17px;

            max-width:690px;

            color:#fff;

            font-size:
                clamp(
                    43px,
                    4.35vw,
                    67px
                );

            line-height:.96;

            font-weight:800;

            letter-spacing:-.06em;
        }

        .myipdi-login-copy h1 em{
            color:#f2d996;
            font-style:normal;
        }

        .myipdi-login-copy p{
            max-width:580px;

            margin:0;

            color:
                rgba(255,255,255,.84);

            font-size:14px;

            line-height:1.72;
        }


        /* =========================================================
           FOUR FEATURES
           ========================================================= */

        .myipdi-login-features{
            display:grid;

            grid-template-columns:
                repeat(
                    4,
                    minmax(0,1fr)
                );

            gap:0;

            max-width:700px;

            margin-top:4px;

            padding-bottom:7px;
        }

        .myipdi-login-feature{
            min-width:0;

            padding:
                0
                17px;

            border-right:
                1px solid
                rgba(255,255,255,.15);
        }

        .myipdi-login-feature:first-child{
            padding-left:0;
        }

        .myipdi-login-feature:last-child{
            padding-right:0;
            border-right:0;
        }

        .myipdi-login-feature-number{
            display:block;

            margin-bottom:8px;

            color:
                var(--gold-light);

            font-size:9px;

            font-weight:900;

            letter-spacing:.14em;
        }

        .myipdi-login-feature strong{
            display:block;

            color:
                rgba(255,255,255,.94);

            font-size:10.5px;

            line-height:1.45;

            font-weight:700;
        }


        /* =========================================================
           BRAND FOOTER
           ========================================================= */

        .myipdi-login-brand-footer{
            display:flex;

            align-items:center;

            flex-wrap:wrap;

            gap:8px 13px;

            margin-top:auto;

            padding-top:20px;

            color:
                rgba(255,255,255,.62);

            font-size:10px;
        }

        .myipdi-login-brand-footer strong{
            color:#fff;
        }

        .myipdi-login-brand-footer-dot{
            color:var(--gold-light);
        }


        /* =========================================================
           RIGHT PANEL
           ========================================================= */

        .myipdi-login-form-area{
            position:relative;

            min-height:100dvh;

            display:flex;

            align-items:center;

            justify-content:center;

            padding:
                24px
                36px
                42px;

            background:
                radial-gradient(
                    circle at 8% 8%,
                    rgba(204,163,76,.07),
                    transparent 23%
                ),
                linear-gradient(
                    180deg,
                    #fcfbfa 0%,
                    #f7f4f1 100%
                );

            overflow:auto;
        }


        /* =========================================================
           CARD
           ========================================================= */

        .myipdi-login-card{
            width:100%;
            max-width:510px;

            padding:
                29px
                31px
                23px;

            border:
                1px solid
                #e8e3de;

            border-radius:24px;

            background:
                rgba(255,255,255,.97);

            box-shadow:
                0 26px 60px
                rgba(39,31,33,.09),

                0 5px 16px
                rgba(72,43,52,.035);

            backdrop-filter:blur(10px);
        }


        /* header */
        .myipdi-login-card-head{
            margin-bottom:17px;
        }

        .myipdi-login-card-eyebrow{
            display:block;

            margin-bottom:8px;

            color:
                #c18d2c;

            font-size:9px;

            font-weight:900;

            letter-spacing:.19em;
        }

        .myipdi-login-card h2{
            margin:0;

            color:var(--ink);

            font-size:34px;

            line-height:1.03;

            font-weight:780;

            letter-spacing:-.05em;
        }

        .myipdi-login-card h2::after{
            content:"";

            display:block;

            width:42px;
            height:2px;

            margin-top:12px;

            border-radius:999px;

            background:
                linear-gradient(
                    90deg,
                    var(--red),
                    var(--gold)
                );
        }

        .myipdi-login-card-head p{
            margin:
                9px
                0
                0;

            color:var(--muted);

            font-size:11.5px;

            line-height:1.65;
        }


        /* =========================================================
           FORM
           ========================================================= */

        .myipdi-login-form{
            display:grid;
            gap:12px;
        }

        .myipdi-login-field{
            min-width:0;
        }

        .myipdi-login-field label,
        .myipdi-login-label-row{
            display:flex;

            align-items:center;

            justify-content:space-between;

            gap:10px;

            margin-bottom:6px;

            color:#3c4552;

            font-size:9.5px;

            line-height:1.2;

            font-weight:850;

            letter-spacing:.05em;
        }

        .myipdi-login-label-row a{
            color:var(--red);

            font-size:9.5px;

            font-weight:800;

            letter-spacing:0;
        }


        .myipdi-login-field input{
            width:100%;

            height:48px;

            border:
                1px solid
                #ddd9d4;

            border-radius:12px;

            background:#fff;

            color:#253246;

            padding:
                0
                13px;

            outline:none;

            font-size:12.5px;

            transition:
                border-color .18s ease,
                box-shadow .18s ease,
                background .18s ease;
        }

        .myipdi-login-field input::placeholder{
            color:#9aa3ae;
        }

        .myipdi-login-field input:focus{
            border-color:
                var(--red);

            background:#fff;

            box-shadow:
                0
                0
                0
                4px
                rgba(138,18,56,.075);
        }


        /* =========================================================
           PASSWORD
           ========================================================= */

        .myipdi-login-password{
            position:relative;
        }

        .myipdi-login-password input{
            padding-right:48px;
        }

        .myipdi-login-password-toggle{
            position:absolute;

            right:6px;
            top:6px;

            width:36px;
            height:36px;

            display:grid;
            place-items:center;

            border:0;

            border-radius:9px;

            background:transparent;

            color:#87919e;

            cursor:pointer;

            transition:
                background .18s ease,
                color .18s ease;
        }

        .myipdi-login-password-toggle:hover{
            background:var(--red-soft);
            color:var(--red);
        }

        .myipdi-login-password-toggle svg{
            width:17px;
            height:17px;

            fill:none;

            stroke:currentColor;

            stroke-width:1.8;

            stroke-linecap:round;

            stroke-linejoin:round;
        }


        /* =========================================================
           CAPTCHA
           ========================================================= */

        .myipdi-login-refresh-text{
            border:0;

            padding:0;

            background:transparent;

            color:var(--red);

            font:inherit;

            font-size:9.5px;

            font-weight:800;

            cursor:pointer;
        }

        .myipdi-login-captcha-grid{
            display:grid;

            grid-template-columns:
                minmax(0,1fr)
                auto;

            gap:8px;

            align-items:center;
        }

        .myipdi-login-field-input{
            min-width:0;
        }

        .myipdi-login-captcha-tools{
            display:flex;

            align-items:stretch;

            gap:6px;
        }

        .myipdi-login-captcha-image{
            width:142px;
            height:48px;

            display:block;

            object-fit:cover;

            border:
                1px solid
                #dedfe2;

            border-radius:11px;

            background:#f7f8fa;
        }

        .myipdi-login-captcha-refresh{
            width:40px;
            height:48px;

            display:grid;
            place-items:center;

            border:
                1px solid
                #ded9d4;

            border-radius:11px;

            background:#fff;

            color:var(--red);

            font-size:17px;

            cursor:pointer;

            transition:
                background .18s ease,
                border-color .18s ease,
                transform .18s ease;
        }

        .myipdi-login-captcha-refresh:hover{
            background:var(--red-soft);

            border-color:
                #d9aab6;

            transform:rotate(-8deg);
        }


        /* =========================================================
           SECURITY NOTE
           ========================================================= */

        .myipdi-login-security{
            display:flex;

            align-items:flex-start;

            gap:9px;

            padding:
                9px
                11px;

            border:
                1px solid
                #ebe6e1;

            border-radius:11px;

            background:
                linear-gradient(
                    135deg,
                    #fcfaf7,
                    #fffdfb
                );

            color:#7b8692;

            font-size:8.6px;

            line-height:1.5;
        }

        .myipdi-login-security-icon{
            flex:0 0 auto;

            width:22px;
            height:22px;

            display:grid;
            place-items:center;

            border-radius:7px;

            background:#fff5de;

            color:#c18d2c;
        }

        .myipdi-login-security-icon svg{
            width:13px;
            height:13px;

            fill:none;

            stroke:currentColor;

            stroke-width:1.8;

            stroke-linecap:round;

            stroke-linejoin:round;
        }

        .myipdi-login-security strong{
            color:#5a6470;
        }


        /* =========================================================
           MESSAGE
           ========================================================= */

        .myipdi-login-message{
            min-height:14px;

            color:#b42318;

            font-size:10.5px;

            line-height:1.4;
        }

        .myipdi-login-message.success{
            color:#19734d;
        }


        /* =========================================================
           BUTTON
           ========================================================= */

        .myipdi-login-submit{
            width:100%;

            height:50px;

            border:0;

            border-radius:12px;

            background:
                linear-gradient(
                    135deg,
                    #8b1239,
                    #ae1f4c
                );

            color:#fff;

            font-size:11.5px;

            font-weight:850;

            letter-spacing:.035em;

            cursor:pointer;

            box-shadow:
                0 13px 25px
                rgba(139,18,57,.19);

            transition:
                transform .18s ease,
                box-shadow .18s ease,
                opacity .18s ease;
        }

        .myipdi-login-submit:hover{
            transform:translateY(-1px);

            box-shadow:
                0 17px 30px
                rgba(139,18,57,.24);
        }

        .myipdi-login-submit:disabled{
            opacity:.65;

            cursor:wait;

            transform:none;
        }


        /* =========================================================
           REGISTER
           ========================================================= */

        .myipdi-login-register{
            text-align:center;

            color:#8b939d;

            font-size:10px;

            line-height:1.5;
        }

        .myipdi-login-register a{
            color:var(--red);

            font-weight:850;
        }


        /* =========================================================
           FOOTER
           ========================================================= */

        .myipdi-login-footer{
            position:absolute;

            left:50%;
            bottom:11px;

            transform:
                translateX(-50%);

            width:max-content;

            max-width:
                calc(100% - 30px);

            color:#a0a6ad;

            font-size:8px;
        }


        /* =========================================================
           RESPONSIVE — TABLET
           ========================================================= */

        @media(max-width:1100px){

            .myipdi-login{
                grid-template-columns:
                    minmax(0,1fr)
                    minmax(440px,.92fr);
            }

            .myipdi-login-brand{
                padding-left:42px;
                padding-right:38px;
            }

            .myipdi-login-copy h1{
                font-size:
                    clamp(
                        39px,
                        4.2vw,
                        56px
                    );
            }

            .myipdi-login-features{
                max-width:620px;
            }

            .myipdi-login-feature{
                padding-left:11px;
                padding-right:11px;
            }

            .myipdi-login-card{
                max-width:475px;
                padding:27px 27px 21px;
            }
        }


        /* =========================================================
           RESPONSIVE — MOBILE
           ========================================================= */

        @media(max-width:900px){

            .myipdi-login{
                display:block;
                overflow:auto;
            }

            .myipdi-login-brand{
                min-height:470px;

                background-position:
                    64% center;

                padding:
                    28px
                    25px
                    24px;
            }

            .myipdi-login-content{
                min-height:418px;
            }

            .myipdi-login-copy{
                margin-top:auto;
                margin-bottom:auto;
                padding:
                    34px
                    0
                    18px;
            }

            .myipdi-login-copy h1{
                font-size:46px;
            }

            .myipdi-login-copy p{
                font-size:13px;
            }

            .myipdi-login-form-area{
                min-height:auto;
                flex-direction:column;

                padding:
                    26px
                    18px
                    43px;
            }

            .myipdi-login-footer{
                position:static;

                transform:none;

                width:auto;

                max-width:none;

                margin-top:11px;

                text-align:center;
            }
        }


        /* =========================================================
           RESPONSIVE — SMALL MOBILE
           ========================================================= */

        @media(max-width:620px){

            .myipdi-login-brand{
                min-height:455px;

                padding:
                    23px
                    18px
                    21px;

                background-position:
                    66% center;
            }

            .myipdi-login-content{
                min-height:410px;
            }

            .myipdi-login-brand-head{
                gap:10px;
            }

            .myipdi-login-logo{
                width:52px;
                height:52px;

                flex-basis:52px;
            }

            .myipdi-login-brand-text strong{
                font-size:21px;
            }

            .myipdi-login-brand-text span{
                font-size:9px;
            }

            .myipdi-login-copy{
                padding-top:26px;
                padding-bottom:13px;
            }

            .myipdi-login-eyebrow{
                font-size:8.5px;
            }

            .myipdi-login-copy h1{
                font-size:39px;

                margin-top:17px;
            }

            .myipdi-login-copy p{
                font-size:12.5px;
                line-height:1.65;
            }

            .myipdi-login-features{
                grid-template-columns:1fr 1fr;

                row-gap:14px;

                margin-top:4px;
            }

            .myipdi-login-feature{
                padding:0;

                border-right:0;
            }

            .myipdi-login-feature strong{
                font-size:9.5px;
            }

            .myipdi-login-brand-footer{
                font-size:8.5px;
            }

            .myipdi-login-form-area{
                padding:
                    20px
                    14px
                    35px;
            }

            .myipdi-login-card{
                padding:
                    25px
                    19px
                    21px;

                border-radius:20px;
            }

            .myipdi-login-card h2{
                font-size:29px;
            }

            .myipdi-login-captcha-grid{
                grid-template-columns:1fr;
            }

            .myipdi-login-captcha-tools{
                width:100%;
            }

            .myipdi-login-captcha-image{
                flex:1;
                width:auto;
            }

        }


/* =========================================================
   MUTASI ANGGOTA — SUBMENU MODERN + ICON
   Tambahan scoped khusus untuk dua submenu mutasi.
   ========================================================= */

.myipdi-premium-submenu{
    margin:6px 0 7px 26px;
    padding:3px 0 3px 12px;
    gap:6px;
    border-left:1px solid #e8e0d2;
}

.myipdi-premium-mutation-link{
    position:relative;
    min-height:52px;
    width:100%;
    padding:8px 8px 8px 8px;
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid #ebe6df;
    border-radius:14px;
    background:linear-gradient(135deg,#fff 0%,#fcfaf8 100%);
    color:#747c86;
    box-shadow:0 6px 14px rgba(36,29,31,.045);
    text-decoration:none;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}

.myipdi-premium-mutation-link:hover{
    transform:translateY(-1px);
    border-color:#e7d9c2;
    background:linear-gradient(135deg,#fffaf4 0%,#fff 100%);
    color:var(--mp-maroon);
    box-shadow:0 10px 20px rgba(36,29,31,.075);
}

.myipdi-premium-mutation-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:var(--mp-maroon);
    background:linear-gradient(135deg,#fbf0f3 0%,#f8e8ec 100%);
    border:1px solid #ead7de;
    box-shadow:0 3px 8px rgba(127,23,52,.07);
}

.myipdi-premium-mutation-link:nth-child(2) .myipdi-premium-mutation-icon{
    color:#9b742c;
    background:linear-gradient(135deg,#f8f0df 0%,#f3e8cc 100%);
    border-color:#e8ddc4;
}

.myipdi-premium-mutation-icon svg{
    width:14px!important;
    height:14px!important;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-premium-mutation-copy{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:2px;
}

.myipdi-premium-mutation-copy strong{
    display:block;
    overflow:hidden;
    color:#616975;
    font-size:8.8px;
    line-height:1.25;
    font-weight:800;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.myipdi-premium-mutation-copy small{
    display:block;
    overflow:hidden;
    color:#a0a6ad;
    font-size:7.2px;
    line-height:1.25;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.myipdi-premium-mutation-link:hover .myipdi-premium-mutation-copy strong{
    color:var(--mp-maroon);
}

.myipdi-premium-mutation-link:nth-child(2):hover .myipdi-premium-mutation-copy strong{
    color:#9b742c;
}

.myipdi-premium-mutation-arrow{
    width:14px;
    height:14px;
    flex:0 0 14px;
    display:grid;
    place-items:center;
    color:#b0a79a;
    border-radius:50%;
}

.myipdi-premium-mutation-arrow svg{
    width:100%!important;
    height:100%!important;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-premium-mutation-link:hover .myipdi-premium-mutation-arrow{
    color:var(--mp-maroon);
}

.myipdi-premium-mutation-link:nth-child(2):hover .myipdi-premium-mutation-arrow{
    color:#9b742c;
}

@media(max-width:620px){
    .myipdi-premium-mutation-link{
        min-height:50px;
        padding:7px;
    }

    .myipdi-premium-mutation-copy strong{
        font-size:8.5px;
    }

    .myipdi-premium-mutation-copy small{
        font-size:7px;
    }
}

/* =========================================================
   MyIPDI MEMBER — PROFILE PAGE
   ========================================================= */

.myipdi-profile-page{
    min-height:100vh;
}

.myipdi-profile-page .myipdi-premium-main{
    min-width:0;
}

.myipdi-profile-alert{
    margin:0 0 16px;
    padding:12px 15px;
    border-radius:13px;
    font-size:11px;
    line-height:1.5;
    font-weight:700;
}

.myipdi-profile-alert.is-success{
    background:#eefaf3;
    border:1px solid #d7efdf;
    color:#18794e;
}

.myipdi-profile-alert.is-error{
    background:#fff2f3;
    border:1px solid #f0d4d9;
    color:#b42343;
}

/* ================= PROFILE HERO ================= */

.myipdi-profile-hero-card{
    position:relative;
    overflow:hidden;
    margin-bottom:18px;
    padding:22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    background:#fff;
    border:1px solid var(--mp-line);
    border-radius:22px;
    box-shadow:0 10px 28px rgba(40,31,31,.035);
}

.myipdi-profile-hero-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:4px;
    background:linear-gradient(
        180deg,
        var(--mp-maroon),
        var(--mp-gold)
    );
}

.myipdi-profile-hero-card::after{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    right:-95px;
    top:-110px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(184,146,69,.09),
        transparent 70%
    );
    pointer-events:none;
}

.myipdi-profile-hero-main{
    position:relative;
    z-index:1;
    min-width:0;
    display:flex;
    align-items:center;
    gap:16px;
}

.myipdi-profile-photo-wrap{
    width:86px;
    height:86px;
    flex:0 0 86px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:22px;
    background:linear-gradient(
        145deg,
        #861d3d,
        #a32d4b
    );
    box-shadow:
        0 9px 22px rgba(127,23,52,.16),
        0 0 0 5px #fff,
        0 0 0 6px #eadbd0;
}

.myipdi-profile-photo{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}

.myipdi-profile-avatar{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:30px;
    font-weight:800;
}

.myipdi-profile-hero-copy{
    min-width:0;
}

.myipdi-profile-hero-copy .eyebrow{
    display:block;
    margin-bottom:7px;
    color:var(--mp-gold);
    font-size:8px;
    font-weight:800;
    letter-spacing:.15em;
}

.myipdi-profile-hero-copy h2{
    margin:0;
    color:#2b333b;
    font-size:24px;
    line-height:1.15;
    letter-spacing:-.035em;
}

.myipdi-profile-hero-copy>p{
    margin:6px 0 0;
    color:#8e97a2;
    font-size:11px;
    overflow-wrap:anywhere;
}

.myipdi-profile-mini-meta{
    margin-top:12px;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.myipdi-profile-mini-meta span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:6px 9px;
    border:1px solid #ebe5dc;
    border-radius:9px;
    background:#fcfaf7;
    color:#a18d64;
    font-size:7px;
    font-weight:800;
    letter-spacing:.08em;
}

.myipdi-profile-mini-meta strong{
    color:var(--mp-maroon);
    font-size:9px;
    letter-spacing:0;
}

.myipdi-profile-photo-actions{
    position:relative;
    z-index:2;
    flex:0 0 auto;
    min-width:250px;
}

.myipdi-profile-upload-form{
    display:flex;
    align-items:center;
    gap:9px;
}

.myipdi-profile-file-input{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

.myipdi-profile-file-label{
    min-height:46px;
    padding:7px 11px;
    display:flex;
    align-items:center;
    gap:9px;
    flex:1;
    cursor:pointer;
    border:1px solid #e5ddd3;
    border-radius:13px;
    background:#fffdfa;
    transition:.2s ease;
}

.myipdi-profile-file-label:hover{
    border-color:#d8c49f;
    background:#fffcf5;
}

.myipdi-profile-file-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:grid;
    place-items:center;
    color:var(--mp-maroon);
    background:var(--mp-maroon-soft);
    border-radius:9px;
}

.myipdi-profile-file-icon svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-profile-file-label strong{
    display:block;
    color:#37404a;
    font-size:10px;
    font-weight:800;
}

.myipdi-profile-file-label small{
    display:block;
    margin-top:2px;
    color:#9ba2aa;
    font-size:8px;
}

.myipdi-profile-primary-btn,
.myipdi-profile-secondary-btn{
    min-height:44px;
    border:0;
    border-radius:12px;
    padding:0 15px;
    cursor:pointer;
    font:inherit;
    font-size:10px;
    font-weight:800;
    transition:.2s ease;
}

.myipdi-profile-primary-btn{
    flex:0 0 auto;
    color:#fff;
    background:linear-gradient(
        135deg,
        #7d1735,
        #a52d4a
    );
    box-shadow:0 9px 20px rgba(127,23,52,.14);
}

.myipdi-profile-primary-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(127,23,52,.18);
}


/* ================= CONTENT GRID ================= */

.myipdi-profile-content-grid{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
    gap:18px;
    align-items:start;
}

.myipdi-profile-side-column{
    display:grid;
    gap:18px;
}

.myipdi-profile-card{
    min-width:0;
    padding:21px;
    background:#fff;
    border:1px solid var(--mp-line);
    border-radius:20px;
    box-shadow:0 9px 25px rgba(40,31,31,.03);
}

.myipdi-profile-card-heading{
    margin-bottom:18px;
}

.myipdi-profile-card-heading .eyebrow{
    display:block;
    margin-bottom:6px;
    color:var(--mp-gold);
    font-size:7px;
    font-weight:800;
    letter-spacing:.16em;
}

.myipdi-profile-card-heading h2{
    margin:0;
    color:#2c343c;
    font-size:18px;
    line-height:1.2;
    letter-spacing:-.03em;
}

.myipdi-profile-card-heading p{
    margin:7px 0 0;
    color:#929aa4;
    font-size:10px;
    line-height:1.6;
}


/* ================= DATA ================= */

.myipdi-profile-data-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.myipdi-profile-data-item{
    min-width:0;
    padding:13px 14px;
    border:1px solid #eee9e2;
    border-radius:14px;
    background:#fcfbf9;
}

.myipdi-profile-data-item.is-wide{
    grid-column:1/-1;
}

.myipdi-profile-data-item>span:first-child{
    display:block;
    color:#a49784;
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
}

.myipdi-profile-data-item>strong{
    display:block;
    margin-top:6px;
    color:#323a42;
    font-size:12px;
    font-weight:750;
    line-height:1.4;
    overflow-wrap:anywhere;
}

.myipdi-profile-data-item>small{
    display:block;
    margin-top:4px;
    color:#a4abb2;
    font-size:8px;
    line-height:1.45;
}

.myipdi-profile-status{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:5px 9px;
    border-radius:999px;
    font-size:8px;
    font-weight:900;
    letter-spacing:.04em;
}

.myipdi-profile-status.is-success{
    color:#18794e;
    background:#eefaf3;
    border:1px solid #d6efdf;
}

.myipdi-profile-status.is-warning{
    color:#b54708;
    background:#fff7ed;
    border:1px solid #f4dfc1;
}

.myipdi-profile-status.is-danger{
    color:#b42343;
    background:#fff1f3;
    border:1px solid #efd4da;
}

.myipdi-profile-status.is-neutral{
    color:#667085;
    background:#f2f4f7;
    border:1px solid #e4e7ec;
}


/* ================= FORMS ================= */

.myipdi-profile-form{
    display:grid;
    gap:13px;
}

.myipdi-profile-form label{
    display:block;
}

.myipdi-profile-form-label{
    display:block;
    margin-bottom:6px;
    color:#475467;
    font-size:9px;
    font-weight:800;
}

.myipdi-profile-input-wrap{
    position:relative;
}

.myipdi-profile-input-icon{
    position:absolute;
    left:11px;
    top:50%;
    width:15px;
    height:15px;
    display:grid;
    place-items:center;
    color:#a18d64;
    transform:translateY(-50%);
    pointer-events:none;
}

.myipdi-profile-input-icon svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-profile-input-wrap input{
    width:100%;
    min-height:44px;
    padding:0 12px 0 34px;
    border:1px solid #e2dfda;
    border-radius:12px;
    background:#fff;
    color:#303840;
    font:inherit;
    font-size:10px;
    outline:none;
    transition:.18s ease;
}

.myipdi-profile-input-wrap input:focus{
    border-color:var(--mp-maroon);
    box-shadow:0 0 0 4px rgba(127,23,52,.07);
}

.myipdi-profile-secondary-btn{
    width:100%;
    color:var(--mp-maroon);
    background:linear-gradient(
        135deg,
        #fbf0f3,
        #fff8f9
    );
    border:1px solid #ecdde1;
}

.myipdi-profile-secondary-btn:hover{
    background:#fff1f4;
    border-color:#dfc5cd;
    transform:translateY(-1px);
}


/* ================= RESPONSIVE ================= */

@media(max-width:1050px){

    .myipdi-profile-content-grid{
        grid-template-columns:1fr;
    }

    .myipdi-profile-side-column{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:820px){

    .myipdi-profile-hero-card{
        flex-direction:column;
        align-items:stretch;
    }

    .myipdi-profile-photo-actions{
        min-width:0;
    }

    .myipdi-profile-upload-form{
        width:100%;
    }

    .myipdi-profile-side-column{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){

    .myipdi-premium-main{
        padding:20px 18px 35px;
    }

    .myipdi-profile-hero-card{
        padding:18px;
        border-radius:18px;
    }

    .myipdi-profile-hero-main{
        align-items:flex-start;
    }

    .myipdi-profile-photo-wrap{
        width:70px;
        height:70px;
        flex-basis:70px;
        border-radius:18px;
    }

    .myipdi-profile-hero-copy h2{
        font-size:20px;
    }

    .myipdi-profile-upload-form{
        flex-direction:column;
        align-items:stretch;
    }

    .myipdi-profile-primary-btn{
        width:100%;
    }

    .myipdi-profile-data-grid{
        grid-template-columns:1fr;
    }

    .myipdi-profile-data-item.is-wide{
        grid-column:auto;
    }

    .myipdi-profile-card{
        padding:17px;
        border-radius:18px;
    }
}

/* =========================================================
   MyIPDI PROFILE — SINGLE COLUMN LAYOUT
   ========================================================= */

.myipdi-profile-content-grid{
    grid-template-columns:1fr;
}

.myipdi-profile-side-column{
    grid-template-columns:1fr;
}

/* =========================================================
   MyIPDI PROFILE — PREMIUM VISUAL ENHANCEMENT
   ========================================================= */

.myipdi-profile-page{
    position:relative;
}

.myipdi-profile-page::before{
    content:"";
    position:fixed;
    top:80px;
    right:-140px;
    width:360px;
    height:360px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(184,146,69,.075),
        rgba(184,146,69,0) 70%
    );
    pointer-events:none;
    z-index:0;
}

.myipdi-profile-page::after{
    content:"";
    position:fixed;
    left:245px;
    bottom:-120px;
    width:300px;
    height:300px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(127,23,52,.035),
        rgba(127,23,52,0) 70%
    );
    pointer-events:none;
    z-index:0;
}

.myipdi-profile-page .myipdi-premium-main{
    position:relative;
    z-index:1;
}


/* =========================================================
   PROFILE HERO
   ========================================================= */

.myipdi-profile-hero-card{
    border-color:#e4d8ca;
    background:
        linear-gradient(
            135deg,
            #fff,
            #fffdfa 55%,
            #faf4ec
        );
    box-shadow:
        0 15px 40px rgba(67,45,35,.055),
        0 3px 10px rgba(67,45,35,.025);
}

.myipdi-profile-hero-card::before{
    width:5px;
    background:
        linear-gradient(
            180deg,
            #7d1735 0%,
            #a52d4a 50%,
            #c4a35e 100%
        );
}

.myipdi-profile-hero-main{
    gap:18px;
}

.myipdi-profile-photo-wrap{
    position:relative;
    border-radius:24px;
    box-shadow:
        0 10px 25px rgba(127,23,52,.16),
        0 0 0 5px #fff,
        0 0 0 7px rgba(184,146,69,.22);
}

.myipdi-profile-photo-wrap::after{
    content:"";
    position:absolute;
    right:-3px;
    bottom:-3px;
    width:17px;
    height:17px;
    border-radius:50%;
    background:#38a169;
    border:3px solid #fff;
    box-shadow:0 3px 8px rgba(0,0,0,.1);
}

.myipdi-profile-avatar{
    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(255,255,255,.17),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #7d1735,
            #a52d4a
        );
}

.myipdi-profile-hero-copy h2{
    font-size:27px;
    letter-spacing:-.045em;
}

.myipdi-profile-hero-copy>p{
    font-size:11px;
    color:#7f8994;
}

.myipdi-profile-mini-meta{
    gap:7px;
}

.myipdi-profile-mini-meta span{
    padding:7px 10px;
    background:rgba(255,255,255,.72);
    box-shadow:0 3px 10px rgba(63,46,34,.025);
}


/* =========================================================
   UPLOAD AREA
   ========================================================= */

.myipdi-profile-photo-actions{
    min-width:275px;
}

.myipdi-profile-upload-form{
    padding:9px;
    border:1px solid #e8ddd2;
    border-radius:17px;
    background:rgba(255,255,255,.72);
    box-shadow:0 7px 20px rgba(50,35,27,.03);
}

.myipdi-profile-file-label{
    border:0;
    background:transparent;
}

.myipdi-profile-file-label:hover{
    background:#fff8f1;
}

.myipdi-profile-file-icon{
    width:34px;
    height:34px;
    flex-basis:34px;
    border-radius:10px;
    background:#f8edf0;
}

.myipdi-profile-primary-btn{
    min-height:43px;
    padding:0 17px;
    background:
        linear-gradient(
            135deg,
            #7b1734,
            #a72e4b
        );
}

.myipdi-profile-primary-btn:hover{
    transform:translateY(-2px);
}


/* =========================================================
   INFORMATION CARD
   ========================================================= */

.myipdi-profile-card{
    position:relative;
    overflow:hidden;
    border-color:#e5ddd3;
    background:
        linear-gradient(
            180deg,
            #fff,
            #fefdfb
        );
    box-shadow:
        0 10px 28px rgba(45,35,30,.032);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.myipdi-profile-card:hover{
    transform:translateY(-2px);
    border-color:#dfd1c0;
    box-shadow:
        0 18px 35px rgba(45,35,30,.055);
}

.myipdi-profile-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:3px;
    background:
        linear-gradient(
            90deg,
            #7d1735,
            #b89245 55%,
            transparent
        );
}

.myipdi-profile-card-heading{
    position:relative;
    padding-bottom:15px;
    border-bottom:1px solid #f0ebe5;
}

.myipdi-profile-card-heading h2{
    font-size:20px;
}

.myipdi-profile-card-heading p{
    max-width:700px;
}


/* =========================================================
   MEMBER DATA BOXES
   ========================================================= */

.myipdi-profile-data-grid{
    gap:11px;
}

.myipdi-profile-data-item{
    position:relative;
    overflow:hidden;
    min-height:86px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:15px 16px;
    background:
        linear-gradient(
            135deg,
            #fff,
            #fcfaf7
        );
    border-color:#ebe4db;
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.myipdi-profile-data-item::after{
    content:"";
    position:absolute;
    right:-22px;
    bottom:-28px;
    width:78px;
    height:78px;
    border-radius:50%;
    background:rgba(184,146,69,.045);
    pointer-events:none;
}

.myipdi-profile-data-item:hover{
    transform:translateY(-2px);
    border-color:#dccdb8;
    box-shadow:0 9px 18px rgba(52,40,31,.045);
}

.myipdi-profile-data-item>strong{
    font-size:13px;
}

.myipdi-profile-data-item>small{
    margin-top:5px;
}

.myipdi-profile-data-item.is-wide{
    min-height:92px;
    background:
        linear-gradient(
            135deg,
            #fff9f4,
            #fff
        );
}


/* =========================================================
   PAYMENT STATUS
   ========================================================= */

.myipdi-profile-status{
    position:relative;
    padding-left:10px;
    padding-right:10px;
    font-size:8px;
    box-shadow:0 3px 8px rgba(55,44,35,.035);
}

.myipdi-profile-status::before{
    content:"";
    width:5px;
    height:5px;
    margin-right:6px;
    border-radius:50%;
    background:currentColor;
}


/* =========================================================
   EMAIL / SECURITY CARDS
   ========================================================= */

.myipdi-profile-side-column{
    gap:18px;
}

.myipdi-profile-side-column .myipdi-profile-card{
    padding:22px;
}

.myipdi-profile-side-column .myipdi-profile-card:first-child::before{
    background:
        linear-gradient(
            90deg,
            #b89245,
            #d7c18d,
            transparent
        );
}

.myipdi-profile-side-column .myipdi-profile-card:last-child::before{
    background:
        linear-gradient(
            90deg,
            #7d1735,
            #a52d4a,
            transparent
        );
}

.myipdi-profile-side-column .myipdi-profile-card:first-child
.myipdi-profile-card-heading::after{
    content:"EMAIL";
    display:inline-flex;
    margin-top:11px;
    padding:5px 8px;
    border-radius:999px;
    color:#9b7b38;
    background:#fbf5e9;
    border:1px solid #eee3c9;
    font-size:7px;
    font-weight:900;
    letter-spacing:.12em;
}

.myipdi-profile-side-column .myipdi-profile-card:last-child
.myipdi-profile-card-heading::after{
    content:"PROTECTED ACCOUNT";
    display:inline-flex;
    margin-top:11px;
    padding:5px 8px;
    border-radius:999px;
    color:#8a2341;
    background:#f9edf1;
    border:1px solid #ecd7de;
    font-size:7px;
    font-weight:900;
    letter-spacing:.1em;
}


/* =========================================================
   FORM INPUT
   ========================================================= */

.myipdi-profile-input-wrap input{
    min-height:47px;
    border-color:#e3ddd5;
    background:#fffdfa;
}

.myipdi-profile-input-wrap input:hover{
    border-color:#d7caba;
}

.myipdi-profile-input-wrap input:focus{
    border-color:#8e2140;
    box-shadow:
        0 0 0 4px rgba(127,23,52,.06),
        0 4px 12px rgba(50,35,27,.025);
}

.myipdi-profile-form-label{
    color:#5a6470;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.myipdi-profile-secondary-btn{
    min-height:46px;
    color:#fff;
    border:0;
    background:
        linear-gradient(
            135deg,
            #7d1735,
            #a52d4a
        );
    box-shadow:
        0 8px 18px rgba(127,23,52,.1);
}

.myipdi-profile-secondary-btn:hover{
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #71132f,
            #962541
        );
    border-color:transparent;
    box-shadow:
        0 12px 24px rgba(127,23,52,.15);
    transform:translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:820px){

    .myipdi-profile-photo-actions{
        min-width:0;
    }

    .myipdi-profile-upload-form{
        background:#fff;
    }
}

@media(max-width:620px){

    .myipdi-profile-hero-copy h2{
        font-size:21px;
    }

    .myipdi-profile-photo-wrap{
        box-shadow:
            0 8px 20px rgba(127,23,52,.14),
            0 0 0 4px #fff,
            0 0 0 5px rgba(184,146,69,.2);
    }

    .myipdi-profile-card{
        padding:18px;
    }

    .myipdi-profile-side-column .myipdi-profile-card{
        padding:18px;
    }
}

/* =========================================================
   PROFILE PHOTO — CLEAN / NO FRAME / NO STATUS DOT
   ========================================================= */

.myipdi-profile-photo-wrap{
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:transparent !important;
}

.myipdi-profile-photo-wrap::before,
.myipdi-profile-photo-wrap::after{
    display:none !important;
    content:none !important;
}

.myipdi-profile-photo{
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

/* =========================================================
   MYIPDI PROFILE PHOTO CROP MODAL
   ========================================================= */

.myipdi-profile-crop-open{
    overflow:hidden !important;
}

.myipdi-profile-crop-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.myipdi-profile-crop-modal[hidden]{
    display:none !important;
}

.myipdi-profile-crop-backdrop{
    position:absolute;
    inset:0;
    background:rgba(24,17,18,.72);
    backdrop-filter:blur(7px);
    -webkit-backdrop-filter:blur(7px);
}

.myipdi-profile-crop-dialog{
    position:relative;
    z-index:2;
    width:min(700px,100%);
    max-height:calc(100vh - 40px);
    overflow:auto;
    padding:24px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:24px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fffaf6
        );
    box-shadow:
        0 28px 80px rgba(0,0,0,.28);
}

.myipdi-profile-crop-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.myipdi-profile-crop-header .eyebrow{
    display:block;
    margin-bottom:6px;
    color:#b89245;
    font-size:8px;
    font-weight:900;
    letter-spacing:.15em;
}

.myipdi-profile-crop-header h2{
    margin:0;
    color:#2d353e;
    font-size:22px;
    line-height:1.2;
    letter-spacing:-.035em;
}

.myipdi-profile-crop-header p{
    max-width:540px;
    margin:7px 0 0;
    color:#8d969f;
    font-size:10px;
    line-height:1.6;
}

.myipdi-profile-crop-close{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:grid;
    place-items:center;
    border:1px solid #eadfd5;
    border-radius:12px;
    background:#fff;
    color:#7d1735;
    cursor:pointer;
    transition:.2s ease;
}

.myipdi-profile-crop-close:hover{
    background:#faf0f3;
    border-color:#dec5ce;
    transform:rotate(3deg);
}

.myipdi-profile-crop-close svg{
    width:17px;
    height:17px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* ================= CROP STAGE ================= */

.myipdi-profile-crop-workspace{
    display:flex;
    justify-content:center;
    margin-bottom:18px;
}

.myipdi-profile-crop-stage{
    position:relative;
    width:min(460px,76vw);
    aspect-ratio:1 / 1;
    overflow:hidden;
    flex:0 0 auto;
    border-radius:20px;
    background:
        radial-gradient(
            circle at center,
            #343434 0,
            #161616 70%
        );
    border:1px solid #2c2c2c;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 16px 36px rgba(20,15,15,.18);
    cursor:grab;
    touch-action:none;
    user-select:none;
}

.myipdi-profile-crop-stage:active{
    cursor:grabbing;
}

.myipdi-profile-crop-image{
    position:absolute;
    top:50%;
    left:50%;
    width:auto;
    height:auto;
    max-width:none;
    max-height:none;
    display:block;
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
    transform:
        translate(-50%,-50%);
    transform-origin:center center;
}


/* ================= CROP GUIDE ================= */

.myipdi-profile-crop-guide{
    position:absolute;
    inset:0;
    z-index:3;
    pointer-events:none;
    border:2px solid rgba(255,255,255,.85);
    box-shadow:
        0 0 0 9999px rgba(0,0,0,.22);
}

.myipdi-profile-crop-guide::before,
.myipdi-profile-crop-guide::after{
    content:"";
    position:absolute;
    pointer-events:none;
}

.myipdi-profile-crop-guide::before{
    left:33.333%;
    right:33.333%;
    top:0;
    bottom:0;
    border-left:1px solid rgba(255,255,255,.18);
    border-right:1px solid rgba(255,255,255,.18);
}

.myipdi-profile-crop-guide::after{
    top:33.333%;
    bottom:33.333%;
    left:0;
    right:0;
    border-top:1px solid rgba(255,255,255,.18);
    border-bottom:1px solid rgba(255,255,255,.18);
}


/* ================= CORNERS ================= */

.myipdi-profile-crop-guide-corner{
    position:absolute;
    width:25px;
    height:25px;
    border-color:#fff;
    border-style:solid;
}

.myipdi-profile-crop-guide-corner.top-left{
    left:-2px;
    top:-2px;
    border-width:4px 0 0 4px;
}

.myipdi-profile-crop-guide-corner.top-right{
    right:-2px;
    top:-2px;
    border-width:4px 4px 0 0;
}

.myipdi-profile-crop-guide-corner.bottom-left{
    left:-2px;
    bottom:-2px;
    border-width:0 0 4px 4px;
}

.myipdi-profile-crop-guide-corner.bottom-right{
    right:-2px;
    bottom:-2px;
    border-width:0 4px 4px 0;
}


/* ================= HELP ================= */

.myipdi-profile-crop-help{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:17px;
}

.myipdi-profile-crop-help-item{
    display:grid;
    grid-template-columns:34px 1fr;
    grid-template-rows:auto auto;
    column-gap:9px;
    padding:10px 12px;
    border:1px solid #ebe3da;
    border-radius:13px;
    background:#fff;
}

.myipdi-profile-crop-help-item > span{
    grid-row:1 / span 2;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#f8edf0;
    color:#8a2341;
}

.myipdi-profile-crop-help-item svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-profile-crop-help-item strong{
    color:#46505b;
    font-size:9px;
    font-weight:850;
}

.myipdi-profile-crop-help-item small{
    margin-top:2px;
    color:#9ba2aa;
    font-size:8px;
}


/* ================= ZOOM ================= */

.myipdi-profile-crop-zoom{
    margin-bottom:18px;
    padding:13px 14px;
    border:1px solid #ebe3da;
    border-radius:14px;
    background:#fff;
}

.myipdi-profile-crop-zoom label{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
    color:#59636e;
    font-size:9px;
    font-weight:800;
}

.myipdi-profile-crop-zoom label strong{
    color:#8a2341;
    font-size:10px;
}

.myipdi-profile-crop-zoom input[type="range"]{
    width:100%;
    margin:0;
    accent-color:#8a2341;
    cursor:pointer;
}


/* ================= FOOTER ================= */

.myipdi-profile-crop-footer{
    display:flex;
    justify-content:flex-end;
    gap:9px;
}

.myipdi-profile-crop-cancel,
.myipdi-profile-crop-confirm{
    min-height:44px;
    padding:0 17px;
    border-radius:12px;
    font:inherit;
    font-size:10px;
    font-weight:850;
    cursor:pointer;
    transition:.2s ease;
}

.myipdi-profile-crop-cancel{
    border:1px solid #e2d9d0;
    background:#fff;
    color:#6c7480;
}

.myipdi-profile-crop-cancel:hover{
    background:#faf7f3;
    border-color:#d6c8bc;
}

.myipdi-profile-crop-confirm{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    border:0;
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #7d1735,
            #a52d4a
        );
    box-shadow:
        0 8px 18px rgba(127,23,52,.13);
}

.myipdi-profile-crop-confirm:hover{
    transform:translateY(-1px);
    box-shadow:
        0 12px 24px rgba(127,23,52,.18);
}

.myipdi-profile-crop-confirm:disabled{
    opacity:.65;
    cursor:wait;
    transform:none;
}

.myipdi-profile-crop-confirm span{
    width:17px;
    height:17px;
    display:grid;
    place-items:center;
}

.myipdi-profile-crop-confirm svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round;
}


/* ================= MOBILE ================= */

@media(max-width:620px){

    .myipdi-profile-crop-modal{
        padding:10px;
    }

    .myipdi-profile-crop-dialog{
        max-height:calc(100vh - 20px);
        padding:18px;
        border-radius:20px;
    }

    .myipdi-profile-crop-header h2{
        font-size:19px;
    }

    .myipdi-profile-crop-stage{
        width:min(420px,82vw);
        border-radius:16px;
    }

    .myipdi-profile-crop-help{
        grid-template-columns:1fr;
    }

    .myipdi-profile-crop-footer{
        display:grid;
        grid-template-columns:1fr 1.5fr;
    }

    .myipdi-profile-crop-cancel,
    .myipdi-profile-crop-confirm{
        width:100%;
    }
}

/* =========================================================
   MYIPDI PROFILE PHOTO — CLICK TO CHANGE
   ========================================================= */

.myipdi-profile-photo-form{
    margin:0;
    padding:0;
}

.myipdi-profile-photo-clickable{
    display:block;
    width:86px;
    height:86px;
    cursor:pointer;
}

.myipdi-profile-photo-clickable .myipdi-profile-photo-wrap{
    position:relative;
    width:86px;
    height:86px;
    overflow:hidden;
    border-radius:22px;
    background:#f5eef0;
    box-shadow:none !important;
}

.myipdi-profile-photo-clickable .myipdi-profile-photo,
.myipdi-profile-photo-clickable .myipdi-profile-avatar{
    width:100%;
    height:100%;
    display:block;
}

.myipdi-profile-photo-clickable .myipdi-profile-photo{
    object-fit:cover;
    transition:
        transform .25s ease,
        filter .25s ease;
}

.myipdi-profile-photo-overlay{
    position:absolute;
    inset:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    color:#fff;
    background:rgba(111,20,45,.72);
    opacity:0;
    transition:
        opacity .22s ease,
        background .22s ease;
}

.myipdi-profile-photo-camera{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border:1px solid rgba(255,255,255,.35);
    border-radius:10px;
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(4px);
}

.myipdi-profile-photo-camera svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-profile-photo-overlay strong{
    font-size:9px;
    font-weight:850;
    letter-spacing:.02em;
}

.myipdi-profile-photo-clickable:hover .myipdi-profile-photo-overlay{
    opacity:1;
}

.myipdi-profile-photo-clickable:hover .myipdi-profile-photo{
    transform:scale(1.04);
    filter:brightness(.82);
}

.myipdi-profile-photo-clickable:focus-visible{
    outline:3px solid rgba(184,146,69,.32);
    outline-offset:4px;
    border-radius:25px;
}

.myipdi-profile-hidden-submit{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

/* Mobile: overlay tetap bisa ditekan */
@media(max-width:620px){

    .myipdi-profile-photo-clickable{
        width:70px;
        height:70px;
    }

    .myipdi-profile-photo-clickable .myipdi-profile-photo-wrap{
        width:70px;
        height:70px;
        border-radius:18px;
    }

    .myipdi-profile-photo-overlay{
        opacity:1;
        background:rgba(111,20,45,.42);
    }

    .myipdi-profile-photo-camera{
        width:27px;
        height:27px;
    }

    .myipdi-profile-photo-overlay strong{
        font-size:8px;
    }
}

 /* =========================================================
    MYIPDI MEMBER DASHBOARD — PORTAL LAYER
    Styling untuk dashboard.php versi Member Portal
    ========================================================= */

.myipdi-dashboard-identity,
.myipdi-dashboard-identity *,
.myipdi-dashboard-summary,
.myipdi-dashboard-summary *{
    box-sizing:border-box;
}


/* =========================================================
   IDENTITY CARD
   ========================================================= */

.myipdi-dashboard-identity{
    position:relative;
    width:100%;
    min-height:118px;
    margin:0 0 20px;
    padding:18px 20px;
    display:flex;
    align-items:center;
    gap:16px;
    overflow:hidden;

    border:1px solid #e8e2dc;
    border-radius:20px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffaf8 100%
        );

    box-shadow:
        0 10px 28px rgba(44,34,35,.045);
}

.myipdi-dashboard-identity::before{
    content:"";
    position:absolute;
    left:0;
    top:18px;
    bottom:18px;
    width:3px;
    border-radius:0 5px 5px 0;

    background:
        linear-gradient(
            180deg,
            var(--mp-gold),
            var(--mp-maroon)
        );
}

.myipdi-dashboard-identity::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    right:-80px;
    top:-85px;
    border-radius:50%;
    pointer-events:none;

    background:
        radial-gradient(
            circle,
            rgba(127,23,52,.055) 0%,
            rgba(127,23,52,0) 70%
        );
}


/* =========================================================
   IDENTITY PHOTO
   ========================================================= */

.myipdi-dashboard-identity-photo{
    position:relative;
    z-index:1;

    width:82px;
    height:82px;
    min-width:82px;
    flex:0 0 82px;

    overflow:hidden;
    display:grid;
    place-items:center;

    border-radius:18px;

    background:
        linear-gradient(
            145deg,
            #f9edf0,
            #f8f2e7
        );

    color:var(--mp-maroon);

    box-shadow:
        0 7px 18px rgba(54,36,39,.08);
}

.myipdi-dashboard-identity-photo img{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;

    display:block;

    object-fit:cover;
    object-position:center;
}

.myipdi-dashboard-identity-photo span{
    width:100%;
    height:100%;

    display:grid;
    place-items:center;

    color:var(--mp-maroon);

    font-size:28px;
    font-weight:800;
}


/* =========================================================
   IDENTITY COPY
   ========================================================= */

.myipdi-dashboard-identity-copy{
    position:relative;
    z-index:1;
    min-width:0;
    flex:1 1 auto;
}

.myipdi-dashboard-identity-copy .eyebrow{
    color:#b08b48;
    font-size:7px;
    font-weight:850;
    letter-spacing:.15em;
}

.myipdi-dashboard-identity-copy h2{
    margin:5px 0 0;

    color:#2b323a;

    font-size:20px;
    line-height:1.15;
    font-weight:750;

    letter-spacing:-.035em;

    overflow-wrap:anywhere;
}

.myipdi-dashboard-identity-copy p{
    margin:5px 0 0;

    color:#8f97a0;

    font-size:10px;
    line-height:1.5;

    overflow-wrap:anywhere;
}

.myipdi-dashboard-member-tags{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:9px;
}

.myipdi-dashboard-member-tags span{
    display:inline-flex;
    align-items:center;

    min-height:23px;
    padding:0 8px;

    border:1px solid #ece4db;
    border-radius:999px;

    background:#fff;

    color:#818995;

    font-size:8px;
    font-weight:750;
}


/* =========================================================
   PROFILE ACTION
   ========================================================= */

.myipdi-dashboard-identity-action{
    position:relative;
    z-index:2;

    flex:0 0 auto;

    min-height:36px;
    padding:0 12px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    border:1px solid #eadfd2;
    border-radius:11px;

    background:#fff;
    color:var(--mp-maroon);

    font-size:9px;
    font-weight:800;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.myipdi-dashboard-identity-action svg{
    width:13px!important;
    height:13px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-dashboard-identity-action:hover{
    transform:translateY(-1px);
    background:#fff7f8;
    border-color:#ddc2ca;
    box-shadow:0 7px 16px rgba(127,23,52,.08);
}


/* =========================================================
   SUMMARY AREA
   ========================================================= */

.myipdi-dashboard-summary{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin-bottom:23px;
}


/* =========================================================
   SUMMARY CARD
   ========================================================= */

.myipdi-dashboard-summary-card{
    position:relative;
    min-width:0;
    min-height:164px;

    padding:17px 18px 15px;

    display:flex;
    flex-direction:column;

    overflow:hidden;

    border:1px solid #e8e3dd;
    border-radius:18px;

    background:#fff;

    box-shadow:
        0 8px 24px rgba(44,35,35,.035);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.myipdi-dashboard-summary-card::after{
    content:"";
    position:absolute;
    width:110px;
    height:110px;
    right:-55px;
    top:-52px;
    border-radius:50%;
    pointer-events:none;
}

.myipdi-dashboard-summary-card.is-payment{
    background:
        linear-gradient(
            135deg,
            #fffdf8 0%,
            #ffffff 75%
        );
    border-color:#ebe2d1;
}

.myipdi-dashboard-summary-card.is-payment::after{
    background:rgba(184,146,69,.075);
}

.myipdi-dashboard-summary-card.is-event{
    background:
        linear-gradient(
            135deg,
            #fff8fa 0%,
            #ffffff 75%
        );
    border-color:#ecdde2;
}

.myipdi-dashboard-summary-card.is-event::after{
    background:rgba(127,23,52,.055);
}

.myipdi-dashboard-summary-card:hover{
    transform:translateY(-2px);
    box-shadow:
        0 13px 30px rgba(44,35,35,.065);
}


/* =========================================================
   SUMMARY TOP
   ========================================================= */

.myipdi-dashboard-summary-top{
    position:relative;
    z-index:1;

    display:flex;
    align-items:center;
    gap:9px;
}

.myipdi-dashboard-summary-top > span{
    color:#9a8a73;

    font-size:8px;
    font-weight:850;

    letter-spacing:.14em;
}

.myipdi-dashboard-summary-card.is-event
.myipdi-dashboard-summary-top > span{
    color:#a06a7a;
}

.myipdi-dashboard-summary-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;

    display:grid;
    place-items:center;

    border-radius:10px;
}

.myipdi-dashboard-summary-icon svg{
    width:17px!important;
    height:17px!important;

    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.65!important;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.is-payment .myipdi-dashboard-summary-icon{
    color:#a17b32;
    background:#f8f0df;
}

.is-event .myipdi-dashboard-summary-icon{
    color:#8d2947;
    background:#f8e9ee;
}


/* =========================================================
   SUMMARY BODY
   ========================================================= */

.myipdi-dashboard-summary-body{
    position:relative;
    z-index:1;

    display:flex;
    flex-direction:column;

    min-width:0;

    margin-top:14px;
}

.myipdi-dashboard-summary-body small{
    color:#9aa1a9;

    font-size:8px;
    line-height:1.5;
}

.myipdi-dashboard-summary-body strong{
    margin-top:4px;

    color:#303842;

    font-size:17px;
    line-height:1.25;

    font-weight:760;
    letter-spacing:-.025em;

    overflow-wrap:anywhere;
}

.is-payment .myipdi-dashboard-summary-body strong{
    color:#8b6430;
}

.is-event .myipdi-dashboard-summary-body strong{
    color:#7e2340;
}

.myipdi-dashboard-summary-body > span{
    margin-top:5px;

    color:#8f97a0;

    font-size:9px;
    line-height:1.45;

    overflow-wrap:anywhere;
}


/* =========================================================
   SUMMARY LINK
   ========================================================= */

.myipdi-dashboard-summary-link{
    position:relative;
    z-index:1;

    margin-top:auto;
    padding-top:10px;

    display:inline-flex;
    align-items:center;
    gap:6px;

    color:var(--mp-maroon);

    font-size:8px;
    font-weight:850;

    transition:
        gap .18s ease,
        color .18s ease;
}

.myipdi-dashboard-summary-link svg{
    width:12px!important;
    height:12px!important;

    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.myipdi-dashboard-summary-link:hover{
    gap:9px;
    color:#a52d4a;
}


/* =========================================================
   SERVICES SPACING
   ========================================================= */

.myipdi-dashboard-summary + .myipdi-premium-services{
    margin-top:0;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media(max-width:900px){

    .myipdi-dashboard-identity{
        padding:17px;
    }

    .myipdi-dashboard-summary{
        grid-template-columns:1fr 1fr;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media(max-width:680px){

    .myipdi-dashboard-identity{
        align-items:flex-start;
        flex-wrap:wrap;
        gap:12px;
        padding:16px;
    }

    .myipdi-dashboard-identity-photo{
        width:72px;
        height:72px;
        min-width:72px;
        flex-basis:72px;
        border-radius:16px;
    }

    .myipdi-dashboard-identity-photo span{
        font-size:23px;
    }

    .myipdi-dashboard-identity-copy{
        flex:1 1 calc(100% - 86px);
        min-width:0;
    }

    .myipdi-dashboard-identity-copy h2{
        font-size:17px;
    }

    .myipdi-dashboard-identity-action{
        width:100%;
        margin-top:2px;
    }

    .myipdi-dashboard-summary{
        grid-template-columns:1fr;
        gap:11px;
    }

    .myipdi-dashboard-summary-card{
        min-height:150px;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media(max-width:420px){

    .myipdi-dashboard-identity{
        padding:14px;
    }

    .myipdi-dashboard-member-tags{
        display:grid;
        grid-template-columns:1fr;
    }

    .myipdi-dashboard-member-tags span{
        width:max-content;
        max-width:100%;
    }

}

/* =========================================================
   MYIPDI — MEMBER CARD
   Digital Kartu Anggota PW IPDI Banten
   ========================================================= */


/* =========================================================
   PAGE
   ========================================================= */

.myipdi-card-page{
    width:100%;
    max-width:1080px;
    margin:0 auto;
}

.myipdi-card-page-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:22px;
    margin-bottom:22px;
}

.myipdi-card-page-header > div{
    min-width:0;
}

.myipdi-card-page-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:7px;

    color:#b89245;
    font-size:8px;
    font-weight:900;
    letter-spacing:.17em;
}

.myipdi-card-page-eyebrow::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:#b89245;
}

.myipdi-card-page-header h1{
    margin:7px 0 4px;

    color:#2a323b;
    font-size:30px;
    line-height:1.08;
    font-weight:760;
    letter-spacing:-.045em;
}

.myipdi-card-page-header p{
    margin:0;
    color:#9299a3;
    font-size:10px;
    line-height:1.6;
}

.myipdi-card-back{
    flex:0 0 auto;

    min-height:38px;
    padding:0 13px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    border:1px solid #e7dfd7;
    border-radius:11px;

    background:#fff;
    color:#7f1734;

    font-size:9px;
    font-weight:800;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.myipdi-card-back span:first-child{
    font-size:14px;
    line-height:1;
}

.myipdi-card-back:hover{
    transform:translateY(-1px);
    background:#fff8f9;
    border-color:#dec7cf;
    box-shadow:0 8px 18px rgba(127,23,52,.07);
}


/* =========================================================
   CARD SECTION
   ========================================================= */

.myipdi-member-card-section{
    width:100%;
}

.myipdi-member-card{
    position:relative;

    width:min(900px,100%);
    margin:0 auto;

    aspect-ratio:1.76 / 1;

    overflow:hidden;

    border-radius:20px;

    background:
        linear-gradient(
            155deg,
            #ed1c2e 0%,
            #ef192b 58%,
            #e7192b 100%
        );

    box-shadow:
        0 22px 50px rgba(85,28,36,.18),
        0 2px 0 rgba(255,255,255,.45) inset;

    isolation:isolate;
}


/* =========================================================
   CARD TOP WHITE SWOOSH
   ========================================================= */

.myipdi-member-card::before{
    content:"";

    position:absolute;
    z-index:0;

    width:74%;
    height:47%;

    top:-38%;
    right:-7%;

    border-radius:0 0 0 100%;

    background:#fff;

    transform:rotate(-5deg);

    box-shadow:
        -10px 9px 0 rgba(255,255,255,.12);
}


/* =========================================================
   DECORATIVE STRIPES
   ========================================================= */

.myipdi-member-card-stripes{
    position:absolute;
    z-index:0;

    left:-112px;
    top:77px;

    width:355px;
    height:230px;

    pointer-events:none;

    border-radius:50%;

    transform:rotate(-2deg);
}


/* turquoise */

.myipdi-member-card-stripes::before{
    content:"";

    position:absolute;
    inset:0;

    border:10px solid #2dbbc0;
    border-right-color:transparent;
    border-bottom-color:transparent;

    border-radius:50%;

    transform:rotate(-17deg);
}


/* yellow */

.myipdi-member-card-stripes::after{
    content:"";

    position:absolute;

    left:7px;
    top:15px;
    right:18px;
    bottom:17px;

    border:8px solid #ffd333;
    border-right-color:transparent;
    border-bottom-color:transparent;

    border-radius:50%;

    transform:rotate(-17deg);
}


/* extra red inner stripe */

.myipdi-member-card-stripes{
    background:
        radial-gradient(
            ellipse at 31% 58%,
            transparent 0 44%,
            #c91a2b 44.5% 47.5%,
            transparent 48%
        );
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.myipdi-member-card-header{
    position:absolute;
    z-index:3;

    left:0;
    right:0;
    top:0;

    min-height:25%;

    padding:15px 22px 8px;

    display:flex;
    align-items:center;

    gap:12px;
}

.myipdi-member-card-logo{
    width:54px;
    height:54px;
    flex:0 0 54px;

    overflow:hidden;

    display:grid;
    place-items:center;

    border-radius:50%;

    background:#fff;

    box-shadow:
        0 4px 10px rgba(58,20,24,.13);
}

.myipdi-member-card-logo img{
    width:100%;
    height:100%;

    display:block;

    object-fit:contain;
}

.myipdi-member-card-org{
    min-width:0;

    display:flex;
    flex-direction:column;

    color:#202630;
}

.myipdi-member-card-org strong{
    font-size:clamp(17px,2.05vw,28px);
    line-height:1.02;
    font-weight:900;
    letter-spacing:-.045em;

    white-space:nowrap;
}

.myipdi-member-card-org span{
    margin-top:5px;

    color:#a62031;

    font-size:8px;
    font-weight:900;
    letter-spacing:.17em;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.myipdi-member-card-content{
    position:absolute;
    z-index:3;

    left:0;
    right:0;
    bottom:0;
    top:25%;

    display:flex;
    align-items:center;

    padding:10px 26px 31px 28px;

    gap:24px;
}


/* =========================================================
   MEMBER PHOTO
   ========================================================= */

.myipdi-member-card-photo-wrap{
    position:relative;

    width:142px;
    height:175px;

    flex:0 0 142px;

    overflow:hidden;

    display:grid;
    place-items:center;

    background:#dce0e2;

    border:5px solid rgba(255,255,255,.88);

    box-shadow:
        0 7px 15px rgba(98,18,24,.16);
}

.myipdi-member-card-photo{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;
    object-position:center center;
}

.myipdi-member-card-photo-placeholder{
    width:100%;
    height:100%;

    display:grid;
    place-items:center;

    background:
        linear-gradient(
            145deg,
            #e6e9eb,
            #cfd4d7
        );

    color:#747c82;

    font-size:40px;
    font-weight:850;
}


/* =========================================================
   MEMBER DATA
   ========================================================= */

.myipdi-member-card-data{
    min-width:0;
    flex:1 1 auto;

    display:grid;
    gap:8px;

    max-width:590px;
}

.myipdi-member-card-row{
    display:grid;
    grid-template-columns:120px minmax(0,1fr);
    gap:8px;

    color:#fff;

    font-size:10px;
    line-height:1.25;
}

.myipdi-member-card-row span{
    position:relative;

    color:rgba(255,255,255,.95);

    font-weight:650;

    white-space:nowrap;
}

.myipdi-member-card-row span::after{
    content:":";
    position:absolute;
    right:1px;
}

.myipdi-member-card-row strong{
    min-width:0;

    color:#fff;

    font-weight:800;

    overflow-wrap:anywhere;
}


/* STATUS */

.myipdi-member-card-status-row{
    margin-top:2px;
}

.myipdi-member-card-status-row strong{
    color:#fff4c8;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.myipdi-member-card-footer{
    position:absolute;
    z-index:4;

    left:27px;
    right:27px;
    bottom:10px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    color:rgba(255,255,255,.72);

    font-size:6px;
    font-weight:800;

    letter-spacing:.13em;
}


/* =========================================================
   INFO BOX
   ========================================================= */

.myipdi-card-info{
    width:min(900px,100%);
    margin:17px auto 0;

    padding:13px 15px;

    display:flex;
    align-items:flex-start;
    gap:11px;

    border:1px solid #ebe4dc;
    border-radius:14px;

    background:#fff;

    box-shadow:
        0 8px 22px rgba(44,35,35,.025);
}

.myipdi-card-info-icon{
    width:25px;
    height:25px;
    flex:0 0 25px;

    display:grid;
    place-items:center;

    border-radius:8px;

    background:#f8ebee;
    color:#8a2341;

    font-size:12px;
    font-weight:900;
}

.myipdi-card-info strong{
    display:block;

    color:#46505a;

    font-size:9px;
    font-weight:850;
}

.myipdi-card-info p{
    margin:3px 0 0;

    color:#969da6;

    font-size:8px;
    line-height:1.55;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:900px){

    .myipdi-card-page-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .myipdi-card-back{
        align-self:flex-start;
    }

    .myipdi-member-card{
        border-radius:17px;
    }

    .myipdi-member-card-header{
        padding-left:18px;
        padding-right:18px;
    }

    .myipdi-member-card-content{
        padding-left:20px;
        padding-right:20px;
        gap:18px;
    }

    .myipdi-member-card-photo-wrap{
        width:122px;
        height:150px;
        flex-basis:122px;
    }

    .myipdi-member-card-row{
        grid-template-columns:102px minmax(0,1fr);
        font-size:9px;
    }

    .myipdi-member-card-footer{
        left:20px;
        right:20px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:620px){

    .myipdi-card-page-header{
        margin-bottom:16px;
    }

    .myipdi-card-page-header h1{
        font-size:25px;
    }

    .myipdi-card-page-header p{
        font-size:9px;
    }

    .myipdi-member-card{
        aspect-ratio:auto;
        min-height:470px;
        border-radius:17px;
    }

    .myipdi-member-card::before{
        width:100%;
        height:25%;
        top:-16%;
        right:-22%;
    }

    .myipdi-member-card-header{
        min-height:104px;
        padding:12px 15px 5px;
        gap:9px;
    }

    .myipdi-member-card-logo{
        width:43px;
        height:43px;
        flex-basis:43px;
    }

    .myipdi-member-card-org strong{
        font-size:13px;
        white-space:normal;
    }

    .myipdi-member-card-org span{
        font-size:6px;
        letter-spacing:.11em;
    }

    .myipdi-member-card-content{
        position:absolute;

        top:98px;
        bottom:30px;

        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:flex-start;

        padding:13px 18px 12px;

        gap:13px;
    }

    .myipdi-member-card-photo-wrap{
        width:100px;
        height:123px;
        flex-basis:123px;
        border-width:4px;
    }

    .myipdi-member-card-data{
        width:100%;
        max-width:none;
        gap:7px;
    }

    .myipdi-member-card-row{
        grid-template-columns:88px minmax(0,1fr);
        gap:6px;
        font-size:8px;
    }

    .myipdi-member-card-footer{
        left:16px;
        right:16px;
        bottom:9px;

        font-size:5px;
    }

    .myipdi-card-info{
        margin-top:12px;
        padding:11px 12px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:390px){

    .myipdi-member-card{
        min-height:455px;
    }

    .myipdi-member-card-photo-wrap{
        width:90px;
        height:110px;
        flex-basis:110px;
    }

    .myipdi-member-card-row{
        grid-template-columns:82px minmax(0,1fr);
        font-size:7.5px;
    }

    .myipdi-member-card-org strong{
        font-size:12px;
    }
}


/* =========================================================
   PRINT
   ========================================================= */

@media print{

    body.dashboard-page{
        background:#fff !important;
    }

    .myipdi-premium-sidebar,
    .myipdi-card-page-header,
    .myipdi-card-info{
        display:none !important;
    }

    .myipdi-premium{
        display:block !important;
        min-height:auto !important;
        background:#fff !important;
    }

    .myipdi-premium-main{
        padding:0 !important;
    }

    .myipdi-card-page{
        max-width:none !important;
        width:100% !important;
    }

    .myipdi-member-card{
        width:100% !important;
        max-width:900px !important;
        margin:0 auto !important;

        box-shadow:none !important;
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
    }
}

/* =========================================================
   MYIPDI — OFFICIAL IPDI CARD BACKGROUND
   Posisi foto dan data diatur relatif terhadap gambar kartu.
   ========================================================= */

.myipdi-card-page .myipdi-member-card{
    position:relative;
    width:min(900px,100%);
    height:auto;
    aspect-ratio:2048 / 1292;
    margin:0 auto;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:10px;
    background:#ed1c2e;
    box-shadow:0 18px 42px rgba(70,20,30,.16);
    isolation:isolate;
}

/* Matikan dekorasi CSS lama karena desain sudah ada di gambar. */
.myipdi-card-page .myipdi-member-card::before,
.myipdi-card-page .myipdi-member-card::after{
    display:none !important;
    content:none !important;
}

/* Gambar dasar kartu resmi */
.myipdi-card-page .myipdi-member-card-art{
    position:absolute;
    inset:0;
    z-index:0;
    display:block;
    width:100%;
    height:100%;
    margin:0;
    padding:0;
    object-fit:fill;
    pointer-events:none;
    user-select:none;
}

/* =========================================================
   FOTO ANGGOTA
   ========================================================= */

.myipdi-card-page .myipdi-member-card-photo-wrap{
    position:absolute;
    z-index:2;

    left:10.3%;
    top:40%;

    width:22.7%;
    height:48.5%;

    margin:0;
    padding:0;
    overflow:hidden;

    display:grid;
    place-items:center;

    border:0;
    border-radius:0;
    background:#dce0e2;
    box-shadow:none;
}

.myipdi-card-page .myipdi-member-card-photo{
    display:block;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    margin:0;
    padding:0;
    object-fit:cover;
    object-position:center center;
    border:0;
    border-radius:0;
    box-shadow:none;
}

.myipdi-card-page .myipdi-member-card-photo-placeholder{
    display:grid;
    place-items:center;
    width:100%;
    height:100%;
    background:#dce0e2;
    color:#747c82;
    font-size:clamp(18px,4vw,40px);
    font-weight:800;
}

/* =========================================================
   DATA ANGGOTA
   ========================================================= */

.myipdi-card-page .myipdi-member-card-data{
    position:absolute;
    z-index:2;

    left:36.7%;
    top:46.5%;

    width:60%;
    max-width:none;

    margin:0;
    padding:0;

    display:flex;
    flex-direction:column;
    gap:clamp(5px,1.15vw,15px);

    color:#fff;
}

.myipdi-card-page .myipdi-member-card-row{
    position:relative;

    width:100%;
    min-width:0;

    display:grid;
    grid-template-columns:43% minmax(0,1fr);
    column-gap:1%;

    margin:0;
    padding:0;

    color:#fff;
    font-size:clamp(7px,1.32vw,16px);
    line-height:1.22;
}

.myipdi-card-page .myipdi-member-card-row span{
    position:relative;
    display:block;
    min-width:0;

    color:#fff;
    font-size:inherit;
    font-weight:650;
    line-height:inherit;
    white-space:normal;
}

.myipdi-card-page .myipdi-member-card-row span::after{
    content:":";
    position:absolute;
    right:2px;
    top:0;
}

.myipdi-card-page .myipdi-member-card-row strong{
    display:block;
    min-width:0;
    margin:0;
    padding:0;

    color:#fff;
    font-size:inherit;
    font-weight:800;
    line-height:inherit;

    overflow-wrap:anywhere;
    word-break:normal;
}

/* Masa berlaku akan tetap di area data kartu. */
.myipdi-card-page .myipdi-member-card-validity{
    margin-top:clamp(2px,.3vw,5px);
}

/* =========================================================
   PANEL INFORMASI DI BAWAH KARTU
   ========================================================= */

.myipdi-card-page .myipdi-card-info{
    width:min(900px,100%);
    margin:16px auto 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:620px){

    .myipdi-card-page .myipdi-member-card{
        width:100%;
        border-radius:7px;
    }

    .myipdi-card-page .myipdi-member-card-data{
        gap:clamp(3px,1.1vw,7px);
    }

    .myipdi-card-page .myipdi-member-card-row{
        grid-template-columns:43% minmax(0,1fr);
        column-gap:1%;
        font-size:clamp(7px,1.7vw,10px);
        line-height:1.2;
    }

    .myipdi-card-page .myipdi-member-card-validity{
        margin-top:2px;
    }
}

/* =========================================================
   PRINT
   ========================================================= */

@media print{

    .myipdi-card-page .myipdi-member-card{
        width:100%;
        max-width:900px;
        margin:0 auto;
        box-shadow:none;
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
    }

    .myipdi-card-page .myipdi-member-card-art{
        -webkit-print-color-adjust:exact;
        print-color-adjust:exact;
    }
}

/* =========================================================
   MYIPDI MEMBER CARD — ACTION BUTTONS
   ========================================================= */

.myipdi-card-page-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:8px;
}

.myipdi-card-page-actions .myipdi-card-action-button{
    min-height:38px;
    padding:0 14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    border:1px solid #e7ded5;
    border-radius:11px;

    background:#fff;
    color:#7f1734;

    font-family:inherit;
    font-size:9px;
    font-weight:800;
    line-height:1.2;

    white-space:nowrap;
    cursor:pointer;

    box-shadow:0 4px 12px rgba(44,35,35,.025);

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.myipdi-card-page-actions .myipdi-card-action-button > span{
    display:inline-grid;
    place-items:center;
    font-size:14px;
    line-height:1;
}

.myipdi-card-page-actions .myipdi-card-action-button:hover{
    transform:translateY(-2px);
    background:#fff7f8;
    border-color:#ddc4cc;
    box-shadow:0 8px 18px rgba(127,23,52,.08);
}

.myipdi-card-page-actions .myipdi-card-action-button:focus-visible,
.myipdi-card-page-actions .myipdi-card-back:focus-visible{
    outline:3px solid rgba(184,146,69,.35);
    outline-offset:3px;
}

/* Tombol simpan PDF sebagai tombol utama */
.myipdi-card-page-actions .myipdi-card-action-button.is-primary{
    border-color:#821a38;

    background:
        linear-gradient(
            135deg,
            #7b1734 0%,
            #a52d4a 100%
        );

    color:#fff;

    box-shadow:0 7px 16px rgba(127,23,52,.14);
}

.myipdi-card-page-actions .myipdi-card-action-button.is-primary:hover{
    background:
        linear-gradient(
            135deg,
            #69112b 0%,
            #92213e 100%
        );

    border-color:#69112b;

    box-shadow:0 10px 22px rgba(127,23,52,.2);
}

.myipdi-card-page-actions .myipdi-card-action-button:active{
    transform:translateY(0);
}

.myipdi-card-page-actions .myipdi-card-action-button:disabled{
    opacity:.6;
    cursor:wait;
    transform:none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){

    .myipdi-card-page-header{
        align-items:flex-start;
        flex-direction:column;
    }

    .myipdi-card-page-actions{
        justify-content:flex-start;
        width:100%;
    }
}

@media(max-width:520px){

    .myipdi-card-page-actions{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
    }

    .myipdi-card-page-actions .myipdi-card-action-button,
    .myipdi-card-page-actions .myipdi-card-back{
        width:100%;
        min-width:0;
        padding-left:8px;
        padding-right:8px;
    }

    .myipdi-card-page-actions .myipdi-card-back{
        grid-column:1/-1;
    }
}


/* =========================================================
   CETAK — HANYA KARTU ANGGOTA
   ========================================================= */

@media print{

    @page{
        size:landscape;
        margin:8mm;
    }

    body.dashboard-page{
        background:#fff !important;
    }

    .myipdi-premium-sidebar,
    .myipdi-card-page-header,
    .myipdi-card-info{
        display:none !important;
    }

    .myipdi-premium{
        display:block !important;
        min-height:0 !important;
        background:#fff !important;
    }

    .myipdi-premium-main{
        padding:0 !important;
        margin:0 !important;
    }

    .myipdi-card-page{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
    }

    .myipdi-member-card-section{
        width:100% !important;
        margin:0 !important;
    }

    .myipdi-card-page .myipdi-member-card{
        width:100% !important;
        max-width:900px !important;
        margin:0 auto !important;
        border-radius:0 !important;
        box-shadow:none !important;

        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
    }

    .myipdi-card-page .myipdi-member-card-art{
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
    }
}

/* =========================================================
   MYIPDI — KOREKSI POSISI TEKS KARTU IPDI
   Menyesuaikan kolom label, titik dua, dan nilai.
   ========================================================= */

/* Ukuran kartu menjadi acuan tipografi yang responsif. */
.myipdi-card-page .myipdi-member-card{
    container-type:inline-size;
}

/* Posisi keseluruhan kelompok data. */
.myipdi-card-page .myipdi-member-card-data{
    left:36.4%;
    width:60%;
    gap:clamp(5px,1.65cqw,15px);
}

/* Kolom label, titik dua, dan nilai. */
.myipdi-card-page .myipdi-member-card-row{
    display:grid;
    grid-template-columns:44% minmax(0,1fr);
    column-gap:1.3%;

    font-family:Arial, Helvetica, sans-serif;
    font-size:clamp(8px,2.25cqw,20px);
    line-height:1.18;
}

/* Label kiri. */
.myipdi-card-page .myipdi-member-card-row span{
    min-width:0;
    font-family:Arial, Helvetica, sans-serif;
    font-size:inherit;
    font-weight:700;
    line-height:inherit;
    white-space:nowrap;
}

/* Titik dua sejajar pada satu kolom. */
.myipdi-card-page .myipdi-member-card-row span::after{
    content:":";
    position:absolute;
    right:2px;
    top:0;
    font:inherit;
}

/* Nilai anggota. */
.myipdi-card-page .myipdi-member-card-row strong{
    min-width:0;
    font-family:Arial, Helvetica, sans-serif;
    font-size:inherit;
    font-weight:700;
    line-height:inherit;
    overflow-wrap:anywhere;
}

/* Beri jarak tambahan sebelum Masa Berlaku,
   mengikuti susunan pada kartu IPDI asli. */
.myipdi-card-page .myipdi-member-card-validity{
    margin-top:clamp(10px,2.35cqw,21px);
}

/* Pastikan penyesuaian tetap berlaku di HP. */
@media(max-width:620px){

    .myipdi-card-page .myipdi-member-card-row{
        grid-template-columns:44% minmax(0,1fr);
        column-gap:1.3%;
        font-size:clamp(8px,2.25cqw,20px);
    }

    .myipdi-card-page .myipdi-member-card-validity{
        margin-top:clamp(10px,2.35cqw,21px);
    }
}


/* =========================================================
   MyIPDI — ADMIN DASHBOARD & PENGATURAN MASA BERLAKU KTA
   ========================================================= */

/* Dashboard administratif */
body.dashboard-page .dashboard-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    background: #f7f6f4;
    color: #29313a;
}

body.dashboard-page .dashboard-layout > .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    min-width: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    background: #fff;
    border-right: 1px solid #e9e5df;
    box-shadow: 8px 0 28px rgba(34, 27, 29, .035);
    z-index: 5;
}

body.dashboard-page .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 6px 22px;
    border-bottom: 1px solid #eee8e1;
}

body.dashboard-page .sidebar-brand .brand-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #7f1734;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
}

body.dashboard-page .sidebar-brand b {
    display: block;
    color: #7f1734;
    font-size: 17px;
    letter-spacing: -.03em;
}

body.dashboard-page .sidebar-brand small {
    margin-top: 5px;
    color: #a18e67;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

body.dashboard-page .sidebar nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin-top: 22px;
    flex: 1;
}

body.dashboard-page .sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 43px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #737d89;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    transition: background .18s ease, color .18s ease,
                border-color .18s ease;
}

body.dashboard-page .sidebar nav a:hover {
    background: #fbf5f6;
    border-color: #f0e1e5;
    color: #7f1734;
}

body.dashboard-page .sidebar nav a.active {
    background: #fbf0f3;
    border-color: #ecdce1;
    color: #7f1734;
    font-weight: 800;
}

body.dashboard-page .sidebar form {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee8e1;
}

body.dashboard-page .sidebar-logout {
    width: 100%;
    min-height: 43px;
    padding: 10px 14px;
    border: 1px solid #f0d9de;
    border-radius: 12px;
    background: #fff7f8;
    color: #98263a;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease;
}

body.dashboard-page .sidebar-logout:hover {
    background: #fbe9ed;
}

body.dashboard-page .dash-main {
    min-width: 0;
    padding: 32px 36px 48px;
}

body.dashboard-page .dash-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

body.dashboard-page .dash-top h1 {
    margin: 9px 0 7px;
    color: #252d38;
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.15;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

body.dashboard-page .dash-top p {
    margin: 0;
    color: #7b8490;
    font-size: 13px;
    line-height: 1.7;
}

body.dashboard-page .role-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid #eadbc0;
    border-radius: 999px;
    background: #fbf5e9;
    color: #876b35;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

body.dashboard-page .dash-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

body.dashboard-page .dash-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e9e5df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 27, 29, .035);
}

body.dashboard-page .dash-card.accent {
    border-color: #ecdce1;
    background: linear-gradient(145deg, #fff7f8, #fff);
}

body.dashboard-page .dash-card span {
    display: block;
    color: #7b8490;
    font-size: 11px;
    line-height: 1.5;
}

body.dashboard-page .dash-card strong {
    display: block;
    margin-top: 12px;
    color: #7f1734;
    font-size: 27px;
    line-height: 1;
}

body.dashboard-page .content-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid #e9e5df;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 27, 29, .035);
}

body.dashboard-page .content-card h2 {
    margin: 10px 0;
    color: #29313a;
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: -.025em;
}

body.dashboard-page .content-card p {
    color: #747e8a;
    font-size: 13px;
    line-height: 1.8;
}

/* Notifikasi hasil penyimpanan */
body.dashboard-page .kta-validity-notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
}

body.dashboard-page .kta-validity-notice.success {
    background: #eefaf3;
    border-color: #d5f0df;
    color: #18794e;
}

body.dashboard-page .kta-validity-notice.error {
    background: #fff2f1;
    border-color: #f5d0cc;
    color: #b42318;
}

/* Formulir rentang tahun KTA */
body.dashboard-page .kta-validity-card {
    margin-bottom: 20px;
}

body.dashboard-page .kta-validity-card > p {
    max-width: 760px;
    margin: 9px 0 0;
}

body.dashboard-page .kta-validity-form {
    display: grid;
    gap: 23px;
    margin-top: 28px;
}

body.dashboard-page .kta-validity-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 18px;
}

body.dashboard-page .kta-validity-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

body.dashboard-page .kta-validity-field label {
    color: #354052;
    font-size: 12px;
    font-weight: 800;
}

body.dashboard-page .kta-validity-field input {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dfe1e6;
    border-radius: 12px;
    background: #fff;
    color: #29313a;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

body.dashboard-page .kta-validity-field input:focus {
    border-color: #98263a;
    box-shadow: 0 0 0 4px rgba(152, 38, 58, .08);
}

body.dashboard-page .kta-validity-field input::placeholder {
    color: #a0a6b1;
}

body.dashboard-page .kta-validity-separator {
    padding-bottom: 16px;
    color: #89919d;
    font-size: 12px;
    font-weight: 700;
}

body.dashboard-page .kta-validity-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 18px;
    border: 1px solid #eee4d4;
    border-radius: 14px;
    background: linear-gradient(105deg, #fbf7ef, #fffdf9);
}

body.dashboard-page .kta-validity-preview span {
    color: #777f8b;
    font-size: 12px;
}

body.dashboard-page .kta-validity-preview strong {
    color: #7f1734;
    font-size: 22px;
    letter-spacing: -.025em;
    white-space: nowrap;
}

body.dashboard-page .kta-validity-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 11px;
}

body.dashboard-page .kta-validity-save,
body.dashboard-page .kta-validity-cancel {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease,
                background .18s ease;
}

body.dashboard-page .kta-validity-save {
    background: linear-gradient(135deg, #7f1734, #a62e4a);
    color: #fff;
    box-shadow: 0 9px 20px rgba(127, 23, 52, .15);
}

body.dashboard-page .kta-validity-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 25px rgba(127, 23, 52, .20);
}

body.dashboard-page .kta-validity-cancel {
    border-color: #e4e5e9;
    background: #fff;
    color: #555f6e;
}

body.dashboard-page .kta-validity-cancel:hover {
    background: #f8f8fa;
}

body.dashboard-page .kta-validity-info {
    background: #fffdf9;
}

body.dashboard-page .kta-validity-info h2 {
    font-size: 17px;
}

body.dashboard-page .kta-validity-info p {
    margin: 8px 0 0;
}

body.dashboard-page .kta-validity-info p + p {
    margin-top: 6px;
}

/* Responsif tablet */
@media (max-width: 1100px) {
    body.dashboard-page .dashboard-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    body.dashboard-page .dash-main {
        padding: 26px 24px 38px;
    }

    body.dashboard-page .dash-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Responsif ponsel */
@media (max-width: 700px) {
    body.dashboard-page .dashboard-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.dashboard-page .dashboard-layout > .sidebar {
        position: relative;
        height: auto;
        min-height: 0;
        padding: 16px;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid #e9e5df;
    }

    body.dashboard-page .sidebar-brand {
        padding-bottom: 15px;
    }

    body.dashboard-page .sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        margin-top: 14px;
    }

    body.dashboard-page .sidebar nav a {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 11px;
    }

    body.dashboard-page .sidebar form {
        margin-top: 12px;
        padding-top: 12px;
    }

    body.dashboard-page .dash-main {
        padding: 22px 16px 32px;
    }

    body.dashboard-page .dash-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 20px;
    }

    body.dashboard-page .dash-grid {
        gap: 10px;
    }

    body.dashboard-page .dash-card {
        padding: 15px;
        border-radius: 15px;
    }

    body.dashboard-page .dash-card strong {
        font-size: 23px;
    }

    body.dashboard-page .content-card {
        padding: 20px 17px;
        border-radius: 17px;
    }

    body.dashboard-page .kta-validity-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.dashboard-page .kta-validity-separator {
        padding: 0;
        text-align: center;
    }

    body.dashboard-page .kta-validity-preview {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    body.dashboard-page .kta-validity-actions {
        align-items: stretch;
        flex-direction: column;
    }

    body.dashboard-page .kta-validity-save,
    body.dashboard-page .kta-validity-cancel {
        width: 100%;
    }
}

@media (max-width: 380px) {
    body.dashboard-page .sidebar nav {
        grid-template-columns: minmax(0, 1fr);
    }

    body.dashboard-page .dash-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   MyIPDI — SUPERADMIN: PENGELOLAAN AKUN ADMIN
   ========================================================= */

body.dashboard-page .admin-management-create,
body.dashboard-page .admin-management-list,
body.dashboard-page .admin-management-note {
    margin-bottom: 20px;
}

body.dashboard-page .admin-management-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

body.dashboard-page .admin-management-fields input {
    width: 100%;
}

body.dashboard-page .admin-management-create .kta-validity-notice {
    margin: 22px 0 0;
}

body.dashboard-page .kta-validity-notice.info {
    color: #66542c;
    background: #fbf6e9;
    border-color: #eadfbe;
}

body.dashboard-page .admin-management-list > p {
    margin-bottom: 22px;
}

body.dashboard-page .admin-management-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eee8e1;
    border-radius: 15px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

body.dashboard-page .admin-management-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    text-align: left;
}

body.dashboard-page .admin-management-table thead {
    background: #fbf5f6;
}

body.dashboard-page .admin-management-table th {
    padding: 14px 15px;
    color: #7f1734;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 1px solid #eee4e6;
}

body.dashboard-page .admin-management-table td {
    padding: 15px;
    color: #596372;
    font-size: 12px;
    line-height: 1.6;
    vertical-align: middle;
    border-bottom: 1px solid #f0eeeb;
}

body.dashboard-page .admin-management-table tbody tr:last-child td {
    border-bottom: 0;
}

body.dashboard-page .admin-management-table tbody tr:hover {
    background: #fffdfc;
}

body.dashboard-page .admin-management-table td strong {
    display: block;
    color: #303846;
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

body.dashboard-page .admin-management-table td small {
    display: block;
    margin-top: 4px;
    color: #9299a4;
    font-size: 10px;
}

body.dashboard-page .admin-management-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

body.dashboard-page .admin-management-status.is-active {
    color: #18794e;
    background: #eefaf3;
    border: 1px solid #d5f0df;
}

body.dashboard-page .admin-management-status.is-inactive {
    color: #b42318;
    background: #fff2f1;
    border: 1px solid #f5d0cc;
}

body.dashboard-page .admin-management-status-form {
    margin: 0;
}

body.dashboard-page .admin-management-disable,
body.dashboard-page .admin-management-enable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

body.dashboard-page .admin-management-disable {
    color: #b42318;
    background: #fff5f4;
    border: 1px solid #f0d5d1;
}

body.dashboard-page .admin-management-disable:hover {
    background: #ffe9e6;
    border-color: #e9bdb7;
}

body.dashboard-page .admin-management-enable {
    color: #18794e;
    background: #effaf4;
    border: 1px solid #d2eddd;
}

body.dashboard-page .admin-management-enable:hover {
    background: #dff5e8;
    border-color: #b8dfc8;
}

body.dashboard-page .admin-management-empty {
    margin-top: 18px;
    padding: 28px 20px;
    border: 1px dashed #e5d7da;
    border-radius: 15px;
    background: #fffafb;
    text-align: center;
}

body.dashboard-page .admin-management-empty strong {
    display: block;
    color: #7f1734;
    font-size: 14px;
}

body.dashboard-page .admin-management-empty p {
    margin: 7px 0 0;
    color: #7b8490;
    font-size: 12px;
    line-height: 1.7;
}

body.dashboard-page .admin-management-note h2 {
    font-size: 17px;
}

body.dashboard-page .admin-management-note p {
    margin: 8px 0 0;
}

/* Responsif tablet dan ponsel */
@media (max-width: 1000px) {
    body.dashboard-page .admin-management-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.dashboard-page .admin-management-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    body.dashboard-page .admin-management-table th,
    body.dashboard-page .admin-management-table td {
        padding: 12px;
    }
}

/* =========================================================
   FIX RESET PASSWORD MOBILE: KARTU DAN COPYRIGHT BERTUMPUK VERTIKAL
   Menimpa aturan footer lama hanya untuk tablet/ponsel.
   ========================================================= */
@media (max-width: 1000px) {
    .login-page-v2 {
        width: 100%;
        min-width: 0;
        overflow-x: clip;
    }

    .login-shell-v2 {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .login-form-v2 {
        width: 100%;
        min-width: 0;
        min-height: 0;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        align-content: start;
        gap: 14px;
        padding: 24px 16px 30px;
        box-sizing: border-box;
    }

    .login-card-v2 {
        width: 100%;
        max-width: 470px;
        min-width: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .login-form-footer-v2 {
        position: static !important;
        inset: auto !important;
        display: block;
        justify-self: center;
        width: 100%;
        max-width: 470px;
        margin: 0 auto;
        padding: 0 4px;
        text-align: center;
        line-height: 1.5;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }
}

@media (max-width: 620px) {
    .login-form-v2 {
        padding: 22px 16px 30px;
        gap: 14px;
    }

    .login-card-v2 {
        width: 100%;
        padding: 25px 20px;
    }

    .login-form-footer-v2 {
        margin-top: 0;
        font-size: 10px;
    }
}

/* =========================================================
   NAVBAR PUBLIK PW IPDI BANTEN
   ========================================================= */

.home-nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.2vw, 20px);
    white-space: nowrap;
}

.home-nav-links > a,
.home-nav-dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.home-nav-links > a:hover,
.home-nav-dropdown:hover > summary,
.home-nav-dropdown:focus-within > summary {
    color: var(--red);
}

/* Dropdown Tentang dan Informasi */

.home-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.home-nav-dropdown > summary {
    list-style: none;
}

.home-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.home-nav-dropdown > summary span {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.home-nav-dropdown[open] > summary span {
    transform: rotate(180deg);
}

/* Panel submenu */

.home-nav-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -14px;
    z-index: 100;
    min-width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(23, 32, 51, 0.13);
}

.home-nav-dropdown[open] > .home-nav-submenu,
.home-nav-dropdown:hover > .home-nav-submenu,
.home-nav-dropdown:focus-within > .home-nav-submenu {
    display: grid !important;
    gap: 2px;
}

.home-nav-submenu a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
    color: #475467;
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
}

.home-nav-submenu a:hover,
.home-nav-submenu a:focus-visible {
    background: #fbf3f5;
    color: var(--red);
}

/* Tombol Daftar Anggota */

.home-nav-register {
    padding: 10px 13px;
    border: 1px solid #ead9de;
    border-radius: 12px;
    color: var(--red) !important;
    background: #fff;
}

.home-nav-register:hover {
    background: #fbf3f5;
}

/* Penyesuaian layar laptop */

@media (max-width: 1100px) and (min-width: 761px) {
    .home-nav-inner {
        gap: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-nav-links {
        gap: 11px;
    }

    .home-nav-links > a,
    .home-nav-dropdown > summary {
        font-size: 12px;
    }

    .home-nav-register {
        padding: 9px 10px;
    }

    .home-brand-copy small:last-child {
        max-width: 240px;
        line-height: 1.4;
    }
}

/* Tampilan tablet dan HP */

@media (max-width: 760px) {
    .home-nav-links {
        white-space: normal;
    }

    .home-nav-links > a,
    .home-nav-dropdown > summary {
        display: flex;
        width: 100%;
        min-height: 42px;
        padding: 11px 12px;
        border-radius: 11px;
        justify-content: space-between;
        text-align: left;
    }

    .home-nav-dropdown {
        display: block;
        width: 100%;
    }

    .home-nav-submenu {
        display: none;
        position: static;
        min-width: 0;
        margin: 0 0 8px 10px;
        padding: 4px 0 4px 8px;
        border: 0;
        border-left: 2px solid #f1dce1;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    .home-nav-dropdown[open] > .home-nav-submenu {
        display: grid;
        gap: 1px;
    }

    .home-nav-dropdown:hover > .home-nav-submenu,
    .home-nav-dropdown:focus-within > .home-nav-submenu {
        display: none;
    }

    .home-nav-dropdown[open]:hover > .home-nav-submenu,
    .home-nav-dropdown[open]:focus-within > .home-nav-submenu {
        display: grid;
    }

    .home-nav-submenu a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .home-nav-login,
    .home-nav-register {
        text-align: left;
        margin-top: 3px;
    }
}

/* =========================================================
   FOOTER KONTAK PUBLIK PW IPDI BANTEN
   ========================================================= */

.home-footer-contact {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr);
    gap: 24px 32px;
    margin: 20px auto 0;
    padding: 22px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
}

.home-footer-contact-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.home-footer-contact-heading strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.home-footer-contact-heading span {
    font-size: 12px;
    line-height: 1.6;
}

.home-footer-contact-items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px 28px;
    min-width: 0;
}

.home-footer-contact-item {
    display: flex;
    flex: 1 1 190px;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.home-footer-contact-item strong {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.home-footer-contact-item a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.home-footer-contact-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.home-footer-contact-item address {
    margin: 0;
    font-style: normal;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .home-footer-contact {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding-top: 20px;
    }

    .home-footer-contact-items {
        gap: 18px;
    }

    .home-footer-contact-item {
        flex-basis: 100%;
    }
}

/* =====================================================
   REDESIGN FOOTER KONTAK — PW IPDI BANTEN
   ===================================================== */

/* Area kontak menjadi satu bagian utuh */
.home-footer .home-footer-contact {
    display: block;
    margin: 28px auto 0;
    padding: 28px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

/* Judul berada di atas semua kolom kontak */
.home-footer .home-footer-contact-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 20px;
}

.home-footer .home-footer-contact-heading strong {
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
}

.home-footer .home-footer-contact-heading span {
    color: rgba(255, 255, 255, 0.60);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* Kolom kontak sejajar dan memiliki lebar seimbang */
.home-footer .home-footer-contact-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

/* Setiap informasi memiliki kartu tersendiri */
.home-footer .home-footer-contact-item {
    display: flex;
    min-width: 0;
    min-height: 94px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 19px 20px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    overflow-wrap: anywhere;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.home-footer .home-footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.17);
    transform: translateY(-2px);
}

.home-footer .home-footer-contact-item strong {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-footer .home-footer-contact-item a,
.home-footer .home-footer-contact-item address,
.home-footer .home-footer-contact-item > span {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.home-footer .home-footer-contact-item a {
    text-decoration: none;
}

.home-footer .home-footer-contact-item a:hover {
    color: #f2b7c2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-footer .home-footer-contact-item address {
    font-style: normal;
}

/* Tablet */
@media (max-width: 900px) {
    .home-footer .home-footer-contact-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ponsel */
@media (max-width: 560px) {
    .home-footer .home-footer-contact {
        margin-top: 22px;
        padding: 23px 0 26px;
    }

    .home-footer .home-footer-contact-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 16px;
    }

    .home-footer .home-footer-contact-heading strong {
        font-size: 18px;
    }

    .home-footer .home-footer-contact-items {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .home-footer .home-footer-contact-item {
        min-height: 0;
        padding: 16px;
    }
}

/* =========================================
   FOOTER PW IPDI BANTEN
   Pertahankan desain lama, rapikan posisi
   ========================================= */

.home-footer {
    background: #191d27;
    color: #fff;
}

/* Baris atas tetap memakai desain footer lama */
.home-footer .home-footer-inner {
    align-items: center;
}

/* Baris kontak: informasi kiri, media sosial kanan */
.home-contact-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
    align-items: start;

    width: min(1200px, calc(100% - 48px));
    margin: 24px auto 0;
    padding: 25px 0 30px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-contact-footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.home-contact-footer-info h3,
.home-contact-footer-social h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.home-contact-org {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
}

.home-contact-footer-info address {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/* Ikon email */
.home-footer .home-contact-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.home-contact-email svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #dca0ae;
}

.home-footer .home-contact-email:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-contact-extra {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.home-footer a.home-contact-extra {
    text-decoration: none;
}

.home-footer a.home-contact-extra:hover {
    color: #fff;
    text-decoration: underline;
}

/* Media sosial di sebelah kanan */
.home-contact-footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.home-contact-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.home-footer .home-contact-social-icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #9b2335;
    color: #fff;
    text-decoration: none;

    transition: background 0.2s ease, transform 0.2s ease;
}

.home-contact-social-icon svg {
    display: block;
    width: 19px;
    height: 19px;
}

.home-footer .home-contact-social-icon:hover {
    background: #bb354a;
    transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 760px) {
    .home-contact-footer {
        grid-template-columns: minmax(0, 1fr) 170px;
        gap: 24px;
    }
}

/* HP */
@media (max-width: 560px) {
    .home-contact-footer {
        width: calc(100% - 36px);
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        margin-top: 20px;
        padding: 22px 0 26px;
    }

    .home-contact-footer-social {
        gap: 10px;
    }
}

/* COPYRIGHT FOOTER — BARIS PALING BAWAH */

.home-footer .home-footer-copyright-bar {
    width: 100%;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.10);
}

.home-footer .home-footer-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1200px, calc(100% - 48px));
    min-height: 48px;
    margin: 0 auto;
    padding: 13px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.6;
}

/* Pastikan navigasi dan identitas lama tetap rapi */
.home-footer .home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .home-footer .home-footer-copyright-inner {
        width: calc(100% - 36px);
        min-height: 44px;
        font-size: 11px;
    }
}

/* NAVBAR DESKTOP: DROPDOWN SAAT HOVER */

@media (hover: hover) and (pointer: fine) {
    .home-nav-links .home-nav-dropdown > .home-nav-submenu {
        display: none !important;
    }

    .home-nav-links .home-nav-dropdown:hover > .home-nav-submenu,
    .home-nav-links .home-nav-dropdown:focus-within > .home-nav-submenu,
    .home-nav-links .home-nav-dropdown[open] > .home-nav-submenu {
        display: grid !important;
    }
}

/* ==========================================
   FINAL NAVBAR HOVER — PW IPDI BANTEN
   Desktop: hanya submenu yang sedang di-hover
   ========================================== */

@media (hover: hover) and (pointer: fine) {

    .home-nav-links .home-nav-dropdown {
        position: relative;
    }

    /* Hilangkan jarak yang membuat hover terputus */
    .home-nav-links .home-nav-submenu {
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        z-index: 999 !important;
    }

    /* Default: semua submenu tersembunyi */
    .home-nav-links .home-nav-dropdown > .home-nav-submenu {
        display: none !important;
    }

    /* Hanya submenu di bawah kursor yang tampil */
    .home-nav-links .home-nav-dropdown:hover > .home-nav-submenu {
        display: grid !important;
        gap: 2px;
    }
}


/* ==================================================
   FIX FINAL DROPDOWN NAVBAR PW IPDI BANTEN
   ================================================== */

.home-nav-links .home-nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.home-nav-links .home-nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #475467;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
}

.home-nav-links .home-nav-dropdown-trigger:hover {
    color: var(--red);
}

.home-nav-links .home-nav-submenu {
    display: none !important;
    position: absolute;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 9999 !important;
    min-width: 240px;
    margin: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(23, 32, 51, 0.13);
}

/* Desktop: tampil berdasarkan posisi kursor */
@media (min-width: 761px) {
    .home-nav-links .home-nav-dropdown:hover > .home-nav-submenu,
    .home-nav-links .home-nav-dropdown.is-open > .home-nav-submenu {
        display: grid !important;
        gap: 2px;
    }
}

/* HP: submenu dibuka melalui tombol */
@media (max-width: 760px) {
    .home-nav-links .home-nav-dropdown {
        display: block;
        width: 100%;
    }

    .home-nav-links .home-nav-dropdown-trigger {
        display: flex;
        justify-content: space-between;
        width: 100%;
        min-height: 42px;
        padding: 11px 12px;
        border-radius: 11px;
        text-align: left;
    }

    .home-nav-links .home-nav-submenu {
        position: static !important;
        min-width: 0;
        margin: 0 0 8px 10px;
        padding: 4px 0 4px 8px;
        border: 0;
        border-left: 2px solid #f1dce1;
        border-radius: 0;
        box-shadow: none;
    }

    .home-nav-links .home-nav-dropdown:hover > .home-nav-submenu {
        display: none !important;
    }

    .home-nav-links .home-nav-dropdown.is-open > .home-nav-submenu {
        display: grid !important;
        gap: 1px;
    }

    .home-nav-links .home-nav-dropdown.is-open > .home-nav-dropdown-trigger {
        color: var(--red);
    }
}

/* =====================================================
   PERBAIKAN NAVBAR MOBILE - PW IPDI BANTEN
   Menu lebih rapat dan submenu bisa dibuka dengan tap
   ===================================================== */

@media (max-width: 760px) {

    /* Susunan utama menu */
    .home-nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        padding: 14px 18px 18px;
        box-sizing: border-box;
        max-height: calc(100vh - 180px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Beranda, Tentang, Informasi, Cara Kerja, FAQ */
    .home-nav-links > a,
    .home-nav-dropdown > summary {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        padding: 10px 12px;
        margin: 0;
        border-radius: 9px;
        text-align: left;
        line-height: 1.4;
        font-size: 15px;
    }

    /* Dropdown Tentang dan Informasi */
    .home-nav-dropdown {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .home-nav-dropdown > summary {
        cursor: pointer;
        list-style: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Hilangkan tanda panah bawaan browser */
    .home-nav-dropdown > summary::-webkit-details-marker {
        display: none;
    }

    .home-nav-dropdown > summary::marker {
        content: "";
    }

    /* Beri tanda visual ketika submenu sedang terbuka */
    .home-nav-dropdown[open] > summary {
        color: var(--red);
        background: #fbf3f5;
    }

    /* Submenu tertutup sebelum nama menu diketuk */
    .home-nav-dropdown:not([open]) > .home-nav-submenu {
        display: none !important;
    }

    /* Posisi submenu pada perangkat mobile */
    .home-nav-dropdown > .home-nav-submenu {
        position: static !important;
        width: auto;
        min-width: 0;
        margin: 0 0 6px 12px;
        padding: 4px 0 4px 10px;
        border: 0;
        border-left: 2px solid #f1dce1;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    /* Tampilkan submenu ketika nama menu diketuk */
    .home-nav-dropdown[open] > .home-nav-submenu {
        display: grid !important;
        gap: 2px;
    }

    /* Tampilan tautan submenu */
    .home-nav-submenu a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.5;
        white-space: normal;
    }

    .home-nav-submenu a:hover,
    .home-nav-submenu a:focus-visible {
        background: #fbf3f5;
        color: var(--red);
    }

    /* Tombol Masuk */
    .home-nav-links > .home-nav-login {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        margin-top: 8px;
        padding: 12px 16px;
        border-radius: 12px;
    }
}

/* FIX FINAL: Menu mobile hanya muncul saat tombol hamburger diklik */
@media (max-width: 760px) {

    /* Tombol belum diklik: sembunyikan navigasi */
    .home-nav-inner > .home-menu-toggle[aria-expanded="false"]
    + .home-nav-links {
        display: none !important;
    }

    /* Tombol diklik: tampilkan navigasi */
    .home-nav-inner > .home-menu-toggle[aria-expanded="true"]
    + .home-nav-links {
        display: flex !important;
    }

}

/* =====================================================
   HALAMAN PUBLIK PW IPDI BANTEN
   ===================================================== */

.public-content-page {
    min-height: 55vh;
    background: #f8f9fc;
}

.public-content-hero {
    padding: 72px 0 64px;
    color: #fff;
    background: linear-gradient(125deg, #7d1729, #a62b41);
}

.public-content-hero h1 {
    max-width: 850px;
    margin: 14px 0;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.public-content-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.8;
}

.public-content-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffe2e8;
}

.public-content-back {
    display: inline-flex;
    margin-top: 24px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.public-content-back:hover {
    background: rgba(255, 255, 255, .12);
}

.public-content-section {
    padding: 48px 0 72px;
}

.public-content-body,
.public-content-empty,
.public-content-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(27, 39, 61, .04);
}

.public-content-body {
    color: #475467;
    font-size: 15px;
    line-height: 1.9;
}

.public-content-empty {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.public-content-empty h2 {
    margin: 0 0 12px;
    color: #263246;
    font-size: 22px;
}

.public-content-empty p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.public-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.public-content-card h2 {
    margin: 10px 0;
    color: #263246;
    font-size: 19px;
    line-height: 1.5;
}

.public-content-card p {
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.public-content-category {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 7px;
    color: #92263a;
    background: #fbf0f2;
    font-size: 11px;
    font-weight: 800;
}

.public-content-card .public-content-meta {
    margin: 5px 0;
    font-size: 12px;
    color: #8a94a6;
}

@media (max-width: 760px) {
    .public-content-hero {
        padding: 46px 0 40px;
    }

    .public-content-section {
        padding: 28px 0 44px;
    }

    .public-content-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .public-content-body,
    .public-content-empty,
    .public-content-card {
        padding: 20px;
        border-radius: 13px;
    }

    .public-content-card h2 {
        font-size: 17px;
    }
}

/* Konten rich text pada halaman publik PW IPDI BANTEN */
.public-content-body {
    overflow-wrap: anywhere;
    line-height: 1.85;
}

.public-content-body h1,
.public-content-body h2,
.public-content-body h3,
.public-content-body h4 {
    margin: 1.4em 0 .6em;
    color: #202b3d;
    line-height: 1.4;
}

.public-content-body p {
    margin: 0 0 1em;
}

.public-content-body img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 10px;
}

.public-content-body .ql-align-center {
    text-align: center;
}

.public-content-body .ql-align-right {
    text-align: right;
}

.public-content-body .ql-align-justify {
    text-align: justify;
}

.public-content-body blockquote {
    margin: 1.25em 0;
    padding: 10px 18px;
    border-left: 4px solid #95243a;
    color: #667085;
    background: #faf6f7;
}

.public-content-body a {
    color: #95243a;
    text-decoration: underline;
}

.public-content-body pre,
.public-content-body code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.public-content-body ol,
.public-content-body ul {
    padding-left: 1.8em;
    margin: 1em 0;
}

/* Konten profil organisasi dan artikel PW IPDI BANTEN */
.public-content-body {
    line-height: 1.65;
}

.public-content-body p {
    margin: 0 0 0.5em !important;
    line-height: 1.65 !important;
}

.public-content-body h1,
.public-content-body h2,
.public-content-body h3,
.public-content-body h4 {
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.4;
}

.public-content-body blockquote {
    margin: 0.6em 0;
}

.public-content-body img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   MyIPDI — TinyMCE / public preview parity
   Keep the approved TinyMCE formatting visible in the public
   preview. Float containment also prevents images extending
   beyond the white content card.
   ========================================================= */

.public-content-body {
    display: flow-root;
    overflow-wrap: anywhere;
}

/* Fallback clearfix for float-containing content. */
.public-content-body::after {
    content: "";
    display: table;
    clear: both;
}

/* Restore text alignment from sanitized style attributes. */
.public-content-body [style*="text-align:center"],
.public-content-body [style*="text-align: center"] {
    text-align: center !important;
}

.public-content-body [style*="text-align:left"],
.public-content-body [style*="text-align: left"] {
    text-align: left !important;
}

.public-content-body [style*="text-align:right"],
.public-content-body [style*="text-align: right"] {
    text-align: right !important;
}

.public-content-body [style*="text-align:justify"],
.public-content-body [style*="text-align: justify"] {
    text-align: justify !important;
}

/* Restore permitted TinyMCE font sizes when style-src blocks
   the original inline declaration. ContentHtml limits sizes to 8–72px. */

.public-content-body [style*="font-size:8px"],
.public-content-body [style*="font-size: 8px"] {
    font-size: 8px !important;
}

.public-content-body [style*="font-size:9px"],
.public-content-body [style*="font-size: 9px"] {
    font-size: 9px !important;
}

.public-content-body [style*="font-size:10px"],
.public-content-body [style*="font-size: 10px"] {
    font-size: 10px !important;
}

.public-content-body [style*="font-size:11px"],
.public-content-body [style*="font-size: 11px"] {
    font-size: 11px !important;
}

.public-content-body [style*="font-size:12px"],
.public-content-body [style*="font-size: 12px"] {
    font-size: 12px !important;
}

.public-content-body [style*="font-size:13px"],
.public-content-body [style*="font-size: 13px"] {
    font-size: 13px !important;
}

.public-content-body [style*="font-size:14px"],
.public-content-body [style*="font-size: 14px"] {
    font-size: 14px !important;
}

.public-content-body [style*="font-size:15px"],
.public-content-body [style*="font-size: 15px"] {
    font-size: 15px !important;
}

.public-content-body [style*="font-size:16px"],
.public-content-body [style*="font-size: 16px"] {
    font-size: 16px !important;
}

.public-content-body [style*="font-size:17px"],
.public-content-body [style*="font-size: 17px"] {
    font-size: 17px !important;
}

.public-content-body [style*="font-size:18px"],
.public-content-body [style*="font-size: 18px"] {
    font-size: 18px !important;
}

.public-content-body [style*="font-size:19px"],
.public-content-body [style*="font-size: 19px"] {
    font-size: 19px !important;
}

.public-content-body [style*="font-size:20px"],
.public-content-body [style*="font-size: 20px"] {
    font-size: 20px !important;
}

.public-content-body [style*="font-size:21px"],
.public-content-body [style*="font-size: 21px"] {
    font-size: 21px !important;
}

.public-content-body [style*="font-size:22px"],
.public-content-body [style*="font-size: 22px"] {
    font-size: 22px !important;
}

.public-content-body [style*="font-size:23px"],
.public-content-body [style*="font-size: 23px"] {
    font-size: 23px !important;
}

.public-content-body [style*="font-size:24px"],
.public-content-body [style*="font-size: 24px"] {
    font-size: 24px !important;
}

.public-content-body [style*="font-size:25px"],
.public-content-body [style*="font-size: 25px"] {
    font-size: 25px !important;
}

.public-content-body [style*="font-size:26px"],
.public-content-body [style*="font-size: 26px"] {
    font-size: 26px !important;
}

.public-content-body [style*="font-size:27px"],
.public-content-body [style*="font-size: 27px"] {
    font-size: 27px !important;
}

.public-content-body [style*="font-size:28px"],
.public-content-body [style*="font-size: 28px"] {
    font-size: 28px !important;
}

.public-content-body [style*="font-size:29px"],
.public-content-body [style*="font-size: 29px"] {
    font-size: 29px !important;
}

.public-content-body [style*="font-size:30px"],
.public-content-body [style*="font-size: 30px"] {
    font-size: 30px !important;
}

.public-content-body [style*="font-size:31px"],
.public-content-body [style*="font-size: 31px"] {
    font-size: 31px !important;
}

.public-content-body [style*="font-size:32px"],
.public-content-body [style*="font-size: 32px"] {
    font-size: 32px !important;
}

.public-content-body [style*="font-size:33px"],
.public-content-body [style*="font-size: 33px"] {
    font-size: 33px !important;
}

.public-content-body [style*="font-size:34px"],
.public-content-body [style*="font-size: 34px"] {
    font-size: 34px !important;
}

.public-content-body [style*="font-size:35px"],
.public-content-body [style*="font-size: 35px"] {
    font-size: 35px !important;
}

.public-content-body [style*="font-size:36px"],
.public-content-body [style*="font-size: 36px"] {
    font-size: 36px !important;
}

.public-content-body [style*="font-size:37px"],
.public-content-body [style*="font-size: 37px"] {
    font-size: 37px !important;
}

.public-content-body [style*="font-size:38px"],
.public-content-body [style*="font-size: 38px"] {
    font-size: 38px !important;
}

.public-content-body [style*="font-size:39px"],
.public-content-body [style*="font-size: 39px"] {
    font-size: 39px !important;
}

.public-content-body [style*="font-size:40px"],
.public-content-body [style*="font-size: 40px"] {
    font-size: 40px !important;
}

.public-content-body [style*="font-size:41px"],
.public-content-body [style*="font-size: 41px"] {
    font-size: 41px !important;
}

.public-content-body [style*="font-size:42px"],
.public-content-body [style*="font-size: 42px"] {
    font-size: 42px !important;
}

.public-content-body [style*="font-size:43px"],
.public-content-body [style*="font-size: 43px"] {
    font-size: 43px !important;
}

.public-content-body [style*="font-size:44px"],
.public-content-body [style*="font-size: 44px"] {
    font-size: 44px !important;
}

.public-content-body [style*="font-size:45px"],
.public-content-body [style*="font-size: 45px"] {
    font-size: 45px !important;
}

.public-content-body [style*="font-size:46px"],
.public-content-body [style*="font-size: 46px"] {
    font-size: 46px !important;
}

.public-content-body [style*="font-size:47px"],
.public-content-body [style*="font-size: 47px"] {
    font-size: 47px !important;
}

.public-content-body [style*="font-size:48px"],
.public-content-body [style*="font-size: 48px"] {
    font-size: 48px !important;
}

.public-content-body [style*="font-size:49px"],
.public-content-body [style*="font-size: 49px"] {
    font-size: 49px !important;
}

.public-content-body [style*="font-size:50px"],
.public-content-body [style*="font-size: 50px"] {
    font-size: 50px !important;
}

.public-content-body [style*="font-size:51px"],
.public-content-body [style*="font-size: 51px"] {
    font-size: 51px !important;
}

.public-content-body [style*="font-size:52px"],
.public-content-body [style*="font-size: 52px"] {
    font-size: 52px !important;
}

.public-content-body [style*="font-size:53px"],
.public-content-body [style*="font-size: 53px"] {
    font-size: 53px !important;
}

.public-content-body [style*="font-size:54px"],
.public-content-body [style*="font-size: 54px"] {
    font-size: 54px !important;
}

.public-content-body [style*="font-size:55px"],
.public-content-body [style*="font-size: 55px"] {
    font-size: 55px !important;
}

.public-content-body [style*="font-size:56px"],
.public-content-body [style*="font-size: 56px"] {
    font-size: 56px !important;
}

.public-content-body [style*="font-size:57px"],
.public-content-body [style*="font-size: 57px"] {
    font-size: 57px !important;
}

.public-content-body [style*="font-size:58px"],
.public-content-body [style*="font-size: 58px"] {
    font-size: 58px !important;
}

.public-content-body [style*="font-size:59px"],
.public-content-body [style*="font-size: 59px"] {
    font-size: 59px !important;
}

.public-content-body [style*="font-size:60px"],
.public-content-body [style*="font-size: 60px"] {
    font-size: 60px !important;
}

.public-content-body [style*="font-size:61px"],
.public-content-body [style*="font-size: 61px"] {
    font-size: 61px !important;
}

.public-content-body [style*="font-size:62px"],
.public-content-body [style*="font-size: 62px"] {
    font-size: 62px !important;
}

.public-content-body [style*="font-size:63px"],
.public-content-body [style*="font-size: 63px"] {
    font-size: 63px !important;
}

.public-content-body [style*="font-size:64px"],
.public-content-body [style*="font-size: 64px"] {
    font-size: 64px !important;
}

.public-content-body [style*="font-size:65px"],
.public-content-body [style*="font-size: 65px"] {
    font-size: 65px !important;
}

.public-content-body [style*="font-size:66px"],
.public-content-body [style*="font-size: 66px"] {
    font-size: 66px !important;
}

.public-content-body [style*="font-size:67px"],
.public-content-body [style*="font-size: 67px"] {
    font-size: 67px !important;
}

.public-content-body [style*="font-size:68px"],
.public-content-body [style*="font-size: 68px"] {
    font-size: 68px !important;
}

.public-content-body [style*="font-size:69px"],
.public-content-body [style*="font-size: 69px"] {
    font-size: 69px !important;
}

.public-content-body [style*="font-size:70px"],
.public-content-body [style*="font-size: 70px"] {
    font-size: 70px !important;
}

.public-content-body [style*="font-size:71px"],
.public-content-body [style*="font-size: 71px"] {
    font-size: 71px !important;
}

.public-content-body [style*="font-size:72px"],
.public-content-body [style*="font-size: 72px"] {
    font-size: 72px !important;
}

/* Font stacks offered by the current TinyMCE configuration. */
.public-content-body [style*="font-family:arial, helvetica, sans-serif"],
.public-content-body [style*="font-family:arial,helvetica,sans-serif"] {
    font-family: Arial, Helvetica, sans-serif !important;
}

.public-content-body [style*="font-family:inter, arial, sans-serif"],
.public-content-body [style*="font-family:inter,arial,sans-serif"] {
    font-family: Inter, Arial, sans-serif !important;
}

.public-content-body [style*="font-family:georgia, palatino, serif"],
.public-content-body [style*="font-family:georgia,palatino,serif"] {
    font-family: Georgia, Palatino, serif !important;
}

.public-content-body [style*="font-family:verdana, geneva, sans-serif"],
.public-content-body [style*="font-family:verdana,geneva,sans-serif"] {
    font-family: Verdana, Geneva, sans-serif !important;
}

.public-content-body [style*="font-family:times new roman, times, serif"],
.public-content-body [style*="font-family:times new roman,times,serif"] {
    font-family: "Times New Roman", Times, serif !important;
}

/* Desktop: preserve the side-by-side image/text arrangement.
   Use margin-top instead of relative top positioning so the card's
   measured height includes the visual offset of the floated image. */
@media (min-width: 761px) {
    .public-content-body img[style*="float:left"],
    .public-content-body img[style*="float: left"] {
        float: left !important;
        display: block;
        position: static !important;
        top: auto !important;
        vertical-align: top !important;
        margin-top: 8px !important;
        margin-right: 20px !important;
        margin-bottom: 10px !important;
        max-width: 100%;
        height: auto;
    }

    .public-content-body img[style*="float:right"],
    .public-content-body img[style*="float: right"] {
        float: right !important;
        display: block;
        position: static !important;
        top: auto !important;
        vertical-align: top !important;
        margin-top: 8px !important;
        margin-left: 20px !important;
        margin-bottom: 10px !important;
        max-width: 100%;
        height: auto;
    }
}

/* Small screens: avoid squeezing text into a narrow column. */
@media (max-width: 760px) {
    .public-content-body img[style*="float:left"],
    .public-content-body img[style*="float: left"],
    .public-content-body img[style*="float:right"],
    .public-content-body img[style*="float: right"] {
        float: none !important;
        display: block !important;
        position: static !important;
        top: auto !important;
        margin: 0 auto 16px !important;
        max-width: 100%;
        height: auto;
    }
}

