/* GO Reseller — pop-up pesanan & Area Mitra (memakai variabel tema GO Kabah). */
.gkr-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s; }
.gkr-modal.is-open { visibility: visible; opacity: 1; }
.gkr-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.gkr-modal__panel { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px 30px 26px; border-radius: 22px; background: linear-gradient(180deg, #0c2219, #060b09); border: 1px solid var(--gk-line, rgba(201,164,92,.3)); color: var(--gk-text, #eee); box-shadow: 0 40px 80px -30px #000; transform: translateY(10px); transition: transform .25s ease; }
.gkr-modal.is-open .gkr-modal__panel { transform: none; }
.gkr-modal__x { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--gk-muted, #aaa); font-size: 30px; cursor: pointer; line-height: 1; }
.gkr-modal__title { font-size: 28px; margin: 0 0 4px; }
.gkr-modal__meta { color: var(--gk-gold-light, #e4c98d); font-weight: 600; margin-bottom: 20px; font-size: 14px; }
.gkr-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.gkr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gkr-ref-info { font-size: 13px; padding: 10px 14px; border-radius: 10px; background: rgba(201,164,92,.1); color: var(--gk-gold-light, #e4c98d); }
.gkr-small { font-size: 12px; color: var(--gk-dim, #888); margin: 0; text-align: center; }
.gkr-error a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Area Mitra */
.gkr-wrap { max-width: 1080px; margin: 0 auto; }
.gkr-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.gkr-tabs a { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gk-line-soft, rgba(255,255,255,.1)); color: var(--gk-muted, #aaa); font-weight: 600; font-size: 14px; }
.gkr-tabs a.is-active { border-color: var(--gk-gold, #c9a45c); color: var(--gk-gold-light, #e4c98d); }
.gkr-box { padding: 30px; border-radius: 20px; border: 1px solid var(--gk-line-soft, rgba(255,255,255,.08)); background: rgba(0,0,0,.35); margin-bottom: 24px; }
.gkr-box h2 { font-size: 28px; margin-bottom: 18px; }
.gkr-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.gkr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gkr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.gkr-stat { padding: 20px; border-radius: 16px; border: 1px solid var(--gk-line-soft, rgba(255,255,255,.08)); background: linear-gradient(160deg, rgba(27,94,63,.25), rgba(0,0,0,.3)); }
.gkr-stat span { display: block; font-size: 12px; color: var(--gk-muted, #aaa); letter-spacing: .04em; }
.gkr-stat strong { display: block; font-size: 22px; color: var(--gk-gold-light, #e4c98d); margin-top: 6px; }
.gkr-stat--main { border-color: var(--gk-gold, #c9a45c); }
.gkr-link { display: flex; gap: 8px; margin-bottom: 10px; }
.gkr-link input { flex: 1; padding: 11px 14px; border-radius: 10px; background: rgba(0,0,0,.45); border: 1px solid var(--gk-line-soft, rgba(255,255,255,.1)); color: var(--gk-text, #eee); font: inherit; font-size: 13.5px; }
.gkr-code { display: inline-block; font-size: 26px; font-weight: 700; letter-spacing: .12em; color: var(--gk-gold-light, #e4c98d); padding: 6px 16px; border: 1px dashed var(--gk-gold, #c9a45c); border-radius: 10px; margin-bottom: 16px; }
.gkr-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.gkr-head h1 { margin: 0; font-size: clamp(30px, 4vw, 42px); }
.gkr-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.08); }
.gkr-status--visa, .gkr-status--selesai, .gkr-status--paid, .gkr-status--active { background: rgba(27,94,63,.45); color: #9fe0bd; }
.gkr-status--batal, .gkr-status--rejected, .gkr-status--suspended { background: rgba(160,50,50,.3); color: #f0a9a9; }
.gkr-status--dp, .gkr-status--lunas, .gkr-status--pending { background: rgba(201,164,92,.18); color: var(--gk-gold-light, #e4c98d); }
.gkr-terms { white-space: pre-line; font-size: 13px; color: var(--gk-muted, #aaa); }
.gkr-promo-ref { text-align: center; padding: 12px; border-radius: 12px; background: rgba(201,164,92,.1); color: var(--gk-gold-light, #e4c98d); margin-bottom: 30px; font-size: 14px; }
@media (max-width: 760px) { .gkr-auth, .gkr-grid2, .gkr-row { grid-template-columns: 1fr; } .gkr-box { padding: 22px 18px; } .gkr-link { flex-direction: column; } }

/* Dasbor Mitra: Halaman Promosi */
.gkp-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.gkp-filter button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gk-line-soft, rgba(255,255,255,.1)); background: transparent; color: var(--gk-muted, #aaa); font: inherit; font-size: 13px; cursor: pointer; }
.gkp-filter button.is-active, .gkp-filter button:hover { border-color: var(--gk-gold, #c9a45c); color: var(--gk-gold-light, #e4c98d); }
.gkp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }
.gkp-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--gk-line-soft, rgba(255,255,255,.08)); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.3)); display: flex; flex-direction: column; }
.gkp-card[hidden] { display: none; }
.gkp-card__img { position: relative; aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 10%, #1b5e3f, #07110c); }
.gkp-card__img img { width: 100%; height: 100%; object-fit: cover; }
.gkp-card__type { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(4,6,5,.82); color: var(--gk-gold-light, #e4c98d); border: 1px solid var(--gk-line, rgba(201,164,92,.3)); }
.gkp-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gkp-card__body h3 { font-size: 22px; margin: 0; }
.gkp-card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; }
.gkp-card__price { font-weight: 700; font-size: 17px; color: var(--gk-gold-light, #e4c98d); }
.gkp-card__kom { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(27,94,63,.45); color: #9fe0bd; }
.gkp-card__end { margin: 0; font-size: 12.5px; color: #f6d38a; }
.gkp-card .gkr-link { margin: 4px 0 0; }
.gkp-card .gkr-link input { font-size: 12.5px; }
.gkp-card__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.gkp-card__acts .gk-btn { flex: 1; }
