/** GLOBAL **/
body {
background: #fff;
}

html {
  scroll-behavior: smooth;
}

p {
  font-size: 16pt;
  line-height: 1.2em;
}

h1 {
font-size: 38px;
color: var(--wk-darkpurple);
font-weight: 900;
line-height: 1;
}

a {
  color: #3b82f6; /* “link blue” – standard hex value */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:root {
  --wk-darkpurple: #4b2a83;
  --wk-lightpurple: #c4a6e0;
  --wk-darkgray: #606060;
  --wk-gold: #ffdf5c;
}

/* Base button reset (defeat Tailwind/normalize resets) */
/* ----- Buttons (global) ----- */
/* Base button styles (what you already have) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1.5px solid var(--wk-gold);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, letter-spacing 0.25s ease, padding 0.25s ease;
}

/* Primary (WK purple) */
.btn-primary {
  background-color: var(--wk-darkpurple);
  color: #fff;
}

/* Secondary (outline) */
.btn-secondary {
  background: #fff;
  color: var(--wk-darkpurple);
  border: 1.5px solid var(--wk-darkpurple);
}
.btn-secondary:hover {
  background: #f3eefb;
  text-decoration: none;
}

.btn-grow-right {
  position: relative;
  padding-right: 44px;           /* room for the chevron */
  transition: padding-right .25s ease;
}

/* Draw a tall, flat chevron using borders (no extra markup) */
.btn-grow-right::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;                   /* resting position */
  width: 11px;                   /* chevron size */
  height: 11px;
  border-right: 2px solid var(--wk-gold);
  border-top: 2px solid var(--wk-gold);
  transform: translateY(-50%) rotate(45deg);  /* » */
  transition: right .25s ease, transform .25s ease;
  pointer-events: none;
}

/* Hover: button widens to the right, chevron glides right a bit */
.btn-grow-right:hover {
  padding-right: 58px;           /* expand only to the right */
}

.btn-grow-right:hover::after {
  right: 28px;                   /* gentle slide */
  transform: translateY(-50%) rotate(45deg);
}

/* ================================
   ALERTS
   ================================ */
/* =========================
   Alerts (base + variants)
   ========================= */

.reg-card [data-flux-error] {
  display: none !important;
}

.alert {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid red;
  font-size: 15px;
  line-height: 1.35;
  display: flex;
  gap: 3px;
  align-items: flex-start;
  margin-top: 10px;
}

/* If you want a little icon vibe without extra markup */
.alert::before {
  content: "!";
  font-weight: 900;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  font-size: 16px;
  background: red;
  color: inherit;
}

/* Error variant */
.alert-danger {
  background: white;         /* soft red-pink */
  color: red;              /* deep red text */
}

.alert-danger::before {
  background: #ef4444;         /* strong red dot */
  color: #fff;
}

/* Make the list inside feel tidy */
.alert ul {
  margin: 0;
  padding-left: 8px;
}

.alert li {
  margin: 2px;
}





/** LANDING **/
/* ================================
   LOGIN & INFO ABOUT WALK KANSAS
   ================================ */
.login-center {
  width: 950px;
  display: flex;
  flex-direction: column;
  align-items: center;   /* horizontal centering */
  margin: 0 auto;
}

.login-card {
  margin: -64px auto 60px;
  padding: 50px 75px;
  height: auto;
  min-height: unset;
  display: block;
  border-radius: 0;
   background: linear-gradient(var(--wk-darkpurple) 0 64px, #f5f5f5 64px 100%);
}

.login-card-bg {
  background: #ffffff;
  padding: 50px 75px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  width: 600px;
  margin: 10px auto 0;
}

.login-title {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  margin:0;
  line-height: 64px;
  transform: translateY(-50px);
  font-weight: 900;   /* "Black" weight */
  font-size: 38px;    /* 60 pt equivalent (~80 px on web if you prefer exact scaling) */
  letter-spacing: -0.5px;
}

/* Welcome page overrides */
.login-card-bg form flux\:input,
.login-card-bg form input[type="email"],
.login-card-bg form input[type="password"] {
    width: 450px;
    height: 50px;
}

.login-card p {
color: var(--wk-darkpurple);
/* transform: translateY(-40px); */
/* margin-top: 50px; */
}

/* About You form field styling */
/* Page container - fully centered */

.register-text {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 40px;
text-align: center;
font-size: 16px;
color: #333;
}

#about {
scroll-margin-top: 80px;
}

