.production-auth-dialog {
  width: min(440px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 0;
  border-radius: var(--ui-corner-radius, 10px);
  padding: 28px;
  color: #17233a;
  box-shadow: 0 24px 70px rgba(20, 32, 52, .28);
}

.production-auth-dialog::backdrop {
  background: rgba(226, 232, 238, .94);
  backdrop-filter: blur(5px);
}

.production-auth-dialog section > img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.production-auth-dialog h1 {
  margin: 0 0 8px;
  font: 750 28px/1.15 Georgia, serif;
  text-align: center;
}

.production-auth-dialog section > p:not(.production-auth-eyebrow) {
  margin: 0 0 20px;
  color: #596778;
  text-align: center;
}

.production-auth-eyebrow {
  margin: 0 0 7px;
  color: #657386;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-align: center;
}

.production-auth-dialog label {
  display: block;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 750;
}

.production-auth-dialog input {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid #b8c3cf;
  border-radius: var(--ui-corner-radius, 10px);
  padding: 10px 12px;
  color: #17233a;
  background: #fff;
}

.production-password-field {
  position: relative;
  display: block;
}

.production-password-field input {
  padding-right: 48px;
}

.production-password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ui-corner-radius, 10px);
  color: #526173;
  background: transparent;
  cursor: pointer;
}

.production-password-toggle:hover,
.production-password-toggle:focus-visible,
.production-password-toggle[aria-pressed="true"] {
  color: #17233a;
  background: #edf1f5;
}

.production-password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.production-auth-dialog form > .primary {
  width: 100%;
  margin-top: 7px;
  background: #fff;
  color: #17233a;
  border: 1px solid #8d99a7;
}

.production-auth-dialog small {
  display: block;
  margin: -3px 0 12px;
  color: #657386;
}

.production-auth-error {
  min-height: 20px;
  margin: 10px 0 !important;
  color: #b42335 !important;
  font-size: 13px;
  text-align: left !important;
}

.production-auth-cancel {
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #526173;
}

/* Le secrétariat consulte le planning sans pouvoir le modifier. */
body[data-user-role="SECRETARY"] #pv-new-course,
body[data-user-role="SECRETARY"] #pv-week-courses,
body[data-user-role="SECRETARY"] #pv-publish,
body[data-user-role="SECRETARY"] #group-open,
body[data-user-role="SECRETARY"] #planning-panel [data-reorder],
body[data-user-role="SECRETARY"] #planning-panel [data-move] {
  display: none !important;
}

body[data-user-role="SECRETARY"] #planning-panel [data-vehicle-driver] {
  pointer-events: none;
  cursor: default;
}
