
/* DaneshGo payment, ADAB card, and portal navigation - v0.2.9.13 */
.dgoap-backbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 12px;
}
.dgoap-backlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #F3F7FB;
  border: 1px solid #D8E4F0;
  color: #071F47 !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
}
.dgoap-backlink:hover {
  background: #071F47;
  color: #fff !important;
}
.dgoap-adab-logo-wrap {
  background: #ffffff !important;
  border-color: rgba(10,87,151,.22) !important;
  overflow: hidden;
}
.dgoap-adab-logo-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.dgoap-fx-rate-box {
  margin: 16px 0 0;
  border-radius: 24px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #071F47 0%, #0A5797 100%);
  color: #fff;
  border: 1px solid rgba(69,244,239,.26);
}
.dgoap-fx-rate-box span {
  display: block;
  color: rgba(255,255,255,.70);
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 6px;
}
.dgoap-fx-rate-box strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.6;
}
.dgoap-fx-rate-box p {
  margin: 4px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  line-height: 1.9;
}
.dgoap-fx-rate-box a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 900;
}
.dgoap-fx-rate-box.is-error {
  background: #FFF8F8;
  color: #7A271A;
  border-color: rgba(180,35,24,.20);
}
.dgoap-fx-rate-box.is-error span,
.dgoap-fx-rate-box.is-error p { color: #B42318; }
.dgoap-fx-rate-box.is-error strong { color: #7A271A; }
.dgoap-rial-payable {
  color: #007A6C !important;
  font-weight: 900 !important;
}
.dgoap-zarinpal-start-form {
  margin: 0;
  display: grid;
  gap: 6px;
}
.dgoap-zarinpal-btn {
  background: #00A693 !important;
}
.dgoap-secondary-mini {
  background: #F1F5F9 !important;
  color: #20314E !important;
  box-shadow: none !important;
  border: 1px solid #D8E4F0 !important;
}
.dgoap-student-status form + .dgoap-secondary-mini,
.dgoap-student-status .dgoap-secondary-mini {
  margin-top: 6px;
}
.dgoap-payment-report-box-v2 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.dgoap-manual-paid-open {
  background: #061A33 !important;
}
.dgoap-manual-warning {
  border-radius: 18px;
  padding: 13px 15px;
  background: rgba(180,35,24,.08);
  border: 1px solid rgba(180,35,24,.18);
  color: #7A271A;
  font-size: 12.5px;
  line-height: 2;
  font-weight: 800;
  margin-bottom: 14px;
}
.dgoap-confirm-line {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #FFFDF7;
  border: 1px solid rgba(230,179,76,.34);
  color: #4D3A10;
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 800;
}
.dgoap-confirm-line input {
  width: 16px !important;
  height: 16px;
  margin-top: 5px;
}
@media (max-width: 760px) {
  .dgoap-fx-rate-box { display: block; }
  .dgoap-fx-rate-box a { margin-top: 10px; display: inline-flex; }
  .dgoap-payment-report-box-v2 { grid-template-columns: 1fr; }
}

/* v0.2.9.14: cleaner registration entry, tracking split, simple portal cards */
.dgoap-compact-head p,
.dgoap-compact-head .dgoap-welcome-line {
  display: none !important;
}
.dgoap-reg-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.dgoap-reg-entry-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  position: relative;
}
.dgoap-reg-entry-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #071F47;
}
.dgoap-reg-entry-card > * { position: relative; z-index: 1; }
.dgoap-reg-entry-card span,
.dgoap-ledger-head-compact span {
  display: block;
  color: #0A5797;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  direction: ltr;
  margin-bottom: 8px;
}
.dgoap-reg-entry-card h2,
.dgoap-ledger-head-compact h2 {
  margin: 0;
  color: #071F47;
  font-size: 22px;
  font-weight: 950;
}
.dgoap-upload-box-compact {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.dgoap-upload-box-compact label span {
  color: #20314E !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  direction: rtl !important;
}
.dgoap-track-pay-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.dgoap-track-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: min(100%, 360px);
  padding: 0 24px;
  border-radius: 18px;
  background: #071F47;
  color: #fff !important;
  font-weight: 950;
  text-decoration: none !important;
  border: 1px solid rgba(69,244,239,.22);
}
.dgoap-track-pay-btn:hover { background: #00A693; }
.dgoap-tracking-ledger { margin-top: 18px; }
.dgoap-ledger-head-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.dgoap-ledger-filters-single {
  display: block !important;
  grid-template-columns: 1fr !important;
}
.dgoap-ledger-filters-single label { max-width: none !important; }
.dgoap-back-to-register { min-height: 42px !important; }
.dgoap-payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dgoap-payment-choice-grid button {
  min-height: 108px;
  border-radius: 20px !important;
  background: #F8FAFC !important;
  color: #071F47 !important;
  border: 1px solid #D8E4F0 !important;
  box-shadow: none !important;
  white-space: normal !important;
}
.dgoap-payment-choice-grid button:hover {
  background: #071F47 !important;
  color: #fff !important;
}
.dgoap-payment-choice-grid strong {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 950;
}
.dgoap-module-card {
  min-height: 132px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  gap: 13px !important;
  text-align: center !important;
}
.dgoap-module-card .dgoap-card-tag,
.dgoap-module-card small,
.dgoap-module-card p {
  display: none !important;
}
.dgoap-module-card h3 {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
}
.dgoap-module-card .dgoap-line-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
}
.dgoap-module-card .dgoap-line-icon:before {
  color: #fff !important;
}
.dgoap-adab-logo-wrap {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.20) !important;
}
.dgoap-adab-logo-wrap img {
  width: 44px !important;
  height: 44px !important;
  filter: brightness(0) invert(1) !important;
}
@media (max-width: 760px) {
  .dgoap-reg-entry-grid,
  .dgoap-payment-choice-grid {
    grid-template-columns: 1fr;
  }
  .dgoap-ledger-head-compact { display: block; }
  .dgoap-back-to-register { margin-top: 12px; }
}

