/* ==========================================================================
   Talentis — admin fee dashboard
   Loaded on top of styles.css, so it inherits the same tokens and type scale.
   Admin-only screen: never linked from the public site, and marked noindex.
   ========================================================================== */

/* Elements toggled with the hidden attribute must disappear even when a class
   gives them a display value (the login screen is display:grid, for one). */
[hidden] {
  display: none !important;
}

.muted {
  color: var(--ink-muted);
}

/* --- Login gate --------------------------------------------------------- */
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  background:
    radial-gradient(800px 420px at 80% 0%, rgba(47, 111, 208, 0.42), transparent 60%),
    var(--navy-900);
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.login-card .brand {
  margin-bottom: var(--space-lg);
}

.login-card h1 {
  font-size: var(--step-2);
  margin-bottom: var(--space-2xs);
}

.login-card .sub {
  color: var(--ink-muted);
  margin-bottom: var(--space-lg);
}

.login-card .field + .field {
  margin-top: var(--space-md);
}

.login-card button[type="submit"] {
  width: 100%;
  margin-top: var(--space-lg);
}

.login-note {
  margin: var(--space-lg) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* --- App shell ---------------------------------------------------------- */
.admin-header {
  background: var(--navy-900);
  color: #fff;
  padding-block: var(--space-sm);
}

.admin-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.admin-header .brand,
.admin-header .brand__sub {
  color: #fff;
}

.admin-header__who {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--step--1);
  color: #b7c6dd;
  flex-wrap: wrap;
}

.admin-main {
  padding-block: var(--space-lg) var(--space-2xl);
  background: var(--surface-alt);
  min-height: 70vh;
}

.admin-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.admin-title h1 {
  font-size: var(--step-3);
  margin: 0;
}

.admin-title p {
  margin: var(--space-2xs) 0 0;
  color: var(--ink-muted);
}

.backup-note {
  margin: 0 0 var(--space-md);
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: none;
}

.backup-note--warn {
  background: var(--amber-100);
  border: 1px solid #f0d49b;
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-md);
  color: #6b4500;
}

/* --- Summary tiles (clickable shortcuts) ------------------------------- */
.tiles {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  margin-bottom: var(--space-lg);
}

.tile {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.tile__label {
  font-size: var(--step--1);
  color: var(--ink-muted);
  font-weight: 600;
}

.tile__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.tile__sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.tile--good {
  border-left-color: var(--teal-700);
}

.tile--warn {
  border-left-color: var(--amber-500);
}

.tile--bad {
  border-left-color: var(--error);
}

.tile--bad .tile__value {
  color: var(--error);
}

/* --- Tabs --------------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  border-bottom: 2px solid var(--line);
  margin-bottom: var(--space-md);
  scrollbar-width: thin;
}

.tabs [role="tab"] {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--ink-muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}

.tabs [role="tab"]:hover {
  color: var(--navy-800);
  background: var(--surface-sunk);
}

.tabs [role="tab"][aria-selected="true"] {
  color: var(--navy-900);
  border-bottom-color: var(--amber-500);
}

.tab__count {
  min-width: 1.6rem;
  padding: 0.05rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--surface-sunk);
  color: var(--navy-800);
  font-size: 0.72rem;
  text-align: center;
}

[aria-selected="true"] .tab__count {
  background: var(--navy-900);
  color: #fff;
}

.tab__count--warn {
  background: var(--amber-100);
  color: #8a5800;
}

.tab-hint {
  margin: 0 0 var(--space-sm);
  font-size: var(--step--1);
  color: var(--ink-muted);
  max-width: none;
}

/* --- Toolbar ------------------------------------------------------------ */
.toolbar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: var(--space-md);
}

.toolbar .field {
  min-width: 200px;
}

.toolbar input,
.toolbar select {
  padding: 0.5rem 0.75rem;
  font-size: var(--step--1);
}

.toolbar--tight {
  margin-bottom: 0;
}