.wk-about {
text-align: center;
}

.about-callouts {
display: flex;
gap: 30px;
justify-content: center;
margin-bottom: 60px;
}

.about-card {
  width: 225px;
  height: 125px;
  background: var(--wk-darkpurple);
  display: flex;
  flex-direction: column;
  justify-content: center;  /* centers vertically */
  align-items: center;       /* centers horizontally */
  gap: 1px;
}

.about-card h2 {
font-size: 38px;
color: #fff;
font-weight: 900;
letter-spacing: 2px;
margin: 0;
padding: 0;
line-height: 1;
}

.about-card p {
font-size: 14pt;
color: var(--wk-gold);
margin: 0;
padding: 0;
line-height: 1;
}

/* About section wrapper (you already have this) */
.wk-about {
  margin-top: 10px;
  text-align: center;
}

/* ABOUT INFO PANEL */
.about-info {
  width: 100%;
  margin: 40px auto 0;
  box-sizing: border-box;
  display: flex;
  padding: 15px 0;
  text-align: left;          /* override wk-about center text */
}

.about-info.reverse {
  flex-direction: row-reverse;
  text-align: right;
}

.about-info:last-child {
margin-bottom: 80px;
}

.about-info-content a,
.about-info-content.reverse a {
text-decoration: none;
}


/* Image column – 45% width */
.about-info-image {
flex: 0 0 45%;
}

.about-info-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Content column – remaining width, flex column */
.about-info-content {
flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  align-content: center;
  justify-content: center;
}

.about-info-content.reverse {
  margin-right: 20px;
  margin-left: 0;
}

/* Header + body copy */
.about-info-content h3 {
  margin: 0 0 4px;
  padding-top: 20px;
  font-size: 20pt;
  font-weight: 500;
  color: var(--wk-darkpurple);
  border-top: 8px solid var(--wk-darkpurple);
}

.about-info-content p {
  margin: 0;
  line-height: 1.3em;
  font-size: 12pt;
  color: #000;
}

/* Icon + text row at the bottom */
.about-info-link {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  border-bottom: 1.25px solid var(--wk-lightpurple);
  padding-bottom: 20px;
  cursor: pointer;          /* makes it feel clickable */
}

/* ICON CONTAINER */
.about-info-icon {
  background: transparent;
  border: 2px solid var(--wk-gold);
  width: 40px;
  height: 40px;
  padding:20px;             /* space around the image */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .5s ease;
  box-sizing: content-box;   /* makes width/height refer only to icon itself */
}

/* CIRCLE hover */
.about-info-link:hover .about-info-icon {
  background: transparent;
  border-color: var(--wk-darkpurple);
}

/* ICON IMAGE (the 50x50 actual graphic) */
.about-info-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

/* TEXT */
.about-info-link span {
  font-size: 13pt;
  font-weight: 500;
  color: var(--wk-darkpurple);
  position: relative;
  display: inline-block;
  transition: color .5s ease;
}

/* Single underline bar */
.about-info-link span::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--wk-gold);
  transition: background-color .5s ease;  /* <— smooth color change */
}

/* Hover updates the underline color */
.about-info-link:hover span::before {
  background: var(--wk-darkpurple);
}





/** REGISTRATION **/
/* ================================
   ABOUT YOU / SETUP PROGRAM
   ================================ */

