/* Bangers */
@font-face {
  font-family: 'Bangers';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Bangers.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Nunito */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Nunito.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Nunito.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/Nunito.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --nf-red: #d32f2f;
  --nf-black: #000000;
  --nf-white: #ffffff;
  --bg-color: #f9f9f9;
  --border-radius: 20px;
  --border-width: 3px;
  --font-heading: 'Bangers', cursive;
  --font-body: 'Nunito', sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--nf-black);
}
header {
  background-color: var(--nf-red);
  color: var(--nf-white);
  text-align: center;
  padding: 1rem;
  border-bottom: var(--border-width) solid var(--nf-black);

  a {
    color: var(--nf-white);
  }
}
header h1 {
  font-family: var(--font-heading);
  margin: 0;
  font-size: 2.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Card Styling */
.card {
  background: var(--nf-white);
  border: var(--border-width) solid var(--nf-black);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.card-header h2 {
  font-weight: 800;
  margin-top: 0;
  font-size: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.input-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.input-list li {
  margin-bottom: 15px;
}
input[type='text'],
input[type='password'],
input[type='email'],
textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.auto-grow {
  resize: none;
  overflow: hidden;
  min-height: 40px;
}
input[type='text']:focus,
input[type='password']:focus,
input[type='email']:focus,
textarea:focus {
  border-color: var(--nf-red);
  outline: none;
}
textarea {
  resize: vertical;
}
.input-group label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 700;
}
/* Utility Classes */
.text-center {
  text-align: center;
}
/* Auth Styling */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 20px;
}
.auth-card {
  width: 100%;
  max-width: 400px;
}
/* Button Styling */
button,
input[type='submit'],
.rw-button {
  background-color: var(--nf-red);
  color: var(--nf-white);
  border: var(--border-width) solid var(--nf-black);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.1s,
    background-color 0.2s;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 20px;
  text-transform: uppercase;
}
button:hover,
input[type='submit']:hover,
.rw-button:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}
button:active,
input[type='submit']:active,
.rw-button:active {
  transform: translateY(0);
}
/* Links */
a {
  color: var(--nf-red);
  text-decoration: none;
  font-weight: 700;
}
a:hover {
  text-decoration: underline;
}
.field-error {
  color: var(--nf-red);
  font-size: 0.9rem;
  margin-top: 5px;
  display: block;
}
.auth-links {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}
/* Tracker Styling */
.tracker-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}
.tracker-content {
  position: absolute;
  text-align: center;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through to SVG if needed, but text is in middle */
  width: 60%;
}
.tracker-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
}
.tracker-content p {
  font-size: 1.1rem;
  margin: 10px 0;
}
.zoom-out-text {
  margin-top: 20px;
  font-size: 1.2rem;
}
#tracker-ring {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(5px 5px 0px rgba(0, 0, 0, 0.1));
}
.segment {
  fill: var(--nf-white);
  stroke: var(--nf-black);
  stroke-width: 3; /* Thicker borders to match cartoon style */
  cursor: pointer;
  transition: fill 0.2s;
}
.segment:hover {
  fill: #ffebee;
}
.segment.filled {
  fill: var(--nf-red); /* Or maybe a success green? Red matches theme though */
}
/* Responsive Text Scaling for Tracker */
@media (max-width: 600px) {
  .tracker-title {
    font-size: 1.8rem;
  }

  .tracker-content p {
    font-size: 0.9rem;
    margin: 5px 0;
  }

  .zoom-out-text {
    font-size: 1rem;
    margin-top: 10px;
  }
}
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  font-weight: 700;
}
.logo .logo-badge {
  background: var(--nf-red);
  color: white;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  margin-right: 5px;
  line-height: 1;

  span {
    margin-left: -1px;
  }
}
.logo a {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo a:hover {
  text-decoration: none;
}
.logo a:hover .logo-text {
  text-decoration: underline;
}
/* Cedar Credits */
.cedar-credits {
  margin-top: 15px;
  font-size: 0.9rem;
}
.cedar-credits a {
  color: var(--nf-red);
  text-decoration: none;
}
.cedar-credits a:hover {
  text-decoration: underline;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}
.social-links a {
  color: var(--nf-black);
  transition: color 0.2s;
}
.social-links a:hover {
  color: var(--nf-red);
}
/* Header Styling */
.header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.auth-controls {
  position: absolute;
  right: 12px;
  /*display: flex;*/
  display: none;
  align-items: center;
}
.icon-button,
.icon-link {
  background: none;
  border: none;
  color: var(--nf-white);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  width: auto;
  margin-top: 0;
}
.icon-button:hover,
.icon-link:hover {
  transform: scale(1.1);
  background-color: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
  }

  .auth-controls {
    position: static;
    margin-top: 10px;
  }
}
/* Desktop Layout */
@media (min-width: 900px) {
  .grid-container {
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-rows: auto auto;
    /*
      Sec1  Track  Sec2
      Sec3  Track  Sec4
    */
    grid-template-areas:
      'sec1 tracker sec2'
      'sec3 tracker sec4';
    align-items: stretch;
  }

  .section-1 {
    grid-area: sec1;
  }
  .section-2 {
    grid-area: sec2;
  }
  .section-3 {
    grid-area: sec3;
  }
  .section-4 {
    grid-area: sec4;
  }
  .tracker-container {
    grid-area: tracker;
  }
}
/*
  normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
*/

