/* Rejection City · Council kiosk (Riverside Council). Figma frame 560 x 820.
   --px is one Figma pixel, based on the 560px frame. */
.rc-device--kiosk { width: min(560px, calc(100vw - 440px), calc((100dvh - 110px) * 560 / 820)); }
@media (max-width: 767px) {
  .rc-device.rc-device--kiosk { width: 100%; }
}
.rc-screen.rc-council {
  --px: calc(100cqw / 560);
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--px));
  aspect-ratio: 560 / 820;
  padding: calc(30 * var(--px));
  border: calc(10 * var(--px)) solid #2b2b30;
  border-radius: calc(20 * var(--px));
  background: #fff;
  overflow: hidden;
  color: #1b1b1f;
  font-size: calc(16 * var(--px));
}
.rc-council__brand { font-size: calc(20 * var(--px)); font-weight: 700; }
.rc-council__sub { font-size: calc(13 * var(--px)); color: #6b6b70; }
.rc-council .rc-flaw { border-radius: calc(8 * var(--px)); }
.rc-council .rc-flaw__bad, .rc-council .rc-flaw__fixed { display: flex; flex-direction: column; }
.rc-council .rc-flaw.is-fixed .rc-flaw__bad { display: none; }
.rc-council__banner { padding: calc(14 * var(--px)); border-radius: calc(8 * var(--px)); background: #b42318; color: #fff; font-weight: 600; }
.rc-council__summary { gap: calc(8 * var(--px)); padding: calc(16 * var(--px)); border: calc(4 * var(--px)) solid #b42318; }
.rc-council__summary-title { font-size: calc(18 * var(--px)); font-weight: 700; color: #1b1b1f; }
.rc-council__link { font-size: calc(15 * var(--px)); font-weight: 600; color: #b42318; text-decoration: underline; }
.rc-council__pair { gap: calc(16 * var(--px)); }
.rc-council__field { display: flex; flex-direction: column; gap: calc(6 * var(--px)); }
.rc-council__label { font-size: calc(14 * var(--px)); font-weight: 600; }
.rc-council__input {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: calc(44 * var(--px));
  padding: calc(10 * var(--px)) calc(12 * var(--px));
  border: calc(1 * var(--px)) solid #6b6b70;
  border-radius: calc(6 * var(--px));
  background: #fff;
  white-space: nowrap;
}
.rc-council__input--error { min-height: calc(46 * var(--px)); border: calc(2 * var(--px)) solid #b42318; }
/* The postcode and car entries come back once the "wiped" flaw is fixed. */
.rc-council__value { display: none; }
.rc-council.is-fixed-wiped .rc-council__value { display: inline; }
.rc-council__invalid { font-size: calc(14 * var(--px)); color: #b42318; }
.rc-council__message { font-size: calc(14 * var(--px)); font-weight: 600; color: #b42318; }
.rc-council__button {
  margin-top: auto;
  padding: calc(15 * var(--px)) calc(20 * var(--px));
  border-radius: calc(12 * var(--px));
  background: #00703c;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* Phones: the 560px layout would be too small to read, so one Figma pixel is scaled up and the screen grows in height. */
@media (max-width: 767px) {
  .rc-screen.rc-council { --px: calc(100cqw / 440); aspect-ratio: auto; min-height: calc(640 * var(--px)); }
}
