/*--------------------------------------------------------------
# Free printables page (karaoke-request-slip-template.html)
--------------------------------------------------------------*/

/* Hero */
.btn.btn-white {
  background: #fff;
  color: #274685;
  font-weight: 600;
}

.btn.btn-white:hover {
  background: #e8eef6;
  color: #274685;
}

.hero-section .printables-reassure {
  font-size: 15px;
  margin-top: 20px;
  opacity: 0.9;
}

.printables-hero-sheet {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  box-shadow: 0 20px 50px rgba(10, 30, 60, 0.35);
}

.printables-mini-slip {
  border: 1.5px solid #1f2a37;
  border-radius: 4px;
  padding: 10px;
  color: #1f2a37;
  font-size: 10px;
  line-height: 1.3;
}

.printables-mini-slip strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  border-bottom: 2px solid #2d71a1;
  padding-bottom: 4px;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.printables-mini-slip span {
  display: block;
  color: #4b5563;
  border-bottom: 1px solid #9aa8b8;
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.printables-mini-slip small {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #4b5563;
  font-size: 8px;
}

/* Below desktop the text and the slip sheet stack, so the hero grows to fit them instead of
   keeping the site's full-screen height. */
@media screen and (max-width: 991.98px) {
  .hero-section.printables-hero,
  .hero-section.printables-hero > .container > .row {
    height: auto;
    min-height: 0;
  }

  .hero-section.printables-hero {
    padding: 110px 0 150px;
  }

  .printables-hero-sheet {
    margin-top: 24px;
  }
}

/* Shared */
.is-placeholder {
  color: #6b7785;
}

.printables-intro {
  max-width: 720px;
  margin: 0 auto 48px;
}

/* The four printables */
.printable-card {
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.printable-card .printable-thumb {
  background: #f4f7fa;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.printable-card .printable-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.printable-card h3 {
  font-size: 20px;
  margin: 0;
}

.printable-card p {
  margin: 0;
  font-size: 15px;
}

.printable-card .printable-downloads {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.btn-plain {
  border: 1px solid #2d71a1;
  border-radius: 6px;
  background: #fff;
  color: #2d71a1;
  font-weight: 600;
  font-size: 14px;
  min-height: 40px;
  padding: 0 14px;
}

.btn-plain:hover,
.btn-plain:focus-visible {
  background: #2d71a1;
  color: #fff;
}

.btn-plain[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

/* Thumbnails drawn in CSS */
.thumb-page {
  width: 96px;
  height: 132px;
  background: #fff;
  border: 1px solid #c3cdd8;
  padding: 6px;
  display: grid;
  gap: 4px;
}

.thumb-page.thumb-8 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* The multi-song sheet is landscape */
.thumb-page.thumb-4 {
  width: 132px;
  height: 96px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.thumb-page.thumb-8 i,
.thumb-page.thumb-4 i {
  border: 1px solid #1f2a37;
  border-top: 3px solid #2d71a1;
}

.thumb-page.thumb-sheet {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 6px;
}

.thumb-page.thumb-sheet i {
  height: 6px;
  border-bottom: 1px solid #1f2a37;
}

.thumb-page.thumb-sheet i:first-child {
  background: #2d71a1;
  border: 0;
}

.thumb-card {
  width: 120px;
  height: 100px;
  background: #fff;
  border: 1.5px solid #1f2a37;
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.thumb-card i:first-child {
  width: 70px;
  height: 5px;
  background: #2d71a1;
}

.thumb-card i:nth-child(2) {
  width: 44px;
  height: 44px;
  border: 2px solid #1f2a37;
  background: conic-gradient(#1f2a37 25%, transparent 0 50%, #1f2a37 0 75%, transparent 0) 0 0 / 13px 13px;
}

.thumb-card i:last-child {
  width: 60px;
  height: 4px;
  background: #9aa8b8;
}

/* The form */
.printables-panel {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 576px) {
  .printables-panel {
    padding: 22px;
  }
}

.printables-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.printables-form label,
.printables-form legend {
  font-weight: 500;
  color: #1f2a37;
}

.printables-form legend {
  font-size: 16px;
  margin-bottom: 6px;
}

.printables-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.printables-form .form-control {
  height: 48px;
  border-color: #8a99ab;
  border-radius: 8px;
  font-size: 16px;
}

.printables-form .form-control[aria-invalid="true"] {
  border: 2px solid #b42318;
}

.printables-hint {
  margin: 6px 0 0;
  font-size: 14px;
  color: #55636f;
}

.printables-error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #b42318;
}

.printables-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 40px;
  padding-top: 8px;
  cursor: pointer;
  font-weight: 400 !important;
}

.printables-check input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: #274685;
}

.printables-check small {
  color: #55636f;
}

.printables-consent {
  background: #f4f7fa;
  border-radius: 8px;
  padding: 14px;
}

/* Paper size: radio buttons drawn as one switch */
.printables-segmented {
  display: inline-flex;
  border: 1px solid #8a99ab;
  border-radius: 8px;
  overflow: hidden;
}

.printables-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.printables-segmented label {
  min-height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.printables-segmented label + input + label {
  border-left: 1px solid #8a99ab;
}

.printables-segmented input:checked + label {
  background: #274685;
  color: #fff;
}

.printables-segmented input:focus-visible + label {
  outline: 3px solid #1391a5;
  outline-offset: -3px;
}

.printables-venue-preview {
  margin: 6px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* Spam trap: hidden from people, filled in by some bots. */
.printables-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.printables-alert {
  padding: 14px;
  border-radius: 8px;
  background: #fdf0ee;
  color: #8f1d13;
}

.printables-submit {
  min-height: 52px;
  font-size: 17px;
  font-weight: 700;
}

.printables-submit:disabled {
  opacity: 0.75;
  cursor: progress;
}

.printables-privacy {
  margin: -8px 0 0;
  font-size: 14px;
  color: #55636f;
}

.printables-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.printables-success h3:focus {
  outline: none;
}

.printables-success .printables-tick {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e3f2f5;
  color: #1b7c90;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.printables-success .printables-next {
  border-top: 1px solid #dfe5ec;
  padding-top: 16px;
  width: 100%;
  margin: 0;
}

/* The live slip preview */
.printables-preview-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #55636f;
}

.slip-preview {
  background: #fff;
  border: 2px solid #1f2a37;
  border-radius: 6px;
  padding: 22px 24px;
  max-width: 440px;
  color: #1f2a37;
  font-size: 13px;
}

.slip-preview .slip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 3px solid #2d71a1;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.slip-preview .slip-company {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.slip-preview .slip-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d71a1;
  white-space: nowrap;
}

.slip-preview .slip-field {
  color: #4b5563;
  margin-bottom: 12px;
}

.slip-preview .slip-field::after {
  content: "";
  display: block;
  height: 22px;
  border-bottom: 1px solid #1f2a37;
}

.slip-preview .slip-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.slip-preview .slip-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 12px;
}

.slip-preview .slip-keys span {
  width: 34px;
  height: 34px;
  border: 1.5px solid #1f2a37;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slip-preview .slip-keys span.is-zero {
  border-color: #2d71a1;
  color: #2d71a1;
  font-weight: 700;
}

.slip-preview .slip-bookings {
  overflow-wrap: anywhere;
}

.slip-preview .slip-footer,
.printables-sheet-preview .slip-footer,
.printables-card-preview .slip-footer {
  margin-top: 18px;
  padding-top: 8px;
  border-top: 1px dashed #9aa8b8;
  text-align: center;
  font-size: 12px;
  color: #4b5563;
}

.printables-preview-caption {
  margin: 12px 0 0;
  font-size: 14px;
  color: #55636f;
}

/* What's on each slip */
.printables-field-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.printables-field-item .printables-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8eef6;
  color: #274685;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.printables-field-item h3 {
  font-size: 19px;
  margin: 0 0 4px;
}

.printables-field-item p {
  margin: 0;
  font-size: 15px;
}

/* The sign-up sheet preview */
.printables-sheet-preview {
  background: #fff;
  border: 1px solid #c3cdd8;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: #1f2a37;
}

.printables-sheet-preview .slip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 3px solid #2d71a1;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.printables-sheet-preview .slip-company {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.printables-sheet-preview .slip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2d71a1;
  white-space: nowrap;
}

.printables-sheet-preview .table-wrap {
  overflow-x: auto;
}

.printables-sheet-preview table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 12px;
}