.rw-scaffold *,
.rw-scaffold ::after,
.rw-scaffold ::before {
  box-sizing: inherit;
}
.rw-scaffold main {
  color: #4a5568;
  display: block;
}
.rw-scaffold h1,
.rw-scaffold h2 {
  margin: 0;
}
.rw-scaffold a {
  background-color: transparent;
}
.rw-scaffold ul {
  margin: 0;
  padding: 0;
}
.rw-scaffold input {
  font-family: inherit;
  font-size: 100%;
  overflow: visible;
}
.rw-scaffold input:-ms-input-placeholder {
  color: #a0aec0;
}
.rw-scaffold input::-ms-input-placeholder {
  color: #a0aec0;
}
.rw-scaffold input::placeholder {
  color: #a0aec0;
}
.rw-scaffold table {
  border-collapse: collapse;
}

/*
  Style
*/

.rw-scaffold,
.rw-toast {
  background-color: #fff;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol', 'Noto Color Emoji';
}
.rw-header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem 1rem 2rem;
}
.rw-main {
  margin-left: 1rem;
  margin-right: 1rem;
  padding-bottom: 1rem;
}
.rw-segment {
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: #e5e7eb;
  overflow: hidden;
  width: 100%;
  scrollbar-color: #a1a1aa transparent;
}
.rw-segment::-webkit-scrollbar {
  height: initial;
}
.rw-segment::-webkit-scrollbar-track {
  background-color: transparent;
  border-color: #e2e8f0;
  border-style: solid;
  border-radius: 0 0 10px 10px;
  border-width: 1px 0 0 0;
  padding: 2px;
}
.rw-segment::-webkit-scrollbar-thumb {
  background-color: #a1a1aa;
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: 10px;
}
.rw-segment-header {
  background-color: #e2e8f0;
  color: #4a5568;
  padding: 0.75rem 1rem;
}
.rw-segment-main {
  background-color: #f7fafc;
  padding: 1rem;
}
.rw-link {
  color: #4299e1;
  text-decoration: underline;
}
.rw-link:hover {
  color: #2b6cb0;
}
.rw-forgot-link {
  font-size: 0.75rem;
  color: #a0aec0;
  text-align: right;
  margin-top: 0.1rem;
}
.rw-forgot-link:hover {
  font-size: 0.75rem;
  color: #4299e1;
}
.rw-heading {
  font-weight: 600;
}
.rw-heading.rw-heading-primary {
  font-size: 1.25rem;
}
.rw-heading.rw-heading-secondary {
  font-size: 0.875rem;
}
.rw-heading .rw-link {
  color: #4a5568;
  text-decoration: none;
}
.rw-heading .rw-link:hover {
  color: #1a202c;
  text-decoration: underline;
}
.rw-cell-error {
  font-size: 90%;
  font-weight: 600;
}
.rw-form-wrapper {
  box-sizing: border-box;
  font-size: 0.875rem;
  margin-top: -1rem;
}
.rw-cell-error,
.rw-form-error-wrapper {
  padding: 1rem;
  background-color: #fff5f5;
  color: #c53030;
  border-width: 1px;
  border-color: #feb2b2;
  border-radius: 0.25rem;
  margin: 1rem 0;
}
.rw-form-error-title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
}
.rw-form-error-list {
  margin-top: 0.5rem;
  list-style-type: disc;
  list-style-position: inside;
}
.rw-button {
  border: none;
  color: #718096;
  cursor: pointer;
  display: flex;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.025em;
  border-radius: 0.25rem;
  line-height: 2;
  border: 0;
}
.rw-button:hover {
  background-color: #718096;
  color: #fff;
}
.rw-button.rw-button-small {
  font-size: 0.75rem;
  border-radius: 0.125rem;
  padding: 0.25rem 0.5rem;
  line-height: inherit;
}
.rw-button.rw-button-green {
  background-color: #48bb78;
  color: #fff;
}
.rw-button.rw-button-green:hover {
  background-color: #38a169;
  color: #fff;
}
.rw-button.rw-button-blue {
  background-color: #3182ce;
  color: #fff;
}
.rw-button.rw-button-blue:hover {
  background-color: #2b6cb0;
}
.rw-button.rw-button-red {
  background-color: #e53e3e;
  color: #fff;
}
.rw-button.rw-button-red:hover {
  background-color: #c53030;
}
.rw-button-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-right: 0.25rem;
}
.rw-button-group {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0.5rem;
}
.rw-button-group .rw-button {
  margin: 0 0.25rem;
}
.rw-form-wrapper .rw-button-group {
  margin-top: 2rem;
  margin-bottom: 0;
}
.rw-label {
  display: block;
  margin-top: 1.5rem;
  color: #4a5568;
  font-weight: 600;
  text-align: left;
}
.rw-label.rw-label-error {
  color: #c53030;
}
.rw-input {
  display: block;
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  border-width: 1px;
  border-style: solid;
  border-color: #e2e8f0;
  color: #4a5568;
  border-radius: 0.25rem;
  outline: none;
}
.rw-check-radio-item-none {
  color: #4a5568;
}
.rw-check-radio-items {
  display: flex;
  justify-items: center;
}
.rw-input[type='checkbox'] {
  display: inline;
  width: 1rem;
  margin-left: 0;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}
