/* Pass D — forms access */

/* ===== memberAccessStyle ===== */

.member-access-toggle {
  min-height: 2rem;
  padding: .3rem .5rem;
  border: 1px solid #efc7c4;
  border-radius: 9px;
  background: #fff;
  color: #a63d31;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

.member-access-toggle:hover {
  background: #fff4f2;
}

.reactivate-member {
  border-color: #b7dfc8;
  background: #f2fbf5;
  color: var(--deep);
}

.reactivate-member:hover {
  background: #e4f6eb;
}

/* ===== inlineEventEditStyle ===== */

.inline-event-edit {
  margin: .8rem 0;
}

.inline-event-edit summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.inline-event-edit summary::-webkit-details-marker {
  display: none;
}

.inline-event-edit form {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}

/* ===== matchScheduleStyle ===== */

.event-schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: .75rem 0;
}

.event-schedule>b {
  font-size: .95rem;
  letter-spacing: -.01em;
}

.match-schedule>div {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.match-schedule span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .3rem .48rem;
  border: 1px solid #ffffff38;
  border-radius: 8px;
  background: #ffffff16;
  font-size: .72rem;
}

.match-schedule strong {
  font-size: .82rem;
  color: #fff;
}

.training-schedule span {
  font-size: .82rem;
}

.whistle-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== coachMatchCenterStyle ===== */

.events > .card.detail.match-card > .title {
  display: block;
  text-align: center;
}

.events > .card.detail.match-card > .title > .status,
.events > .card.detail.training-card > .title > .status {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: .2rem .38rem;
  border-radius: 999px;
  font-size: .61rem;
  line-height: 1.1;
  white-space: nowrap;
}

.events > .card.detail.match-card > .title > div {
  width: 100%;
}

.events > .card.detail.match-card > .title {
  position: static;
}

.coach-card-menu {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
}

.coach-card-menu-trigger {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--deep);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.coach-card-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  min-width: 175px;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px #0c482026;
}

.coach-card-menu-panel[hidden] {
  display: none;
}

.coach-card-menu-panel button {
  min-height: 34px;
  padding: .35rem .55rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--deep);
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.coach-card-menu-panel button:hover, .coach-card-menu-panel button:focus-visible {
  background: var(--paper);
}

.coach-card-menu-panel button.danger {
  color: #a13a35;
}

.events > .card.detail.match-card .coach-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .3rem;
}

.events > .card.detail.match-card .coach-summary span {
  min-height: 2rem;
  padding: .28rem .2rem;
  font-size: .64rem;
}

.coach-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: .45rem;
  margin-top: .7rem;
}

.coach-card-actions button {
  min-height: 36px;
  border-radius: 10px;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  cursor: pointer;
}

.coach-card-actions .coach-view-compo {
  flex: 1;
  margin-top: 0;
  border: 1px solid #b8d8c3;
}

.coach-card-actions .coach-edit-compo {
  flex: 0 0 auto;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--deep);
}

@media (max-width: 420px) {
  .events > .card.detail.match-card .coach-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .coach-card-actions {
    flex-direction: column;
  }
  .coach-card-actions .coach-edit-compo {
    min-height: 34px;
  }
}

/* ===== pollChoiceStyle ===== */

.poll-preview-form .poll-add-choice {
  justify-self: start;
  min-height: 34px !important;
  border: 1px dashed #89b99a !important;
  background: #fff !important;
  color: var(--deep) !important;
  font-size: .72rem !important;
}