.reg-center {
  width: 600px;
  display: flex;
  justify-content: center;   /* horizontal centering */
  margin: 0 auto;
}

.reg-card {
  width: 600px;
  margin: -64px auto 100px;
  padding: 50px 75px;
  height: auto;
  min-height: unset;
  display: block;
  border-radius: 0;
   background: linear-gradient(var(--wk-darkpurple) 0 64px, #f5f5f5 64px 100%);
}

.reg-title {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  margin:0;
  line-height: 64px;
  transform: translateY(-50px);
  font-weight: 900;   /* "Black" weight */
  font-size: 34px;    /* 60 pt equivalent (~80 px on web if you prefer exact scaling) */
  letter-spacing: -0.5px;
}

.reg-card p {
color: var(--wk-darkpurple);
/* transform: translateY(-40px); */
/* margin-top: 50px; */
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;               /* fill the 750px panel */
  margin: 0 auto 0;
}

form flux\:input,
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="tel"],
.group-select {
  width: 450px;
  height: 50px;
  border-radius: 0;
  box-sizing: border-box;
  border: 1.5px solid var(--wk-darkpurple);
  margin: 0 0 20px 0;
}

form input[type="password"], 
.group-select {
	margin: 0;
}


/* Form buttons row */
.form-buttons {
  display: flex;
  gap: 20px;
  margin: 40px 0 0 0;
}

/* Divider */
.form-divider-topbtm {
  width: 100%;
  border: 0;
  height: 1.25px;
  background-color: var(--wk-lightpurple);
  margin: 40px 0;
}

.form-divider-top {
  width: 100%;
  border: 0;
  height: 1.25px;
  background-color: var(--wk-lightpurple);
  margin: 40px 0 0 0;
}

.form-divider-section {
  width: 450px;
  border: 0;
  height: 1.25px;
  background-color: var(--wk-lightpurple);
  margin: 0 0 15px 0;
}

.form-divider-table {
  width: 100%;
  border: 0;
  height: 1.25px;
  border-top: 1px dashed var(--wk-lightpurple);
  margin: 20px 0 20px 0;
}

/* Login text under the divider */
.login-text {
  text-align: center;
  font-size: 16px;
  color: #333;
}

.login-text a {
  text-decoration: none;
}

.login-text a:hover {
  text-decoration: underline;
}

/* Progress dots - removed due to pathway confusion; can implement with blade partials but leaving alone for now */
/* 
.reg-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateY(-30px);
  }
  
.step-dot {
  width: 35px;
  height: 35px;
  background: #fff;          
  border-radius: 50%;         
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;   
  font-size: 25px;       
  line-height: 1;
  user-select: none;
}
*/

/* Current step: show the “1” in WK purple */
/*
.step-dot.is-current {
  color: var(--wk-darkpurple);
}
*/

/* .reg-card .wk-label is used to style drop down boxes (text above) and is inline on pages where needed */

/** REGISTRATION CHOOSE PROGRAM CLASSES and ID **/



























/** MANAGE USERS **/
.md-text-right {
	text-align: left;
}
@media (min-width: 768px) {
	.md-text-right { text-align: right; }
}

