.radio-button {
  display: grid;
  height: 56px;
  grid-template-columns: 32px 1fr;
  align-items: center;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #fff;
  height: 16px;
  width: 16px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
}
input[type=radio]:after {
  border: solid 1px #FB4D2F;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
}
input[type=radio]:before {
  border: solid 1px #FB4D2F;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 4px;
  content: "";
}
input[type=radio]:hover:before {
  background-color: rgba(251, 77, 47, 0.5);
}
input[type=radio]:focus:before {
  background-color: rgba(251, 77, 47, 0.5);
}
input[type=radio]:checked:before {
  background-color: #FB4D2F;
}

body {
  margin: 0 auto;
  padding: 0 16px;
  max-width: 750px;
}

header {
  border: none;
  margin: 0;
  padding: 0;
}
header a {
  border: none;
  margin: 0;
  padding: 0;
}
header a img {
  width: 50%;
  padding: 20px 0;
  max-width: 320px;
}

h1 {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: normal;
  margin: 0 0 16px;
}

h2 {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 16px 0;
}

p, a, div, label, .button, th, td, li, strong {
  font-family: "Poppins", sans-serif;
}

a {
  color: #FB4D2F;
}

.section {
  margin-top: 24px;
}

.section:last-of-type {
  margin-bottom: 24px;
}

.field {
  max-width: 440px;
  width: 100%;
  margin-bottom: 16px;
  font-family: "Poppins", sans-serif;
}
.field label {
  font-weight: bold;
}
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field textarea {
  font-family: "Poppins", sans-serif;
  padding: 8px;
  border: 1px solid black;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

input[type=number].no-arrows::-webkit-outer-spin-button,
input[type=number].no-arrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number].no-arrows {
  -moz-appearance: textfield;
}

.button {
  display: inline-block;
  max-width: 440px;
  width: 100%;
  background-color: #FB4D2F;
  color: white;
  height: 48px;
  line-height: 48px;
  text-align: center;
  border: 2px solid #FB4D2F;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin: 0 0 16px;
  padding: 0;
}
.button[disabled], .button.disabled {
  cursor: default;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
}

.buttons {
  text-align: center;
}

.secondary {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.small-button {
  background-color: white;
  color: #FB4D2F;
  width: 45%;
  line-height: 28px;
  height: 32px;
  max-width: 150px;
}

table.list {
  width: 100%;
  font-family: "Poppins", sans-serif;
  border-collapse: collapse;
  margin: 16px 0;
}
table.list th, table.list td {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #EEEEEE;
}
table.list td:first-of-type {
  padding-right: 8px;
  white-space: nowrap;
}
table.list th {
  text-align: left;
}
table.list td.left,
table.list th.left {
  text-align: left;
}
table.list .right,
table.list td.right,
table.list th.right {
  text-align: right;
}
table.list .center,
table.list td.center,
table.list th.center {
  text-align: center;
}

table.scorecard {
  width: 100%;
  font-family: "Poppins", sans-serif;
  border-collapse: collapse;
}
table.scorecard th, table.scorecard td {
  text-align: center;
  padding: 4px 0;
  width: 25%;
  border: 1px solid black;
}

.notice, .alert-success, .alert-info {
  color: #4F8A10;
  background-color: #DFF2BF;
  border: 1px solid #DFF2BF;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.warning, .alert-warning {
  background-color: #fff3cd;
  border: 1px solid #ffecb5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.error, .alert, .alert-danger {
  color: #D8000C;
  background-color: #ffbaba;
  border: 1px solid #D8000C;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.steps-header {
  margin-bottom: 16px;
}

.steps {
  display: flex;
  flex: 1;
  justify-content: space-around;
  align-items: center;
  max-width: 420px;
}
.steps .step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.steps .step .step-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  border: 1px solid #999;
  background-color: #999;
  color: white;
  text-align: center;
  margin-bottom: 8px;
}
.steps .step .step-label {
  font-size: 12px;
  color: #999;
}
.steps .step-complete .step-icon {
  border: 1px solid #FB4D2F;
  background-color: #FB4D2F;
  color: white;
}
.steps .step-complete .step-label {
  color: #FB4D2F;
}
.steps .step-current .step-icon {
  border: 1px solid #FB4D2F;
  background-color: white;
  color: #FB4D2F;
}
.steps .step-current .step-label {
  color: #FB4D2F;
}

.copy {
  margin-bottom: 16px;
}
.copy .copy-container {
  display: inline-block;
  border: 1px solid black;
  border-radius: 8px;
  padding: 8px;
}
.copy .copy-container .copy-url {
  display: inline-block;
  border: 1px solid #CCC;
  border-radius: 8px;
  padding: 8px;
  background-color: #EEE;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  width: 220px;
}
.copy .copy-container .copy-url:focus {
  outline: none;
}
.copy .copy-container .copy-button {
  padding: 8px;
  max-width: none;
  width: auto;
  height: auto;
  line-height: normal;
  padding: 8px;
  margin: 0;
}

table.tasks {
  width: 100%;
}
table.tasks tr.header {
  cursor: pointer;
}
table.tasks tr.header td {
  width: 100%;
}
table.tasks tr.header td.icon, table.tasks tr.header td.caret {
  width: 0;
}
table.tasks tr.header td.icon {
  padding-right: 8px;
}
table.tasks tr.header td.icon i {
  font-size: 30px;
}
table.tasks tr.header td.icon i.complete {
  color: green;
}
table.tasks tr.header td.icon i.incomplete {
  color: red;
}
table.tasks tr.header td.caret {
  text-align: right;
}

