/*
 * "Request a call" on Contact (inc/call.php, assets/js/call.js), 0.20.0.
 */

/* Tabs (shown by call.js; without it both forms show, the call form under its own heading). */
.agk-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 24px; box-shadow: inset 0 -1px 0 var(--agk-line); }
.agk-tabs[hidden] { display: none; }
.agk-tabs [role="tab"] {
  min-height: 48px;
  padding: 12px 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-muted);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 -3px 0 transparent;
  cursor: pointer;
}
.agk-tabs [role="tab"]:hover { color: var(--navy); }
.agk-tabs [role="tab"][aria-selected="true"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--brick); }
.agk-tabs [role="tab"]:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.agk-form__panel[hidden] { display: none; }
.agk-form__panel--call { scroll-margin-top: 104px; }
.agk-form:not(.is-tabbed) .agk-form__panel--call { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--agk-line); }
.agk-form.is-tabbed .agk-call__title { display: none; }
.entry-content .agk-call__title { margin: 0 0 16px; font-size: 22px; color: var(--navy); }

/* The call form */
.entry-content .agk-call__intro { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.agk-call__when { min-width: 0; margin: 0; padding: 0; border: 0; }
.agk-call__when legend { padding: 0; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--navy); }
.entry-content .agk-call__tz { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.agk-call__tz b { font-weight: 500; color: var(--navy); }
.agk-call__tz [hidden] { display: none; }

.agk-call__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.agk-call__slot {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--agk-line-strong);
  cursor: pointer;
}
.agk-call__slot input,
.agk-call__day input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.agk-call__slot:has(input:checked) { background: var(--surface); box-shadow: inset 0 0 0 2px var(--navy); }
.agk-call__slot:has(input:focus-visible),
.agk-call__day:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.agk-call__slot-name { font-size: 15px; font-weight: 500; color: var(--navy); }
.agk-call__slot-local { font-size: 14px; color: var(--ink); }
.agk-call__slot-local[hidden] { display: none; }
.agk-call__slot-greek { font-size: 12.5px; color: var(--ink-muted); }

.agk-call__days { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.agk-call__day { position: relative; cursor: pointer; }
.agk-call__day span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--agk-line-strong);
}
.agk-call__day input:checked + span { color: var(--navy); font-weight: 500; box-shadow: inset 0 0 0 2px var(--navy); }

@media (max-width: 640px) {
  .agk-call__slots { grid-template-columns: 1fr; }
}