.toolbar--tight .field {
  min-width: 160px;
}

/* --- Tables ------------------------------------------------------------- */
.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.admin-table--compact {
  min-width: 640px;
}

.admin-table th,
.admin-table td {
  padding: 0.6rem var(--space-md);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  text-align: left;
  vertical-align: middle;
}

.admin-table thead th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  color: var(--navy-900);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.admin-table tbody tr:hover {
  background: #fbfcfe;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tfoot td {
  font-weight: 700;
  color: var(--navy-900);
  background: var(--surface-alt);
  border-top: 2px solid var(--line);
  border-bottom: 0;
}

.admin-table .num,
.emi-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.admin-table .name {
  min-width: 160px;
}

.admin-table small,
.emi-table small {
  display: block;
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.cell-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.cell-stack--end {
  align-items: flex-end;
}

.clip {
  display: inline-block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.row-actions {
  display: flex;
  gap: 0.35rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

/* Keep the actions column visible when a wide table scrolls sideways. */
.admin-table td:last-child,
.admin-table thead th:last-child {
  position: sticky;
  right: 0;
  background: var(--surface);
  box-shadow: -8px 0 8px -8px rgba(11, 27, 51, 0.15);
}

.admin-table thead th:last-child {
  background: var(--surface-alt);
  z-index: 2;
}

.admin-table--compact td:last-child,
.admin-table--compact thead th:last-child,
.admin-table tfoot td:last-child {
  position: static;
  box-shadow: none;
}

.dialog__body .field {
  align-content: start;
}

.dialog__body .hint {
  font-size: var(--step--1);
  color: var(--ink-muted);
  margin: var(--space-xs) 0 0;
  max-width: none;
}

.progress {
  display: block;
  width: 90px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunk);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: var(--teal-500);
}

/* --- Buttons specific to the dashboard --------------------------------- */
.btn--xs {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 0.4em 0.85em;
  border-width: 1.5px;
}

.btn--xs:hover {
  transform: none;
}

.btn--plain {
  background: transparent;
  color: var(--navy-700);
  border-color: transparent;
}

.btn--plain:hover {
  background: var(--surface-sunk);
}

.btn--plain-danger {
  color: var(--error);
}

.btn--link {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn--danger {
  background: transparent;
  border-color: var(--error);
  color: var(--error);
}

.btn--danger:hover {
  background: #fff1f1;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}

.link-btn--name {
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
}

.link-btn--name:hover {
  text-decoration: underline;
}

/* --- Badges & stage picker --------------------------------------------- */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.25em 0.7em;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge--due {
  background: var(--amber-100);
  color: #8a5800;
}

.badge--clear {
  background: #e8f6ee;
  color: var(--success);
}

.badge--overdue {
  background: #fde8e8;
  color: var(--error);
}

.badge--muted {
  background: #eef0f4;
  color: #4a5568;
}

.badge--reg {
  background: #efe9fb;
  color: #5b3aa8;
}

.badge--place {
  background: var(--teal-100);
  color: #0a6055;
}

.stage-select {
  width: auto;
  min-width: 128px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.stage--contacted {
  background: #efe9fb;
  color: #5b3aa8;
}

.stage--training {
  background: var(--blue-100);
  color: var(--navy-700);
}

.stage--placed {
  background: var(--teal-100);
  color: #0a6055;
}

.stage--withdrawn {
  background: #eef0f4;
  color: #4a5568;
}

/* --- Accounts ----------------------------------------------------------- */
.acct-cards {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  margin-bottom: var(--space-lg);
}

.acct-cards--dialog {
  margin-bottom: var(--space-md);
}

.acct-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.acct-card--reg {
  border-top-color: #7c5cd6;
}

.acct-card--place {
  border-top-color: var(--teal-500);
}

.acct-card--total {
  border-top-color: var(--amber-500);
  background: var(--navy-900);
  color: #dbe5f3;
}

.acct-card--total h3 {
  color: #fff;
}

.acct-card--total p {
  margin: 0.2rem 0 0;
  font-size: var(--step--1);
}

.acct-card h3 {
  font-size: var(--step-0);
  margin: 0 0 var(--space-sm);
}

.acct-card__big {
  font-family: var(--font-display);
  font-size: var(--step-3) !important;
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1.1;
}

.acct-card dl {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.acct-card dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  font-size: var(--step--1);
}

.acct-card dt {
  color: var(--ink-muted);
}

.acct-card dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.acct-card dd small {
  font-weight: 400;
  color: var(--ink-muted);
}

.acct-card .is-good dd {
  color: var(--success);
}

.acct-card .is-warn dd {
  color: #8a5800;
}

.acct-card .is-bad dd {
  color: var(--error);
}

.section-title {
  font-size: var(--step-1);
  margin: var(--space-lg) 0 var(--space-sm);
}

.section-title--sm {
  font-size: var(--step-0);
  margin: var(--space-md) 0 var(--space-xs);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-lg) 0 var(--space-sm);
}

.ledger-head .section-title {
  margin: 0;
}

/* --- Dialogs ------------------------------------------------------------ */
dialog {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  width: min(760px, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

dialog.dialog--wide {
  width: min(880px, calc(100vw - 2rem));
}

dialog.dialog--narrow {
  width: min(560px, calc(100vw - 2rem));
}

dialog::backdrop {
  background: rgba(11, 27, 51, 0.55);
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  border-bottom: 1px solid var(--line);
}

.dialog__head h2 {
  font-size: var(--step-2);
  margin: 0;
}

.dialog__head p {
  margin: var(--space-2xs) 0 0;
  color: var(--ink-muted);
  font-size: var(--step--1);
}

.dialog__body {
  padding: var(--space-lg);
  overflow-y: auto;
  max-height: min(64vh, 620px);
}

.dialog__foot {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  border-top: 1px solid var(--line);
}

.dialog__foot .spacer {
  flex: 1 1 auto;
}

.icon-btn {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--navy-800);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--surface-sunk);
}

.notes {
  white-space: pre-wrap;
  font-size: var(--step--1);
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
  max-width: none;
}

/* --- Fieldset groups in the candidate dialog -------------------------- */
.group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin: 0 0 var(--space-lg);
}

.group:last-child {
  margin-bottom: 0;
}

.group > legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--navy-900);
  padding-inline: var(--space-xs);
}

.field__label {
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--navy-900);
}

