:root{
  --fd-primary:#0b6b63;
  --fd-primary-2:#0f8b80;
  --fd-primary-3:#0f766e;
  --fd-accent:#f4b740;
  --fd-accent-2:#ffd77a;
  --fd-ink:#132238;
  --fd-ink-2:#24364b;
  --fd-muted:#6b7b8f;
  --fd-bg:#f4f7fb;
  --fd-surface:#ffffff;
  --fd-border:#e5eaf1;
  --fd-success:#15803d;
  --fd-warning:#b7791f;
  --fd-danger:#c24141;
  --fd-info:#0369a1;
  --fd-radius:22px;
  --fd-radius-sm:14px;
  --fd-shadow:0 18px 50px rgba(23,37,61,.08);
  --fd-shadow-lg:0 28px 80px rgba(15,29,52,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--fd-bg);color:var(--fd-ink);font-family:"Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;min-height:100vh;-webkit-font-smoothing:antialiased}
a{text-decoration:none}
img{max-width:100%;height:auto}
::selection{background:#b9efe9;color:#0f3d39}

/* NAVBAR */
.fd-navbar{background:rgba(10,31,45,.94)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 10px 35px rgba(7,20,32,.12);border-bottom:1px solid rgba(255,255,255,.06)}
.fd-brand{font-weight:850;letter-spacing:-.02em;color:#fff!important}
.fd-nav-ghost{color:#d8e4e9!important;border:1px solid rgba(255,255,255,.14)!important;background:rgba(255,255,255,.05)!important}
.fd-nav-ghost:hover{background:rgba(255,255,255,.11)!important;color:#fff!important}

/* LANDING */
.fd-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;background:linear-gradient(125deg,#0b1f2f 0%,#103b43 46%,#0d786e 100%);border-radius:0 0 42px 42px;box-shadow:0 24px 70px rgba(13,43,56,.18)}
.fd-hero::before{content:"";position:absolute;z-index:-1;width:540px;height:540px;border-radius:50%;top:-310px;right:-80px;background:radial-gradient(circle,rgba(255,215,122,.32),rgba(255,215,122,0) 68%)}
.fd-hero::after{content:"";position:absolute;z-index:-1;width:560px;height:560px;border-radius:50%;bottom:-390px;left:-110px;background:radial-gradient(circle,rgba(65,203,189,.26),rgba(65,203,189,0) 70%)}
.fd-hero-grid{position:absolute;inset:0;z-index:-2;opacity:.11;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,#000,transparent 88%)}
.fd-eyebrow{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .8rem;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#eefcf9;font-weight:700;font-size:.78rem;letter-spacing:.02em}
.fd-hero-title{font-size:clamp(2.6rem,5vw,5rem);line-height:1.02;letter-spacing:-.05em;font-weight:850;max-width:760px}
.fd-hero-copy{font-size:1.08rem;line-height:1.75;color:rgba(238,247,249,.76);max-width:700px}
.fd-hero-panel{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.97);border-radius:28px;box-shadow:0 30px 85px rgba(5,22,35,.25);color:var(--fd-ink);position:relative;overflow:hidden}
.fd-hero-panel::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--fd-accent),#8de0d6)}
.fd-trust-item{display:flex;align-items:center;gap:.8rem;padding:.85rem 0;border-bottom:1px dashed #e4e9ef}.fd-trust-item:last-child{border-bottom:0}
.fd-trust-item .fd-check{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#edf9f6;color:var(--fd-primary);flex:0 0 auto}
.fd-section{padding:82px 0}
.fd-section-title{font-size:clamp(1.8rem,3vw,2.65rem);font-weight:850;letter-spacing:-.035em}
.fd-kiosk-grid .fd-card{height:100%}
.fd-kiosk-card{position:relative;overflow:hidden}
.fd-kiosk-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--fd-primary-2),var(--fd-accent))}
.fd-price{font-size:1.65rem;font-weight:850;letter-spacing:-.04em;color:var(--fd-ink)}
.fd-price small{font-size:.78rem;font-weight:600;color:var(--fd-muted);letter-spacing:0}
.fd-feature-list{display:grid;gap:.7rem}.fd-feature{display:flex;align-items:center;gap:.7rem;color:#536276;font-size:.92rem}.fd-feature i{width:30px;height:30px;border-radius:10px;background:#f0f7f6;color:var(--fd-primary);display:grid;place-items:center}
.fd-footer{background:#0b1f2f;color:#aebbc8;border:0!important}.fd-footer strong{color:#fff}

/* SURFACES */
.fd-card{border:1px solid rgba(229,234,241,.95);border-radius:var(--fd-radius);background:var(--fd-surface);box-shadow:var(--fd-shadow);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.fd-card:hover{transform:translateY(-3px);box-shadow:0 24px 64px rgba(23,37,61,.12);border-color:#d4dde8}
.fd-card-static:hover{transform:none}
.fd-soft{background:#f7f9fc;border:1px solid var(--fd-border);border-radius:18px}
.fd-icon{width:52px;height:52px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;background:linear-gradient(145deg,#e6f8f5,#f5fbfa);color:var(--fd-primary);border:1px solid #d8f0ec}
.fd-icon-warning{background:#fff7e8;color:#a75e00;border-color:#ffe6b9}.fd-icon-danger{background:#fff0f0;color:var(--fd-danger);border-color:#ffdcdc}.fd-icon-info{background:#eef8ff;color:#0369a1;border-color:#d8edff}
.fd-divider{height:1px;background:#edf0f4;margin:1rem 0}

/* BUTTONS */
.btn{font-weight:700;border-radius:13px;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}
.btn:hover{transform:translateY(-1px)}
.fd-btn-primary{background:linear-gradient(135deg,var(--fd-primary),var(--fd-primary-2));border:0;color:#fff!important;box-shadow:0 10px 24px rgba(11,107,99,.22)}
.fd-btn-primary:hover{box-shadow:0 14px 30px rgba(11,107,99,.28);filter:brightness(.98)}
.fd-btn-accent{background:linear-gradient(135deg,#f4b740,#ffc95a);border:0;color:#2f2a1b!important;box-shadow:0 10px 24px rgba(244,183,64,.2)}
.fd-btn-outline{border:1px solid #d5dde8;color:var(--fd-ink);background:#fff}.fd-btn-outline:hover{border-color:#8dcfc7;color:var(--fd-primary);background:#f7fffd}

/* FORMS */
.form-label{font-weight:700;color:#34455b;margin-bottom:.5rem}
.form-control,.form-select,.input-group-text{border-color:#dce3ec;min-height:50px;border-radius:13px;background:#fff;color:var(--fd-ink)}
.form-control::placeholder{color:#a4afbd}.form-control:focus,.form-select:focus{border-color:#67c9bd;box-shadow:0 0 0 .22rem rgba(15,139,128,.11)}
.input-group>.form-control:not(:first-child),.input-group>.form-select:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group>.input-group-text:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}
.fd-auth-bg{min-height:100vh;background:radial-gradient(circle at 8% 12%,rgba(20,139,128,.15),transparent 28%),radial-gradient(circle at 90% 15%,rgba(244,183,64,.15),transparent 25%),linear-gradient(145deg,#edf4f7 0%,#f8fafc 52%,#eef3f8 100%)}
.fd-auth-shell{max-width:1040px;margin:auto}
.fd-auth-brand{min-height:590px;border-radius:28px;background:linear-gradient(145deg,#0b1f2f,#0d544f);color:#fff;box-shadow:var(--fd-shadow-lg);position:relative;overflow:hidden}
.fd-auth-brand::after{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-180px;bottom:-170px;background:rgba(255,255,255,.08)}
.fd-auth-card{border:0;border-radius:28px;background:#fff;box-shadow:var(--fd-shadow-lg)}

/* STATUS */
.fd-status{display:inline-flex;align-items:center;gap:.42rem;border-radius:999px;padding:.45rem .75rem;font-size:.76rem;font-weight:800;line-height:1.05;white-space:nowrap}
.fd-status-success{background:#e5f7ea;color:#166534}.fd-status-warning{background:#fff4d8;color:#8a5b00}.fd-status-info{background:#e8f6ff;color:#075985}.fd-status-danger{background:#fde8e8;color:#a32929}.fd-status-muted{background:#eef2f6;color:#556274}
.fd-summary-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.72rem 0;border-bottom:1px dashed #dfe5ec}.fd-summary-row:last-child{border-bottom:0}

/* TABLES */
.table{--bs-table-bg:transparent;margin-bottom:0}.table thead th{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#718096;border-bottom:1px solid #e4e9f0;padding:.95rem .8rem;white-space:nowrap}.table td{vertical-align:middle;border-color:#eef1f5;padding:1rem .8rem}.table tbody tr{transition:background .15s ease}.table tbody tr:hover{background:#fafcfe}.table-responsive{border-radius:16px}

/* ADMIN */
.fd-sidebar{background:linear-gradient(180deg,#0a1f2e 0%,#0d3038 64%,#0b403c 100%);min-height:100vh;width:276px;position:fixed;inset:0 auto 0 0;padding:22px 15px;z-index:1040;color:#fff;overflow-y:auto;box-shadow:18px 0 55px rgba(11,31,46,.08)}
.fd-sidebar .brand{display:flex;align-items:center;gap:.7rem;font-size:1.2rem;font-weight:850;padding:7px 10px 24px;letter-spacing:-.02em}.fd-sidebar .brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,var(--fd-accent),#ffd96f);color:#142231;box-shadow:0 8px 20px rgba(244,183,64,.2)}
.fd-sidebar .menu-label{font-size:.66rem;text-transform:uppercase;letter-spacing:.15em;color:#6f8a98;padding:17px 12px 7px;font-weight:800}
.fd-sidebar a{display:flex;align-items:center;gap:11px;color:#b7c7cf;padding:11px 13px;border-radius:13px;margin:4px 0;font-weight:650;transition:.18s}.fd-sidebar a:hover{background:rgba(255,255,255,.07);color:#fff}.fd-sidebar a.active{background:linear-gradient(90deg,rgba(54,204,190,.19),rgba(54,204,190,.08));color:#fff;box-shadow:inset 3px 0 0 #67d9cd}.fd-sidebar i{width:20px;text-align:center}.fd-sidebar .sidebar-footer{margin-top:24px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.04);font-size:.8rem;color:#9db0bb}
.fd-main{margin-left:276px;padding:30px 32px 56px;min-height:100vh;background:linear-gradient(180deg,#f6f8fb 0%,#f3f6fa 100%)}
.fd-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:26px}.fd-topbar h1{letter-spacing:-.035em}.fd-menu-toggle{display:none}.fd-admin-header{background:linear-gradient(135deg,#ffffff 0%,#f4fbfa 100%);border:1px solid #e2eceb;border-radius:24px;padding:24px 26px;box-shadow:0 12px 34px rgba(29,54,72,.055);margin-bottom:22px;position:relative;overflow:hidden}.fd-admin-header::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;right:-85px;top:-100px;background:rgba(15,139,128,.08)}
.fd-kpi{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.fd-kpi-value{font-size:1.72rem;font-weight:850;letter-spacing:-.04em}.fd-kpi-card{overflow:hidden;position:relative}.fd-kpi-card::after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-55px;bottom:-64px;background:rgba(15,139,128,.06)}
.fd-payment-option{cursor:pointer;border:1px solid #dce3ec;border-radius:18px;padding:18px;transition:.2s;background:#fff;height:auto}.fd-payment-option:hover,.fd-payment-option.active{border-color:#76cdc3;box-shadow:0 11px 28px rgba(11,107,99,.10);background:#f3fcfa}.fd-payment-option input{accent-color:var(--fd-primary)}
.fd-empty{text-align:center;padding:56px 24px;color:#718096}.fd-empty .fd-icon{width:64px;height:64px;font-size:1.45rem}
.alert{border:0;border-radius:16px;box-shadow:0 8px 22px rgba(20,38,57,.05)}
.modal-content{border-radius:22px;border:0;box-shadow:0 25px 80px rgba(15,23,42,.18)}
.fd-mobile-actions{display:none}

/* RESPONSIVE */
@media(max-width:1199.98px){.fd-hero-title{font-size:3.55rem}}
@media(max-width:991.98px){.fd-sidebar{transform:translateX(-100%);transition:transform .22s ease}.fd-sidebar.open{transform:translateX(0)}.fd-main{margin-left:0;padding:22px 16px 46px}.fd-menu-toggle{display:inline-flex}.fd-topbar{align-items:flex-start}.fd-mobile-actions{display:block}.fd-hero{border-radius:0 0 30px 30px}.fd-section{padding:58px 0}.fd-auth-brand{min-height:auto}.fd-hero-title{font-size:3rem}}
@media(max-width:767.98px){.fd-hero-title{font-size:2.55rem}.fd-card{border-radius:18px}.fd-hero-panel{border-radius:22px}.fd-summary-row{font-size:.92rem}.navbar .container{gap:10px}.fd-kpi-value{font-size:1.5rem}.btn{min-height:44px}.fd-hide-mobile{display:none!important}.fd-admin-header{padding:20px}.fd-auth-card{border-radius:22px}.fd-auth-brand{border-radius:22px}.fd-section{padding:46px 0}}
@media(max-width:575.98px){.container{padding-left:16px;padding-right:16px}.fd-hero{padding-top:36px!important;padding-bottom:38px!important}.fd-hero-title{font-size:2.25rem}.fd-hero-copy{font-size:.98rem;line-height:1.65}.fd-section{padding:38px 0}.form-control,.form-select,.input-group-text{min-height:48px}.fd-payment-option{padding:15px}.fd-main{padding:16px 12px 40px}.fd-topbar{margin-bottom:18px}}

/* v3.3 - modal stability & payment flow */
body.modal-open{overflow:hidden!important}
.modal{z-index:1085}.modal-backdrop{z-index:1080}
.fd-payment-option{position:relative}
.fd-payment-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:.7rem;font-weight:800;letter-spacing:.02em;background:#eef7f5;color:#176f67;margin-top:7px}
.fd-payment-tag.warning{background:#fff7e8;color:#9a6410}.fd-payment-tag.info{background:#eef4ff;color:#375ea8}
.fd-bank-box{border:1px dashed #b8c9cf;background:linear-gradient(135deg,#f8fbfc,#f1f8f7);border-radius:16px;padding:16px}
.fd-proof-box{border:1px solid #dfe6ed;border-radius:14px;padding:14px;background:#fff}
.fd-cash-note{border-left:4px solid #0f8b80;background:#f3fbfa;border-radius:12px;padding:14px 16px}
.fd-method-cell{min-width:180px}
.fd-method-title{font-weight:800;display:flex;align-items:center;gap:7px}.fd-method-sub{font-size:.78rem;color:#718096;margin-top:3px}
.fd-table-card:hover{transform:none!important}


/* v4.1 - payment UX cleanup */
.fd-payment-section{position:relative}
.fd-step-head{display:flex;align-items:flex-start;gap:12px}
.fd-step-number{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:10px;background:#e8f7f4;color:var(--fd-primary);font-weight:900;flex:0 0 auto;border:1px solid #d4eeea}
.fd-amount-card{background:linear-gradient(135deg,#f7fbfb,#fff);border:1px solid #deebe9;border-radius:18px;padding:16px}
.fd-payment-option-compact{display:flex;align-items:center;gap:12px;position:relative;min-height:92px;padding:14px!important;width:100%;margin:0!important}
.fd-payment-option-compact .form-check-input{position:absolute;opacity:0;pointer-events:none}
.fd-payment-option-copy{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.fd-payment-option-copy b{font-size:.95rem;color:var(--fd-ink)}
.fd-payment-option-copy small{color:var(--fd-muted);font-size:.76rem;margin-top:4px}
.fd-payment-option-compact .fd-icon{width:42px;height:42px;border-radius:13px;font-size:1rem;flex:0 0 auto}
.fd-choice-check{margin-left:auto;color:#cdd5df;font-size:1.05rem;transition:.18s}
.fd-payment-option-compact.active{border-color:#69c8bd;background:linear-gradient(135deg,#f0fbf9,#fff);box-shadow:0 9px 24px rgba(11,107,99,.09)}
.fd-payment-option-compact.active .fd-choice-check{color:var(--fd-primary)}
.fd-payment-placeholder{border:1px dashed #ccd8e2;border-radius:18px;padding:28px 18px;text-align:center;background:#fafcfe;color:#64748b}
.fd-payment-detail{border:1px solid #dce6ee;border-radius:20px;padding:18px;background:#fff;box-shadow:0 10px 30px rgba(26,45,66,.05)}
.fd-detail-title{display:flex;align-items:center;gap:12px}
.fd-detail-title>div{display:flex;flex-direction:column}
.fd-detail-title small{color:var(--fd-muted);margin-top:3px}
.fd-detail-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e8f7f4;color:var(--fd-primary);flex:0 0 auto}
.fd-detail-icon.warning{background:#fff6e6;color:#a86400}
.fd-info-strip{display:flex;gap:10px;align-items:flex-start;padding:13px 14px;border-radius:14px;background:#f5faf9;color:#3e5960;font-size:.86rem}
.fd-info-strip i{color:var(--fd-primary);margin-top:2px}
.fd-transfer-steps{display:grid;gap:16px}
.fd-transfer-step{display:flex;align-items:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px dashed #dce5ec}
.fd-transfer-step:last-child{border-bottom:0;padding-bottom:0}
.fd-transfer-step-no{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#0f8b80;color:#fff;font-weight:900;font-size:.8rem;flex:0 0 auto}
.fd-bank-box{border:1px solid #d9e5e3;background:linear-gradient(135deg,#f7fbfa,#f2f8f7);border-radius:16px;padding:16px}
.fd-transfer-amount{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px dashed #cbdad7;padding-top:12px;font-size:.9rem}
.fd-transfer-amount b{font-size:1.05rem;color:var(--fd-primary)}
.fd-upload-zone{display:flex;align-items:center;gap:12px;border:1.5px dashed #aebdca;border-radius:16px;padding:16px;background:#fafcfe;cursor:pointer;transition:.18s;position:relative;overflow:hidden}
.fd-upload-zone:hover{border-color:#65bfb5;background:#f6fcfb}
.fd-upload-zone input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.fd-upload-icon{width:44px;height:44px;border-radius:13px;background:#eaf7f5;color:var(--fd-primary);display:grid;place-items:center;font-size:1.05rem;flex:0 0 auto}
.fd-upload-copy{display:flex;flex-direction:column;min-width:0;flex-grow:1}
.fd-upload-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.9rem}
.fd-upload-copy small{font-size:.76rem;color:var(--fd-muted);margin-top:3px}
.fd-proof-preview{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #d7e7e3;border-radius:14px;background:#f7fbfa}
.fd-proof-preview img{width:64px;height:64px;object-fit:cover;border-radius:10px;border:1px solid #d8e1e8}
.fd-cash-flow{display:grid;gap:12px}
.fd-cash-flow>div{display:flex;align-items:flex-start;gap:11px;padding:12px 13px;border-radius:14px;background:#f8fafc;border:1px solid #e5eaf0}
.fd-cash-flow>div>span{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#e8f7f4;color:var(--fd-primary);font-weight:900;font-size:.78rem;flex:0 0 auto}
.fd-cash-flow p{display:flex;flex-direction:column;margin:0}
.fd-cash-flow small{color:var(--fd-muted);margin-top:3px}
.fd-payment-security{display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border-radius:15px;background:#f7fafc;border:1px solid #e4e9ef}
.fd-payment-security>div{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e9f8f4;color:var(--fd-primary);flex:0 0 auto}
.fd-payment-security p{display:flex;flex-direction:column}
.fd-payment-security small{color:var(--fd-muted);margin-top:3px;line-height:1.5}
@media(max-width:575.98px){
  .fd-payment-option-compact{min-height:82px}
  .fd-payment-detail{padding:15px}
  .fd-upload-zone{align-items:flex-start;flex-wrap:wrap}
  .fd-upload-zone .btn{width:100%;margin-top:2px}
  .fd-transfer-amount{align-items:flex-start;flex-direction:column;gap:4px}
}
