/* My hours: monthly hours and pay published by Admin. */
.my-hours-months { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.my-hours-month { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 800; text-decoration: none; }
.my-hours-month.is-active { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.my-hours-card { display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.my-hours-card-head h2 { margin: 0; }
.my-hours-card-head p, .my-hours-help { margin: 4px 0 0; color: var(--muted); }
.my-hours-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.my-hours-metrics div { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--radius-control); background: var(--surface-soft); }
.my-hours-metrics span { color: var(--muted); font-weight: 700; }
.my-hours-metrics strong { font-size: 1.6rem; color: var(--brand-navy); }
.my-hours-lines, .my-hours-classes table { width: 100%; border-collapse: collapse; }
.my-hours-lines td, .my-hours-classes td, .my-hours-classes th { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.my-hours-lines td:last-child, .my-hours-classes td:last-child { text-align: right; white-space: nowrap; }
.my-hours-lines small, .my-hours-classes small { display: block; color: var(--muted); }
.my-hours-lines .is-total td { font-weight: 900; color: var(--brand-navy); }
.my-hours-classes summary { cursor: pointer; font-weight: 800; }
.my-hours-table-wrap { overflow-x: auto; margin-top: 10px; }

/* How and when the teacher is paid (sent by the server with their own statement). */
.pay-info { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--radius-control); background: var(--brand-yellow-soft); border: 1px solid var(--accent-orange); }
.pay-info h3, .pay-info p, .pay-info ol { margin: 0; }
.pay-info ol { padding-left: 20px; display: grid; gap: 6px; }
.pay-info-fields { display: grid; gap: 10px; }
.pay-info-field { display: grid; gap: 4px; }
.pay-info-field > span { font-weight: 800; color: var(--muted); font-size: 0.9rem; }
.pay-info-field > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-info-field code { padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; user-select: all; overflow-wrap: anywhere; }
.pay-info-field small { color: var(--muted); }
.pay-info-copy { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--brand-navy); background: var(--surface); color: var(--brand-navy); font-weight: 800; cursor: pointer; }
.pay-info-note { font-weight: 700; }

/* "Pago depositado" and "Mi cuenta bancaria" */
.my-hours-paid { margin: 0; padding: 14px 18px; border-radius: var(--radius-control); background: var(--accent-green-soft); border: 1px solid var(--accent-green); color: var(--text); }
.bank-account { display: grid; gap: 12px; margin-top: 18px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.bank-account h3, .bank-account p, .bank-account dl { margin: 0; }
.bank-account > p { color: var(--muted); }
.bank-account dl { display: grid; gap: 8px; }
.bank-account dl div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.bank-account dt { min-width: 150px; color: var(--muted); font-weight: 800; }
.bank-account dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bank-account-edit summary { cursor: pointer; font-weight: 800; color: var(--brand-cyan-strong); }
.bank-account-form { display: grid; gap: 12px; max-width: 460px; margin-top: 12px; }
.bank-account-form label { display: grid; gap: 6px; font-weight: 800; }
.bank-account-form button { justify-self: start; }
.bank-account-error, .bank-account-saved { padding: 10px 14px; border-radius: 16px; font-weight: 700; }
.bank-account-error { background: var(--accent-coral-soft); color: #a73c2f; }
.bank-account-saved { background: var(--accent-green-soft); color: var(--text); }
.bank-account-form input, .bank-account-form select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius-control); padding: 0 12px; color: var(--text); background: #fff; font: inherit; font-weight: 600; }
.bank-account-form input:focus-visible, .bank-account-form select:focus-visible { outline: 3px solid rgba(24, 184, 216, 0.32); outline-offset: 3px; }