.reg-status {
  margin: 0;
  padding: 0.7rem 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.reg-now {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px dashed var(--line);
}

.reg-now .checkbox {
  color: var(--ink);
  font-weight: 600;
}

.reg-now__fields {
  margin-top: var(--space-sm);
}

/* --- Live fee calculation readout -------------------------------------- */
.calc {
  display: grid;
  gap: var(--space-xs);
  background: var(--navy-900);
  color: #dbe5f3;
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-top: var(--space-md);
}

.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: var(--step--1);
}

.calc__row b {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.calc__row--total {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: var(--space-xs);
  margin-top: var(--space-2xs);
}

.calc__row--total b {
  color: var(--amber-500);
}

.calc__hint {
  font-size: var(--step--1);
  color: #9fb2cd;
  margin: 0;
  max-width: none;
}

/* --- Payment dialog ---------------------------------------------------- */
.type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.type-switch__opt {
  position: relative;
  cursor: pointer;
}

.type-switch__opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.type-switch__opt > span {
  display: grid;
  gap: 0.1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface);
}

.type-switch__opt b {
  font-family: var(--font-display);
  color: var(--navy-900);
}

.type-switch__opt small {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.type-switch__opt input:checked + span {
  border-color: var(--navy-800);
  background: var(--blue-100);
}

.type-switch__opt input:focus-visible + span {
  outline: 3px solid var(--navy-900);
  outline-offset: 2px;
}

.pay-after {
  margin: var(--space-md) 0 0;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--navy-800);
  max-width: none;
}

