
/* Teacher-finance IBAN-only controls: scoped to the bank section */
.teacher-finance-page .cz-bank-only{display:flex;flex-direction:column;gap:17px;max-width:100%}
.teacher-finance-page .cz-bank-notice{line-height:2;font-size:13px;background:var(--ui-surface-2,#f4f6ff);padding:14px 17px;border:1px solid var(--ui-border,#dde3f0);border-radius:12px;margin:0;color:var(--ui-text,#26334e)}
.teacher-finance-page .cz-bank-notice a{margin-inline:8px;font-weight:800}
.teacher-finance-page .cz-bank-status{border:1px solid var(--ui-border,#dee3ec);padding:16px;border-radius:13px}
.teacher-finance-page .cz-bank-status>div{display:flex;flex-direction:column;gap:8px}
.teacher-finance-page .cz-bank-status b{border-radius:9px;background:var(--ui-surface-2,#f0f3fe);padding:6px 12px;align-self:flex-start}
.teacher-finance-page .cz-bank-three-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.teacher-finance-page .cz-bank-three-fields .cz-iban-wide{grid-column:1/-1}
.teacher-finance-page .cz-bank-three-fields input{min-height:44px;width:100%;min-width:0;border-radius:10px}
.teacher-finance-page .cz-bank-otp{display:flex;flex-direction:column;align-items:flex-start;gap:12px;border:1px solid var(--ui-border,#dce1ee);padding:16px;border-radius:12px}
.teacher-finance-page .cz-bank-otp input{direction:ltr;max-width:210px;width:100%;min-height:44px;border-radius:10px}
.teacher-finance-page .cz-bank-only button{min-height:43px;border-radius:10px;padding:8px 16px}
@media(max-width:650px){.teacher-finance-page .cz-bank-three-fields{grid-template-columns:1fr}}


/* Scoped V7 OTP redesign: six visual code cells, one accessible autocomplete input. */
.teacher-finance-page .cz-bank-otp.cz-bank-otp-v2 {
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  align-items: stretch;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(106, 91, 222, .23);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--ui-surface, #fff), rgba(109, 87, 239, .075));
  box-shadow: 0 12px 30px rgba(45, 43, 112, .065);
  color: var(--ui-text, #202548);
}
.teacher-finance-page .cz-otp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
}
.teacher-finance-page .cz-otp-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  background: rgba(100, 79, 232, .13);
  color: #6453e8;
  font-size: 22px;
  line-height: 1;
}
.teacher-finance-page .cz-otp-title {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}
.teacher-finance-page .cz-otp-description {
  margin: 0;
  color: var(--ui-text-secondary, #626a81);
  font-size: 12px;
  line-height: 1.8;
}
.teacher-finance-page .cz-otp-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1.3vw, 12px);
  position: relative;
  isolation: isolate;
  align-self: center;
  width: min(100%, 390px);
  direction: ltr;
}
.teacher-finance-page .cz-bank-otp .cz-otp-slots input {
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: text;
}
.teacher-finance-page .cz-otp-digit {
  pointer-events: none;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: clamp(46px, 6vw, 60px);
  border: 1.5px solid #dcdcf0;
  border-radius: 13px;
  background: var(--ui-surface, #fff);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(24px, 3vw, 29px);
  font-weight: 700;
  color: #a5a8be;
  box-shadow: 0 2px 5px rgba(36, 41, 90, .035);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.teacher-finance-page .cz-otp-digit.is-filled {
  background: rgba(104, 82, 239, .07);
  color: var(--ui-text, #342d72);
  border-color: rgba(105, 86, 232, .48);
}
.teacher-finance-page .cz-otp-slots:focus-within .cz-otp-digit {
  border-color: #7865f0;
  box-shadow: 0 0 0 2px rgba(111, 88, 235, .13);
}
.teacher-finance-page .cz-otp-security-note {
  margin: 0;
  text-align: center;
  color: var(--ui-text-secondary, #6d7388);
  font-size: 11px;
  line-height: 1.9;
}
.teacher-finance-page .cz-bank-otp button.cz-otp-submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(115deg, #7157ef, #4e38d9);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 7px 16px rgba(92, 70, 215, .20);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}
.teacher-finance-page .cz-bank-otp button.cz-otp-submit:not(:disabled) {
  cursor: pointer;
}
.teacher-finance-page .cz-bank-otp button.cz-otp-submit:not(:disabled):hover {
  filter: brightness(1.065);
  transform: translateY(-1px);
}
.teacher-finance-page .cz-bank-otp button.cz-otp-submit:focus-visible {
  outline: 3px solid #b4a4fa;
  outline-offset: 3px;
}
.teacher-finance-page .cz-bank-otp button.cz-otp-submit:disabled {
  cursor: not-allowed;
  box-shadow: none;
  background: #aaa7c6;
  opacity: .85;
}
.teacher-finance-page .cz-otp-submit-symbol {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: inline-grid;
  place-items: center;
  font-size: 15px;
}
@media (max-width: 450px) {
 .teacher-finance-page .cz-bank-otp.cz-bank-otp-v2 { padding: 14px; gap: 13px; }
 .teacher-finance-page .cz-otp-digit { height: 46px; border-radius: 10px; font-size: 24px; }
 .teacher-finance-page .cz-otp-header-icon { width: 40px; height: 40px; flex-basis: 40px; }
 .teacher-finance-page .cz-otp-description { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
 .teacher-finance-page .cz-otp-digit,
 .teacher-finance-page .cz-bank-otp button.cz-otp-submit { transition: none; }
}