.rw-input[type='radio'] {
  display: inline;
  width: 1rem;
  margin-left: 0;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}
.rw-input:focus {
  border-color: #a0aec0;
}
.rw-input-error {
  border-color: #c53030;
  color: #c53030;
}

.rw-input-error:focus {
  outline: none;
  border-color: #c53030;
  box-shadow: 0 0 5px #c53030;
}

.rw-field-error {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #c53030;
}
.rw-table-wrapper-responsive {
  overflow-x: auto;
}
.rw-table-wrapper-responsive .rw-table {
  min-width: 48rem;
}
.rw-table {
  table-layout: auto;
  width: 100%;
  font-size: 0.875rem;
}
.rw-table th,
.rw-table td {
  padding: 0.75rem;
}
.rw-table td {
  background-color: #ffffff;
  color: #1a202c;
}
.rw-table tr:nth-child(odd) td,
.rw-table tr:nth-child(odd) th {
  background-color: #f7fafc;
}
.rw-table thead tr {
  color: #4a5568;
}
.rw-table th {
  font-weight: 600;
  text-align: left;
}
.rw-table thead th {
  background-color: #e2e8f0;
  text-align: left;
}
.rw-table tbody th {
  text-align: right;
}
@media (min-width: 768px) {
  .rw-table tbody th {
    width: 20%;
  }
}
.rw-table tbody tr {
  border-top-width: 1px;
}
.rw-table input {
  margin-left: 0;
}
.rw-table-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 17px;
  padding-right: 0.25rem;
}
.rw-table-actions .rw-button {
  background-color: transparent;
}
.rw-table-actions .rw-button:hover {
  background-color: #718096;
  color: #fff;
}
.rw-table-actions .rw-button-blue {
  color: #3182ce;
}
.rw-table-actions .rw-button-blue:hover {
  background-color: #3182ce;
  color: #fff;
}
.rw-table-actions .rw-button-red {
  color: #e53e3e;
}
.rw-table-actions .rw-button-red:hover {
  background-color: #e53e3e;
  color: #fff;
}
.rw-text-center {
  text-align: center;
}
.rw-login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24rem;
  margin: 4rem auto;
  flex-wrap: wrap;
}
.rw-login-container .rw-form-wrapper {
  width: 100%;
  text-align: center;
}
.rw-login-link {
  margin-top: 1rem;
  color: #4a5568;
  font-size: 90%;
  text-align: center;
  flex-basis: 100%;
}
.rw-webauthn-wrapper {
  margin: 1.5rem 1rem 1rem;
  line-height: 1.4;
}
.rw-webauthn-wrapper h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 1rem;
}