.pay-after:empty {
  display: none;
}

.pay-after--good {
  color: var(--success);
}

.pay-after--warn {
  color: #8a5800;
}

/* --- Instalment & payment tables inside the account dialog ------------ */
.emi-table {
  width: 100%;
  border-collapse: collapse;
}

.emi-table th,
.emi-table td {
  padding: var(--space-xs) var(--space-sm);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  text-align: left;
}

.emi-table thead th {
  background: var(--surface-alt);
  font-family: var(--font-display);
  white-space: nowrap;
}

.emi-table tfoot td {
  font-weight: 700;
  color: var(--navy-900);
  border-bottom: 0;
}

.emi-table tr.is-paid {
  background: #f4fbf7;
}

.emi-table tr.is-overdue {
  background: #fff6f6;
}

.emi-table .row-actions {
  justify-content: flex-start;
}

/* --- Misc --------------------------------------------------------------- */
.admin-empty {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  color: var(--ink-muted);
}

.admin-empty h2 {
  font-size: var(--step-1);
}

.admin-empty p {
  margin-inline: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-lg);
  transform: translateX(-50%);
  background: var(--navy-900);
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: var(--step--1);
  font-weight: 600;
  z-index: 300;
  max-width: calc(100vw - 2rem);
}

@media (max-width: 560px) {
  .type-switch {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-table td:last-child,
  .admin-table thead th:last-child {
    position: static;
    box-shadow: none;
  }
}

@media print {
  .toolbar,
  .admin-header__who,
  .row-actions,
  .tabs,
  .backup-note,
  #add-candidate {
    display: none;
  }
}

/* --- Server edition additions ------------------------------------------ */
.admin-title__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.warn-strip {
  background: var(--amber-100);
  border: 1px solid #f0d49b;
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  margin: 0 0 var(--space-md);
  font-size: var(--step--1);
  color: #6b4500;
  max-width: none;
}

.login-card .warn-strip {
  margin-top: var(--space-md);
}

.tab__count--alert {
  background: var(--navy-900);
  color: var(--amber-500);
}

.toolbar__spacer {
  flex: 1 1 auto;
}

.stage-badge {
  margin-right: 0.35rem;
}

/* --- Enquiry list ------------------------------------------------------- */
.admin-table tr.is-new td {
  background: #fffaf0;
}

.admin-table tr.is-new td:first-child {
  box-shadow: inset 4px 0 0 var(--amber-500);
}

.admin-table td.when {
  white-space: nowrap;
}

.admin-table td.contact a {
  white-space: nowrap;
}

/* --- Enquiry detail dialog --------------------------------------------- */
.enq-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.enq-contact:empty {
  display: none;
}

.enq-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: var(--space-sm) var(--space-lg);
  margin: 0 0 var(--space-lg);
}

.enq-details dt {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.enq-details dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy-900);
}

.enq-message {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
}

.enq-message h3 {
  font-size: var(--step-0);
  margin-bottom: var(--space-xs);
}

.enq-message p {
  margin: 0;
  white-space: pre-wrap;
  max-width: none;
}

.admit-panel {
  margin-top: var(--space-lg);
  border: 2px solid var(--teal-500);
  background: var(--teal-100);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
}

.admit-panel h3 {
  font-size: var(--step-0);
  margin-bottom: var(--space-2xs);
}

.admit-panel p {
  font-size: var(--step--1);
  color: #0a4d44;
}

.admit-panel .checkbox {
  color: var(--ink);
  font-weight: 600;
}

/* --- Batches, referrals, duplicate enquiries --------------------------- */
.badge--batch {
  background: var(--blue-100);
  color: var(--navy-700);
}

.admin-table small.ref {
  color: #5b3aa8;
}

.dup-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.admin-table td.name .badge {
  margin-left: 0.25rem;
  vertical-align: middle;
}
