/* ---------------- *
* Form Styles
* ----------------- */
:root {
  --input-bg: #fff;
  --input-txt: #000;
  --input-placeholder: #676767;
  --input-border: #ccc;
  --form-txt: #000;
}

#pf-form input::placeholder,
#pf-form textarea::placeholder,
#pf-form select::placeholder {
  color: var(--input-placeholder);
  font-size: 12px !important;
  font-weight: 500;
}
#pf-form input,
#pf-form textarea,
#pf-form select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 3px;
  color: var(--input-txt);
  font-size: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  max-width: 100%;
  padding: 10px 15px !important;
  line-height: normal !important;
  width: 100%;
  box-sizing: border-box;
}
#pf-form select {
  --line: #ccc;
  --arrow: gray;
  background-image: linear-gradient(45deg, transparent 50%, var(--arrow) 50%), linear-gradient(135deg, var(--arrow) 50%, transparent 50%),
    linear-gradient(to right, var(--line), var(--line));
  background-position: calc(100% - 15px) calc(1em + 2px), calc(100% - 10px) calc(1em + 2px), calc(100% - 2.4em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.6em;
  background-repeat: no-repeat;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
#pf-form .pf-form-element {
  margin-top: 7px;
}
#pf-form > label {
  font-weight: 500;
}
#pf-form .pf-form-element label {
  font-weight: 500;
}
.pf-form-btn {
  background: transparent;
  border: 2px solid #ba0000;
  border-radius: 3px;
  color: var(--input-txt);
  font-size: 16px;
  margin-top: 10px;
  padding: 10px 25px;
  display: inline-block;
  transition: all 0.2s ease;
  font-weight: 500;
}
.pf-form-btn:hover {
  background: #ba0000;
  color: #fff;
}
.pf-form-element.invalid input,
.pf-form-element.invalid select {
  border-color: #dc3545;
}
.pf-error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 4px;
  display: none;
}
.pf-form-element.invalid .pf-error-message {
  display: block;
}
#pf-form .pf-form-element.invalid input,
#pf-form .pf-form-element.invalid select {
  border-color: #dc3545;
}

/* ---------------- *
* Template Styles
* ----------------- */
#admin-template,
#cheer-template,
#football-template,
#coach-template {
  text-align: center;
  /* margin: 5px 25px; */
  /* font-family: 'Courier New', monospace; */
  font-family: 'Arial Black', sans-serif;
  page-break-inside: avoid;
  break-inside: avoid;
  overflow: hidden;
}
.template-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 75px;
  position: relative;
  margin-bottom: 15px;
}
#admin-template h1,
#cheer-template h1,
#football-template h1,
#coach-template h1 {
  margin: 0;
  font-size: 40px;
  font-family: 'Arial Black', sans-serif;
  padding-left: 50px;
}
#template-info-wrapper {
  border: 1px solid black;
  border-top: none;
  display: flex;
  flex-direction: column;
  min-height: 70%;
}
.template-row {
  width: 100%;
  margin: 0;
  display: flex;
  flex: 1;
}
.pf-form-row {
  page-break-inside: avoid;
  break-inside: avoid;
}
#coach-template .template-row:first-of-type .template-column {
  width: 100%;
  border-right: none;
}
.template-row .template-column:first-of-type {
  border-right: 1px solid black;
}
.template-row .template-column.name {
  border-right: 0;
}
.template-column {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  padding: 0;
  margin: 0;
}
.template-row:first-of-type .template-column {
  width: 100%;
}
#admin-template .template-column {
  width: 100%;
}
#cheer-template .age-group,
#football-template .age-group {
  width: 30%;
}
#cheer-template .school-name,
#football-template .school-name {
  width: 70%;
}
.column-label {
  background: lightgray;
  margin-bottom: 25px;
  border: 1px solid black;
  border-left: none;
  border-right: none;
  padding: 5px 0;
  font-weight: 700;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.column-value {
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 25px;
  font-family: 'Arial Black', sans-serif;
  padding: 0 10px;
}

/* initial block */
.initial-block-container {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 0;
}
.initial-block-container p {
  font-size: 8px;
  font-style: italic;
  margin: 5px 0;
}
.initial-block {
  border: 1px solid #000;
  width: 35px;
  height: 20px;
  margin: 0 auto;
}

/* Name */
.name .column-value {
  font-size: 55px;
}
/* Team Name */
.team-name .column-value {
  font-size: 40px;
  line-height: 1.3;
}
/* Age Group */
.age-group .column-value {
  font-size: 40px;
}
/* School Name */
.school-name .column-value {
  font-size: 35px;
  line-height: 1.3;
}
/* Birth Date  */
.birth-date .column-value {
  font-size: 40px;
}

.fb-team-row .template-column {
  width: 100%;
}