/* v0.2.9.15: finance payment method confirmation + visual fixes */
.dgoap-reg-entry-card.dgoap-sector-bulk {
  background: #FFFFFF !important;
  border-color: #BFD0E1 !important;
}
.dgoap-reg-entry-card.dgoap-sector-bulk:before {
  background: #071F47 !important;
}
.dgoap-module-card .dgoap-adab-logo-wrap {
  background: #FFFFFF !important;
  border-color: rgba(255,255,255,.36) !important;
}
.dgoap-module-card .dgoap-adab-logo-wrap img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  filter: none !important;
}
.dgoap-finance-method-box {
  margin: 12px 0 16px;
  border-radius: 20px;
  padding: 14px 16px;
  background: #F6F9FC;
  border: 1px solid #D8E4F0;
}
.dgoap-finance-method-box > span,
.dgoap-finance-sheba-mini span,
.dgoap-sheba-display span {
  display: block;
  color: #64748B;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}
.dgoap-finance-method-box > strong {
  display: block;
  color: #071F47;
  font-size: 15px;
  font-weight: 950;
  margin-bottom: 6px;
}
.dgoap-finance-method-box p {
  margin: 0;
  color: #344054;
  font-size: 12.5px;
  line-height: 2;
}
.dgoap-finance-sheba-mini,
.dgoap-sheba-display {
  margin-top: 10px;
  border-radius: 15px;
  padding: 10px 12px;
  background: #071F47;
  border: 1px solid rgba(69,244,239,.22);
  color: #fff;
}
.dgoap-finance-sheba-mini span,
.dgoap-sheba-display span { color: rgba(255,255,255,.70); }
.dgoap-finance-sheba-mini b,
.dgoap-sheba-display b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.6;
  direction: ltr;
  text-align: left;
  word-break: break-word;
}
.dgoap-finance-sheba-mini.is-empty,
.dgoap-sheba-display.is-empty {
  background: #FFF8F8;
  border-color: rgba(180,35,24,.20);
}
.dgoap-finance-sheba-mini.is-empty span,
.dgoap-finance-sheba-mini.is-empty b,
.dgoap-sheba-display.is-empty span,
.dgoap-sheba-display.is-empty b { color: #B42318; }
.dgoap-finance-passive-note {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,87,151,.08);
  color: #071F47;
  font-size: 12px;
  font-weight: 900;
}
.dgoap-student-money .dgoap-sheba-display {
  margin-top: 8px;
}