table.stats {
  border: 1px solid #ccc;
  border-collapse: collapse;
}
table.stats th, table.stats td {
  border: 1px solid #ccc;
  font-weight: normal;
  padding: 8px 16px;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

table.rates {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}
table.rates th, table.rates td {
  border: 1px solid #ccc;
  font-weight: normal;
  padding: 8px 16px;
}

@media screen and (max-width: 600px) {
  table.rates {
    border: 0;
  }
  table.rates thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  table.rates tr {
    display: block;
    margin-bottom: 16px;
    border-bottom: 1px solid #ccc;
  }
  table.rates tr td {
    border-bottom: 1px solid #ddd;
    display: block;
    text-align: right;
  }
  table.rates tr td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
  }
  table.rates tr td:last-child {
    border-bottom: 0;
  }
}
.tooltip {
  position: relative;
  display: inline-block;
}
.tooltip .tooltip-text {
  visibility: hidden;
  width: 240px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip .tooltip-text-left {
  margin-left: -240px;
}
.tooltip .tooltip-text-right {
  margin-left: 0px;
}

.tooltip:hover .tooltip-text, .tooltip:active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.help-text {
  font-size: 14px;
  color: #999;
}

div.round-navigator {
  display: table;
  width: 100%;
  table-layout: fixed;
}
div.round-navigator span {
  display: table-cell;
}
div.round-navigator .left {
  text-align: left;
}
div.round-navigator .center {
  text-align: center;
}
div.round-navigator .right {
  text-align: right;
}

label.radio-button input {
  margin: 10px 10px 10px 0;
}

.confirmation-button {
  margin-top: 16px;
}

.member-label {
  background-color: #FB4D2F;
  border-radius: 16px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 0px 6px;
  margin-left: 6px;
}

.team-player {
  white-space: nowrap;
}

ol.instructions li {
  margin: 0.5rem 0;
}

.contacts .card {
  border: 1px solid black;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  max-width: 440px;
  box-sizing: border-box;
}
.contacts h3 {
  margin-top: 0;
  font-size: 16px;
}

.preview .card-content-wrapper {
  display: grid;
  align-items: center;
  grid-template-columns: 5rem 1fr;
  grid-column-gap: 1rem;
  border: 1px solid black;
  border-radius: 8px;
  max-width: 440px;
  box-sizing: border-box;
  margin-bottom: 16px;
  margin-top: 8px;
  padding: 8px;
}
.preview .card-content-wrapper h3 {
  font-size: 16px;
}
.preview .card-content-wrapper .card-icon {
  display: grid;
  align-items: center;
  justify-content: center;
}
.preview .card-content-wrapper .card-icon svg {
  width: 4.5rem;
  height: 4.5rem;
}

.counted-input input[type=text] {
  padding-right: 50px;
}
.counted-input .input-counter {
  font-size: 12px;
  position: relative;
  top: -27px;
  float: right;
  padding-right: 10px;
}

.round-confirmation-steps {
  display: table;
  width: 100%;
  table-layout: fixed;
  max-width: 440px;
}
.round-confirmation-steps span {
  display: table-cell;
}
.round-confirmation-steps .title {
  text-align: center;
}
.round-confirmation-steps span:last-of-type, .round-confirmation-steps span:first-of-type {
  width: 10%;
}

table.rate-details {
  width: 100%;
  max-width: 440px;
  margin-bottom: 1rem;
}
table.rate-details th, table.rate-details td {
  padding: 0.25rem 0;
  font-weight: normal;
}
table.rate-details th {
  text-align: left;
}
table.rate-details td {
  text-align: right;
}
table.rate-details td a {
  cursor: pointer;
  text-decoration: underline;
}
table.rate-details tr.current th, table.rate-details tr.current td {
  font-weight: bold;
}
table.rate-details tr.current th a, table.rate-details tr.current td a {
  font-weight: normal;
}

@media screen and (min-width: 440px) {
  .row {
    display: flex;
  }
  .row .desktop-column {
    flex: 50%;
  }
  .row .desktop-column:nth-child(2) {
    margin-left: 1rem;
  }
  .row .desktop-column:nth-child(2) h2 {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 16px;
  }
  .inline-buttons {
    display: flex;
    gap: 1rem;
  }
  .inline-buttons .button, .inline-buttons input[type=submit] {
    max-width: 200px;
  }
}
@media screen and (max-width: 440px) {
  .row .desktop-column:nth-child(2) {
    margin-top: 2rem;
  }
}
@media only screen and (max-width: 440px) {
  /* Force table to not be like tables anymore */
  .responsive-table table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr {
    display: block;
  }
  /* Hide table headers (but not display: none;, for accessibility) */
  .responsive-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .responsive-table tr {
    border: 1px solid #ccc;
  }
  .responsive-table td.left,
  .responsive-table td.center {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 40%;
    white-space: normal;
    text-align: left;
  }
  .responsive-table td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
  /*
  Label the data
  */
  .responsive-table td:before {
    content: attr(data-title);
  }
}