.printables-sheet-preview th {
  text-align: left;
  padding: 6px 4px;
  border-bottom: 1.5px solid #1f2a37;
}

.printables-sheet-preview td {
  padding: 8px 4px;
  border-bottom: 1px solid #9aa8b8;
  height: 34px;
}

.printables-sheet-preview .tick-box {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid #1f2a37;
}

.printables-sheet-preview .slip-footer {
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
  font-size: 11px;
}

/* How to use slips */
.printables-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.printables-steps .printables-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  height: 100%;
}

.printables-steps .printables-step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(-45deg, #1391a5, #274685);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.printables-steps strong {
  display: block;
  color: #1f2a37;
}

.printables-steps span span {
  font-size: 15px;
}

/* Paper versus WCIS */
.printables-compare {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.printables-compare table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.printables-compare th,
.printables-compare td {
  padding: 14px 20px;
  border-bottom: 1px solid #edf1f5;
}

.printables-compare thead th {
  font-family: "Poppins", sans-serif;
  color: #000;
  border-bottom: 2px solid #dfe5ec;
}

.printables-compare tbody th {
  font-weight: 400;
  text-align: left;
}

.printables-compare .col-mark {
  width: 140px;
  text-align: center;
}

.printables-compare td.col-mark {
  font-size: 22px;
  line-height: 1;
}

.printables-compare .mark-no {
  color: #8a5a00;
}

.printables-compare .mark-yes {
  color: #1b6f80;
}

/* The QR table card preview */
.printables-card-preview {
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #1f2a37;
  border-radius: 8px;
  padding: 26px;
  text-align: center;
  color: #1f2a37;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.printables-card-preview .slip-company {
  margin: 0 0 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.printables-card-preview .card-headline {
  margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #274685;
}

.printables-card-preview .card-qr {
  margin: 0 auto 16px;
  width: 150px;
  height: 150px;
  border: 2px dashed #8a99ab;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #55636f;
  padding: 10px;
}

/* Space for the Turnstile widget (65px tall), so the button below doesn't jump when it loads */
#printables-bot-check:not([hidden]) {
  min-height: 65px;
}

/* Links inside body text: dark enough to read (the theme's #777 is just under 4.5:1)
   and underlined, so they don't rely on colour alone */
main p a:not(.btn),
main li a:not(.btn) {
  color: #555555;
  text-decoration: underline;
}