@media (min-width: 768px) {
	.grid-responsive-2 {
		display: grid;
		padding: 5px;
		column-gap: 20px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}



/* Header bar above form */
.form-header {
  background-color: #1770fe; /* Walk Kansas blue */
  color: #fff;
  width: 100%;
  max-width: 600px;
  text-align: center;
  padding: 15px 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.form-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

/* Gray form wrapper */
.form-wrapper {
  background-color: #e4e4e4;
  width: 100%;
  max-width: 600px;
  padding: 30px 40px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Buttons section [JK commented out on 12.5 due to name overlap]
.form-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 40px;
} */

/* Adjust responsiveness */
@media (max-width: 600px) {
  .form-wrapper {
    padding: 20px;
  }

  .form-header,
  .form-wrapper {
    max-width: 90%;
  }

  .form-header h1 {
    font-size: 1.25rem;
  }
}



/** WALL **/
#postbox {
	width: 80%;
	padding: 10px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #000;
	height: calc(75vh - 50px);
	overflow-y: scroll;
}

.postrow {
	width: 65%;
	display: flex;
	gap: 4px;
	margin-bottom: 8px;
}

.postrow.rightside { float: right; text-align: right; flex-direction: row-reverse; }
.postrow.leftside { float: left; text-align: left; }
.postrow.rightside.reply { margin-right: 30px; }
.postrow.leftside.reply { margin-left: 30px; }
.postrow.unread { font-weight: bold; opacity: 1; }
.postrow.read { font-weight: normal; opacity: 0.8; }

.postcontent { text-align: left; padding: 5px; border-radius: 8px; flex-basis: 4; }
.postrow.rightside .postcontent { background-color: #1770fe; color: #fff; }
.postrow.leftside .postcontent { background-color: #e4e4e4; color: #000; }
.postrow.rightside.reply .postcontent { border: 2px solid #1770fe; background-color: #fff; color: #333; }
.postrow.leftside.reply .postcontent { border: 2px solid #e4e4e4; background-color: #fff; color: #333; }
.postside { min-width: 25px; width: 25px; overflow: hidden; }
.postmeta { color: #666; font-weight: normal !important; font-size: 0.8rem; }
#replybar { display: flex; gap: 5px; width: 80%; margin-left: auto; margin-right: auto; border-radius: 8px; }
.replybutt { cursor: pointer; }

/** PARTICIPANT DASH - NEWS/MESSAGES **/
.msgitem { cursor: pointer; }
.msgitem .msginfo { font-weight: 300; font-size: 0.9rem; color: #333; }
.msgitem.unread .contentbox { font-weight: bold; }
.msgitem .contentbox { width: 100px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.msgitem.bigger .contentbox { z-index: 100; width: auto; }

/** PARTICIPANT DASH - TEAM PROGRESS (MAP/WAYPOINT) **/
#progholder { width: 100%; height: 500px; display: flex; gap: 10px;}
#map { width: 100%; height: 100%; }
#progholderright { width: 400px; }




/* =======================================
   MOBILE STYLING
   ======================================= */
/* =======================================
   REGISTRATION P.1 - ABOUT YOU
   ======================================= */

.reg-card [data-flux-label],
.reg-card label {
  color: #3f3f46 !important;  /* approx Tailwind zinc-700 */
}

/* Helper / description text (like ui-description) */
.reg-card .ui-description,
.reg-card ui-description,
.reg-card .text-zinc-500,
.reg-card .text-zinc-600 {
  color: #52525b !important;  /* mid zinc gray */
}

/* REQUIRED badge styling inside reg-card */
.reg-card span.ml-1\.5[aria-hidden="true"] {
  background-color: #e5e5e5 !important;  /* light gray pill */
  color: #52525b !important;             /* dark gray text */
  border-radius: 999px !important;       /* pill shape */
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}




/* =========================
   1) Max-width: 1024px
   Soften desktop / tablet
   ========================= */
@media (max-width: 1024px) {
  .reg-center {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .reg-card {
    width: 100%;
    margin: -64px auto 80px;
    padding: 48px 40px 56px;
  }

  .reg-title {
    font-size: 32px;
    line-height: 1.2;
    transform: translateY(-35px); /* slightly less dramatic */
  }

  .reg-card p {
    font-size: 20px;
    line-height: 1.35;
    text-align: center;
  }

  form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;     /* <— centers all the inputs */
    margin: 0 auto;
  }

  form flux\:input,
  form input[type="text"],
  form input[type="email"],
  form input[type="password"],
  form input[type="tel"],
  .group-select {
    width: 450px;           /* keep your desktop width */
    max-width: 100%;        /* shrink gracefully if needed */
    margin-left: auto;
    margin-right: auto;     /* <— ensures true centering */
    background: white;
  }

  /* Center the divider too */
  .form-divider-topbtm,
  .form-divider-top,
  .form-divider-section {
    margin-left: auto;
    margin-right: auto;
  }

  /* Buttons stay horizontal at 1024, but centered */
  .form-buttons {
    justify-content: center;
  }

  /* Center the “Already have an account” text */
  .login-text {
    text-align: center;
  }
}

/* =========================
   768px – tablet → mobile
   ========================= */
@media (max-width: 768px) {

  .reg-center {
  width: 100%;
    max-width: 600px;
    padding: 0 16px;
  }

  .reg-card {
    margin: -48px auto 64px;
    padding: 40px 24px 48px;
    background: linear-gradient(var(--wk-darkpurple) 0 56px, #f5f5f5 56px 100%);
  }

  .reg-title {
    font-size: 28px;
    line-height: 1.2;
    transform: translateY(-28px);
    text-align: center;
  }

  .reg-card p {
    font-size: 18px;            /* slightly smaller than desktop/tablet */
    line-height: 1.4;
    text-align: center;
    margin-top: 8px;
  }

  /* Form stays centered but tightens width */
  form {
    align-items: center;
    width: 100%;
  }

  form flux\:input,
  form input[type="text"],
  form input[type="email"],
  form input[type="password"],
  form input[type="tel"],
  .group-select {
    width: 420px;          /* a bit narrower than 450 for tablet comfort */
    max-width: 100%;
    margin: 0 0 16px 0;
  }

  /* Dividers also shrink */
  .form-divider-topbtm,
  .form-divider-top {
    width: 100%;
    max-width: 420px;
    margin: 24px auto;
  }

  .form-divider-section {
    width: 100%;
    max-width: 420px;
    margin: 10px auto 18px;
  }

  /* Buttons: still horizontal at 768, but tighten spacing and center fully */
  .form-buttons {
    width: 100%;
    max-width: 420px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }

  .login-text {
    margin-top: 16px;
    font-size: 15px;
    text-align: center;
  }
}


/* =========================
   600px – true mobile
   ========================= */
@media (max-width: 600px) {

  .reg-center {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
    background-image: url('/images/wk-reg-map.png') ;
    background-position: center top;
    background-size: 200% auto;
    background-repeat: no-repeat;
  }

  .reg-card {
    width: 100%;
    margin: 40px auto;
    padding: 28px 25px;
    background: linear-gradient(var(--wk-darkpurple) 0 52px, #f5f5f5 52px 100%);
  }

  .reg-title {
    font-size: 24px;
    line-height: 1.25;
    transform: translateY(-18px);
    text-align: center;
  }

  .reg-card p {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;

  }

  /* Form: full-width, centered column */
  form {
    width: 100%;
    align-items: center;
    background: transparent;
  }

  form flux\:input,
  form input[type="text"],
  form input[type="email"],
  form input[type="password"],
  form input[type="tel"],
  .group-select {
    width: 100%;
    max-width: 100%;
    height: 46px;
    margin: 0 0 18px 0;
    padding: 0 30px;
  }
  
 form input[type="password"] {
   margin-bottom: 8px;
   }

  /* Dividers span full width, tighter spacing */
  .form-divider-topbtm,
  .form-divider-top,
  .form-divider-section {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
  }

  /* Buttons: stacked, full-width */
  .form-buttons {
    width: 60%;
    max-width: 100%;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-grow-right, 
  .btn-grow-right:hover {
  padding-right: 28px; 
}

.btn-grow-right::after,
.btn-grow-right:hover::after {
  right: 45px;                   /* resting position */
}

  .login-text {
    font-size: 14px;
    text-align: center;
    margin: 0;
  }

  /* Alerts: readable on small screens */
  .alert {
    width: 100%;
    max-width: 100%;
    font-size: 13px;
    padding: 10px 10px;
    box-sizing: border-box;
  }
}


