/* DigiKaragir Agent Network: /become-digikaragir-agent, /agent, /a/<code>. Uses the tokens from style.css. */
.ag-hero { padding: 40px 0 34px; }
.ag-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.15; margin: 6px 0 12px; letter-spacing: -.02em; }
.ag-hero .hero-sub { max-width: 640px; color: rgba(255,255,255,.86); font-size: 1.02rem; }
.ag-hero .eyebrow { color: #9cc0ff; }
.ag-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ag-amount { color: #7ef0b1; white-space: nowrap; }
.ag-hi { margin-top: 14px; font-size: .95rem; color: rgba(255,255,255,.78); }

.ag-section { padding: 30px 0 6px; }
.ag-section h2 { font-size: 1.35rem; margin: 0 0 6px; letter-spacing: -.01em; }
.ag-section > .container > p.muted { margin-top: 0; max-width: 720px; }
.ag-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 16px; }
.ag-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); }
.ag-tile h3 { font-size: 1rem; margin: 0 0 6px; }
.ag-tile p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.ag-tile .ag-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 800; margin-bottom: 10px; }

.ag-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.ag-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.ag-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.ag-steps strong { display: block; margin-bottom: 2px; }
.ag-steps span { color: var(--ink-2); font-size: .93rem; }

.ag-earn { margin-top: 16px; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ag-earn { grid-template-columns: 1.1fr 1fr; } }
.ag-earn-main { background: linear-gradient(150deg, #0b7a44, #0f9d58); color: #fff; border-radius: var(--radius); padding: 20px; }
.ag-earn-main .big { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.ag-earn-main p { margin: 8px 0 0; color: rgba(255,255,255,.9); }
.ag-earn-main ul { margin: 12px 0 0; padding-left: 18px; color: rgba(255,255,255,.92); font-size: .93rem; }
.ag-rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ag-rules h3 { margin: 0 0 8px; font-size: 1rem; }
.ag-rules ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .92rem; display: grid; gap: 4px; }

.ag-form-wrap { max-width: 720px; margin: 0 auto; }
.ag-form .form-row { grid-template-columns: 1fr; }
@media (min-width: 640px) { .ag-form .form-row.two { grid-template-columns: 1fr 1fr; } }
.ag-form select, .ag-form textarea, .ag-form input:not([type=checkbox]):not([type=radio]) { width: 100%; }
.ag-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.ag-form legend { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.ag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-pills label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font-size: .88rem; font-weight: 600; cursor: pointer; background: var(--surface); }
.ag-pills input { accent-color: var(--blue); }
.ag-pills label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: #0b3f99; }

.ag-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 8px; }
.ag-faq summary { font-weight: 700; cursor: pointer; }
.ag-faq p { margin: 8px 0 0; color: var(--ink-2); font-size: .93rem; }

/* Dashboard */
.ag-dash { display: grid; gap: 16px; padding-bottom: 30px; }
.ag-idcard { background: linear-gradient(140deg, var(--navy) 0%, #1a3fa8 60%, #4b3fd8 100%); color: #fff; border-radius: 18px; padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow-lg); }
.ag-idcard .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ag-idcard .code { font-size: 1.7rem; font-weight: 800; letter-spacing: .04em; }
.ag-idcard .name { font-size: 1.05rem; font-weight: 700; }
.ag-idcard .small { color: rgba(255,255,255,.8); }
.ag-pill-status { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); }
.ag-pill-status.APPROVED { background: #0f9d58; }
.ag-pill-status.PENDING { background: #f57c00; }
.ag-pill-status.REJECTED, .ag-pill-status.SUSPENDED { background: #d93025; }
.ag-tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .ag-tiles { grid-template-columns: repeat(4, 1fr); } }
.ag-tiles .t { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.ag-tiles .t b { display: block; font-size: 1.45rem; line-height: 1.1; }
.ag-tiles .t span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.ag-tiles .t.money b { color: var(--green-dark); }
.ag-share { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 640px) { .ag-share { grid-template-columns: 1fr 170px; } }
.ag-share img { width: 170px; height: 170px; border: 1px solid var(--line); border-radius: 12px; background: #fff; justify-self: center; }
.ag-link { display: flex; gap: 8px; align-items: center; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 8px 10px; font-weight: 700; word-break: break-all; }
.ag-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ag-list { display: grid; gap: 8px; }
.ag-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; display: grid; gap: 6px; }
.ag-item .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ag-item .meta { color: var(--muted); font-size: .84rem; }
.ag-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ag-progress i { height: 6px; border-radius: 4px; background: var(--line); }
.ag-progress i.on { background: var(--green); }
.ag-progress-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: .7rem; color: var(--muted); font-weight: 600; }
.ag-st { font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #eef1f5; color: var(--muted); }
.ag-st.CLAIMED { background: var(--blue-soft); color: #0b3f99; }
.ag-st.REGISTERED, .ag-st.VERIFIED { background: #efe9ff; color: #4b3fd8; }
.ag-st.RECHARGED, .ag-st.PAID, .ag-st.APPROVED { background: var(--green-soft); color: var(--green-dark); }
.ag-st.PENDING { background: var(--orange-soft); color: #8a4500; }
.ag-st.REJECTED { background: var(--red-soft); color: #9e1c13; }
.ag-script { background: var(--surface-2); border-left: 4px solid var(--blue); border-radius: 8px; padding: 12px 14px; font-size: .93rem; color: var(--ink-2); }
.ag-script p { margin: 0 0 6px; }

/* Professional landing (/a/<code>) */
.ag-pro-agent { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9rem; }
.ag-done { text-align: center; padding: 22px 16px; }
.ag-done .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.6rem; margin: 0 auto 10px; }

/* Next step for a professional the agent added (061) */
.ag-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--surface-2, #f4f7fb); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 8px 10px; font-size: .88rem; }
.ag-next span { color: var(--ink-2); }
.ag-next .btn { white-space: nowrap; }
