/* Built on 2025-07-08 15:10:02 */

/* --- base.css --- */
/*C:\xampp\htdocs\aeiou\css\main.css */



:root {
  --tabs-content: #b5d8fd;
  --inactive-tabs-content: #8199b2;
  --card-bg: #fcf6ef;
  --primary-blue: #0019ff; /* Logo + CTAs (call-to-action buttons) */
  --primary-hover-blue-dark: #0014cc; /*Slightly darker for button hover/focus */
  --accent-blue-light: #f1f4ff; /* A super light blue for subtle backgrounds */
  --text-dark: #111; /* For headings and primary content */
  --text-light: #fff; /* For white-on-blue contrast */
  --muted-grey: #777; /* For timestamps, secondary content */
  --border-light: #dfe4f5; /* For input borders or separators */
    --danger-red: #a00;
  --soft-danger-bg: #fff8f8;
  --neutral-grey: #ccc;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0 1rem;
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #d0e4f5; /* something that blends well with your image */
  background: url("../images/backgrounds/blue-mountain-sml.webp") no-repeat
    center center fixed;
  background-size: cover;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.5em;
  text-align: center;
}

h1{
  font-size: 2em;
}

h2 {
  font-size: 1.66rem;
}


h2 {
  font-size: 1.66rem;
}



a {
  color: var(--blue);
  text-decoration: none;
}

.errors {
  background: #ffe4e4;
  border: 1px solid #cc0000;
  color: #660000;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.errors ul {
  margin-left: 1rem;
}

main {
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  /* padding: 1rem; */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically if short */
}






/* When the browser is at least 400px and above */
@media screen and (min-width: 400px) {
  body {
    background: url("../images/backgrounds/blue-mountain.webp") no-repeat center
      center fixed;
    background-size: cover;
  }
}






/* --- index.css --- */
h1 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  line-height: 1.4;
}

.cta-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  /* margin: 1rem 0; */
  padding: 0.5rem 1rem;
}

.cta-buttons .btn {
  width: 120px;
  margin: auto;
  margin: 0.5rem;
  padding: 0.5rem 1rem;
}

.cta-buttons .btn:hover {
  border: solid 1px var(--primary-blue);
  background-color: var(--text-light);
  color: var(--primary-blue);
  text-decoration: none;
}

.index-page .feature.highlight {
  margin: 0.5rem 0;
  padding: 0.33rem;
  text-align: center;
}

.index-page .feature.highlight span{
font-size: .85rem;
}


/* When the browser is at least 400px and above */
@media screen and (min-width: 400px) {
  /* .cta-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* ✅ enables line breaking */
    /*justify-content: center;
    align-items: center;
    padding: 0.5rem;
  } */

  .cta-buttons .btn {
    width: auto;
    min-width: 150px;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
  }
}


/* --- buttons.css --- */
.btn {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--primary-hover-blue-dark);
}


.copy-btn {
  margin-left: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.copy-btn:hover {
  background-color: #ddd;
}




/* --- masthead.css --- */
/* C:\xampp\htdocs\aeiou2\css\masthead.css */
/* Shared styles */
.masthead svg,
.masthead-combo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Default logo-only layout */
.masthead {
  text-align: center;
  padding: 1rem;
}

.masthead svg {
  max-width: 160px;
  margin: 0 auto;
}

/* Combo layout with logo + heading */
.masthead-combo {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.25rem 1rem;
  max-width: 500px;
  margin: 1rem auto;
  padding: 0 1rem;
  position: relative;
}

.masthead-combo .masthead-logo svg {
  min-width: 150px;
  max-width: 160px;
}

.masthead-text {
  align-self: center;
}

.masthead-text h1 {
  color: #fff;
  font-size: 1.4rem;
  margin: 0;
  line-height: 1;
}

.back-arrow-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
}

.back-arrow-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.back-arrow-icon:hover {
  opacity: 1;
}

.email-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.email-icon {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.email-icon:hover {
  opacity: 1;
}






/* When the browser is at least 400px and above */
@media screen and (min-width: 400px) {
.masthead-combo .masthead-logo svg {
  min-width: 200px;
}
}


/* --- layout.css --- */
/* Make .tagline ignore the vertical centering */
.tagline {
  font-family: "Comic Sans MS", "Segoe UI", "Brush Script MT", cursive;
  font-style: italic;
  font-size: 1.25rem;
  text-align: center;
  /* margin-bottom: 4rem; or adjust for layout */
  font-weight: normal;
  color: var(--text-dark);
}

/* .dashboard-header{
  padding-top: 0.5rem;
  margin-bottom: auto;
} */
.dashboard-header h1{
  font-size: 1.5rem;
  margin-bottom: 0;
}
.today-panel h2{
  font-size: 1.33rem;
}

main.dashboard-page {
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}


main.dashboard-page .tool-links,
main.dashboard-page .today-panel{
  flex: 1;
  /* width: 70%; */
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.main.dashboard-page btn{
  width: 70%;
}

.shared p{
  text-align: center;
  /* border: solid 1px var(--primary-blue); */
    background-color: var( --accent-blue-light);
}


/* On larger screens, remove that auto margin */
@media screen and (min-width: 768px) {
  .tagline {
    margin-bottom: 3rem; /* Or whatever spacing feels right */
  }
}



.sponsor-status {
  border: 1px solid var(--primary-blue);
  background-color: var(--accent-blue-light);
  padding: 0.5rem ;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}



.sponsor-status p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.share-box {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.share-input {
  width: 100%;
  height: 3rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #fff;
  resize: none; /* Optional: prevent user from resizing */
  word-break: break-all;
  overflow-wrap: break-word;
}


.copy-btn {
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-btn:hover {
  background-color: #0033cc; /* slightly darker shade */
}

 
.site-footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-grey);
}

.site-footer nav a {
  color: var(--primary-blue);
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-footer nav a:hover {
  text-decoration: underline;
}



.journal-edit-page .sponsor-seen-banner{
  margin-top: 0.5rem;
  font-size: .85rem;
  font-weight: 500;
  /* color: red; */
  background-color: #ffffff;
}

/* --- forms.css --- */
.honeypot {
  display: none;
  position: absolute;
  left: -9999px;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.form-wrapper {
  width: 100%;
  max-width: 400px;
  margin: auto; /* center vertically & horizontally */
  background-color: var(--accent-blue-light);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-wrapper form{
  padding: 0.5rem;
}


.form-wrapper h1{
  font-size: 2rem;
  text-align: center;
  color: var(--primary-blue);
  padding: 0;
  margin: 0;
}

.form-wrapper label {
  display: block;
  margin-top: 0.5rem;
  font-weight: 600;
}

.form-wrapper input[type="text"],
#mood_label,
.form-wrapper input[type="email"],
.form-wrapper input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 1rem;
}

.form-wrapper button[type="submit"] {
  margin-top: 2rem;
  width: 100%;
}

.form-wrapper .same-row{
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.66rem;
}

.form-wrapper .same-row .btn{
    background-color: var(--text-light);
  color: var(--primary-blue);
  border: solid 1px var(--primary-blue);
  /* padding: 0.25rem; */
    font-size: 0.8rem;
    padding: 0.25rem;

}

.form-wrapper .same-row .btn:hover{
    background-color: var(--primary-blue);
  color: var(--text-light);
  border: none;
}
.checkbox-wrap {
  display: flex;
  align-items: center;
  line-height: 1; /* ✅ makes alignment cleaner */
}

.checkbox-wrap input[type="checkbox"] {
  
  margin: 0;
  margin-right: 0.5rem;
  transform: translateY(1px); /* ✅ nudges checkbox into perfect alignment */
}

.checkbox-wrap input[type="checkbox"] {
  transform: scale(1.4); /* or try 1.5 for bigger */
  margin-right: 0.5rem;
  accent-color: var(--primary-blue); /* modern browsers support this */
}


.checkbox-wrap label {
  margin: 0;
  font-size: 0.9rem;
}

.checkbox-wrap {
  white-space: nowrap;
}


.same-row.no-account{
  margin: 1rem;
  display: flex;
  gap: 0.25rem; 
  align-items: center;
  justify-content:flex-end;
  font-style: italic;
  font-size: .9rem;
}


.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input[type="password"],
.password-wrap input[type="text"] {
  flex: 1;
  padding-right: 2.5rem; /* space for the icon */
}

.toggle-password {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.toggle-password img {
  width: 24px;
  height: 24px;
}





/* --- tabs.css --- */
/* tabs.css – Journal tabbed interface */

.journal-tabs {
  font-family: system-ui, sans-serif;
  max-width: 600px;
  margin: 1rem 0;
  box-sizing: border-box;
}

.tab-labels {
  display: flex;
  width: 100%;
}

.tab-labels label {
  flex: 1;
  text-align: center;
  padding: 12px 2px;
  background: var( --primary-blue);
  color: #ffffff;
  border-right: 1px solid #ccc;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 8px 8px 0 0;
}

.tab-labels label:last-child {
  border-right: none;
}

.tab-labels label span {
  display: none;
  font-weight: normal;
}

.journal-tabs input[type="radio"] {
  display: none;
}

#tab-a:checked ~ .tab-labels label[for="tab-a"],
#tab-e:checked ~ .tab-labels label[for="tab-e"],
#tab-i:checked ~ .tab-labels label[for="tab-i"],
#tab-o:checked ~ .tab-labels label[for="tab-o"],
#tab-u:checked ~ .tab-labels label[for="tab-u"],
#tab-b:checked ~ .tab-labels label[for="tab-b"] {
  flex: none;
  font-weight: bold;
  background: var(--tabs-content);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  color: #000;
}

#tab-a:checked ~ .tab-labels label[for="tab-a"] span,
#tab-e:checked ~ .tab-labels label[for="tab-e"] span,
#tab-i:checked ~ .tab-labels label[for="tab-i"] span,
#tab-o:checked ~ .tab-labels label[for="tab-o"] span,
#tab-u:checked ~ .tab-labels label[for="tab-u"] span,
#tab-b:checked ~ .tab-labels label[for="tab-b"] span {
  display: inline;
}

.tab-content {
  display: none;
  padding: 0.25rem;
  background: var(--tabs-content);
  border-top: none;
}

#tab-a:checked ~ #content-a,
#tab-e:checked ~ #content-e,
#tab-i:checked ~ #content-i,
#tab-o:checked ~ #content-o,
#tab-u:checked ~ #content-u,
#tab-b:checked ~ #content-b {
  display: block;
}

textarea {
  font-family: inherit;
  margin-top: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 130px;
  font-size: 1rem;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  resize: none;

}


/* --- mood.css --- */
/* mood.css – Mood rating slider, mood word, and description */

.mood-scale {
  /* margin: 2rem 1rem; */
  text-align: center;
}

.mood-heading {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  text-align: left;
}

.mood-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 400px;
  margin: .5rem auto;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  width: 90%;
}

.mood-emoji {
  font-size: 1.5rem;
}

.range-wrapper {
  position: relative;
  flex: 1;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--logo-blue);
}

.range-value {
  position: absolute;
  top: -1.5em;
  transform: translateX(-50%);
  font-size: 0.7rem;
  opacity: 0.9;
  pointer-events: none;
}

.mood-extra {
  margin: 0 0.5rem;
}

.mood-word label,
.mood-scale label {
  display: block;
  margin-top: 0.5rem;
  font-weight: 400;
  font-style: italic;
}

fieldset{
  border: solid 1px var( --muted-grey);
}

legend{
  margin-left: 0.5rem;
  font-weight: 500;
  padding: 0 .25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --- list.css --- */
/* C:\xampp\htdocs\aeiou\css\list.css */

.journal-list-page {
  padding: 1rem 0;
  /* background-color: var(--accent-blue-light); */
  width: 100%;
  max-width: 400px;
}

#entry-container{
  width: 100%;
}

.journal-card {
    width: 100%;
  box-sizing: border-box; /* ✅ Ensures padding/border don't overflow */
  /*margin: 0 0 1.5rem 0;   /* Optional: reset margin for consistency */
  /* min-width: 90%;
  margin: 0 0.5rem; */
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 0.5rem;
  border-radius: 8px;
  /*margin-bottom: 1.5rem;*/
  box-shadow: 0 2px 4px rgba(0,0,0,0.095);
}

.journal-list-page .journal-card{
  margin: 0 0 1.5rem 0;   /* Optional: reset margin for consistency */


}



.journal-card h2 {
  margin: 0;
  font-size: 1.1rem;
  color: var(  --primary-blue);
  font-weight: 500;
}

.entry-sections {
  width: 100%;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.entry-sections li {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.125rem 0;
  border-bottom: 1px dashed #eee;
}

.entry-sections li:last-child {
  border-bottom: none;
}

.field-initial {
  display: inline-block;
  width: 2.5em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  text-align: center;
}

.blank-field {
  color: #363636;
  font-style: italic;
  letter-spacing: 0.5px;
}

.journal-card p {
  text-align: right;
  margin: 0;
  color: var(--logo-blue);
  font-size: 0.9rem;
}

#load-more-wrapper {
  text-align: center;
  margin: 2rem 0;
}

#load-more-btn {
  padding: 0.5rem 1.5rem;
  background-color: var(--primary-blue);
  color: #fff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}





.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  background-color: var(--logo-blue);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 999;
  display: none; /* hidden until scroll */
}

.back-to-top img {
  width: 100%;
  height: 100%;
}



/* --- explain.css --- */
.explain-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  /* background-color: var(--accent-blue-light); */
  border-radius: 0.5rem;
  line-height: 1.6;
}

.explain-page h1{
  font-size: 1.25rem;
  /* font-family: "Comic Sans MS", "Segoe UI", "Brush Script MT", cursive; */
}

.explain-page h1,
.explain-page h2 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.explain-page .intro h2 span{
  color: black;
  font-family: "Comic Sans MS", "Segoe UI", "Brush Script MT", cursive; 
}


.explain-page ul,
.explain-page ol {
  padding-left: 1.1rem;
  margin-bottom: 1.5rem;
}

.explain-page ul{
  list-style-type: none;

}


.explain-page li {
  margin-bottom: 0.5rem;
}

.explain-page p{
  margin-bottom: 0.25rem;
}

.intro p:last-of-type {
  text-align: center;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 1rem;

}

.explain-page ul li span{
  color: var(--primary-blue);
  font-weight: 500;
}




.feature.highlight {
  background-color: #fff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary-blue);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.feature.highlight h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

.feature.highlight p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature.highlight strong {
  color: #222;
}

.feature.highlight em {
  color: var(--logo-blue);
}



/* --- utilities.css --- */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 80px;
  background-color: var(--primary-hover-blue-dark);
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  position: absolute;
  z-index: 2;
  bottom: 100%; /* above the button */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.85rem;
  pointer-events: none; /* prevent hover conflicts */
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%; /* below the tooltip box */
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: var(--primary-hover-blue-dark) transparent transparent transparent;
}

.tooltip:focus-within .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.same-row{
  display: flex;
  /* gap: 0.5rem; */
  align-items: center;
  justify-content: space-between;
}


.about-page span{
  display: block;
  font-weight: 500;
  font-size: .85rem;
  font-style: italic;
}

.error-page{
  text-align: center;
    display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.error-page a{
  color: var(--primary-hover-blue-dark);
  text-decoration: underline;
}

.error-page h2{
  color: var(--primary-blue);
  font-size: 1.25rem;
}

/* --- admin.css --- */
.admin-dashboard {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1rem;
  background: var(--accent-blue-light);
  border-radius: 8px;
  font-size: 0.95rem;
}

.admin-dashboard h1,
.admin-dashboard h2 {
  text-align: center;
  color: var(--primary-blue);
}

.stats-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.stats-section th, .stats-section td {
  border: 1px solid var(--border-light);
  padding: 0.5rem;
  text-align: left;
}


/* --- profile.css --- */
:root {
  --danger-red: #a00;
  --soft-danger-bg: #fff8f8;
  --neutral-grey: #ccc;
}

.profile-page {
  max-width: 500px;
  margin: 0 auto;
}

.profile-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.profile-block.danger {
  border-left: 4px solid red;
  background-color: var(--soft-danger-bg);
}

.profile-block h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--primary-blue);
  font-weight: 600;
}

.profile-block label {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.profile-info-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 0.5rem;
  column-gap: 1rem;
  font-size: 0.95rem;
  max-width: 350px;
  margin: auto;
}

.profile-info-grid .label {
  color: var(--primary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

#reset-username p,
#reset-email p,
#reset-pword p,
#print-entries p,
#delete-entries p  {
  text-align: center;
  font-style: italic;
}

.username_update_error,
.email_change_message {
  color: var(--danger-red);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

#reset-email input[type="email"],
.profile-page input[type="text"] {
  border: 1px solid var(--neutral-grey);
  background-color: var(--text-light);
  width: 100%;
  padding: 0.4rem;
  margin-left: 0.25rem;
}

.view-print-entries{
  display: flex;
    column-gap: 1rem;

}
.start-date{
  display: flex;
  flex-direction: column;
}

input[type="date"] {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.4rem 0.25rem;
  border: 1px solid var(--neutral-grey);
  border-radius: 6px;
  background-color: var(--text-light);
  width: 100%;
  max-width: 135px;
}

#reset-email .btn,
#reset-username .btn,
#reset-pword .btn,
#print-entries .btn,
#delete-entries .btn {
  margin: 1rem auto 0 auto;
  width: 50%;
  display: block;
  /* margin-bottom: 0; */
}




.delete-acc,
.delete-acc form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  gap: 1rem;
}

.delete-acc form input {
  background-color: var(--danger-red);
  border: none;
  border-radius: 6px;
  padding: 0.5rem;
  color: #fff;
  font-size: 1.1rem;
}

.delete-acc form input:focus {
  outline: 2px solid #fff;
}


.delete-acc form .pword-box{
  display: flex;
  flex-direction: column;
}

.delete-acc form input::placeholder{
  color: #fff;
    font-size: 1.1rem;

}
.delete-acc form label{
  padding-bottom: 0.25rem;
}



/* --- contact.css --- */
.user-contact .feature.highlight{
  border: none;
  padding: 0;
}

.user-contact p{
  width: 85%;
  margin: 0 auto;
text-align: center;

}

.contact-form{
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.contact-form label{
  color: var( --primary-blue);
}

.contact-form h1{
font-size: 1.6rem;
}

.user-contact .form-wrapper button[type="submit"] {
  width: 60%;
  margin: 1rem auto;
}

@media screen and (min-width: 500px) {


.user-contact .form-wrapper form{
  padding: 1rem;
}

}

/* --- _review_date_picker.css --- */
main.review-stats-page {
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;

  /* Optional tweaks when using sticky children */
  gap: 1rem;
  padding-top: 1rem; /* breathing space for sticky */
}

.review-date-picker {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var( --accent-blue-light); /* ensure it's not see-through */
  padding: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* optional: to give that “lift” look */
  border-radius: 0.25rem;
}


legend{
  text-align: center;
  font-weight: 400;
  padding: 0 .5rem;
}


/* .date-range-form fieldset {
  border: none;
  border: solid 1px blue;
  border-radius: 4px 4px 0 0;
  padding: 8px 2px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr min-content;
  grid-template-rows: auto auto;
  gap: 0.25rem 0.66rem;
  align-items: center;
  justify-items: start;
} */

.date-range-form fieldset {
  all: unset; /* Optional: completely resets fieldset, including border */
  display: grid;
  grid-template-columns: 1fr 1fr min-content;
  grid-template-rows: auto auto;
  gap: 0.25rem 0.25rem;
  align-items: center;
  justify-items: start;
  width: 100%;       /* ✅ Make it match the form */
  box-sizing: border-box; /* ✅ Ensure padding/border don't overflow */
  padding: 8px 2px;
  border: 1px solid blue;
  border-radius: 4px 4px 0 0;
}

  .date-range-form input[type="date"] {
  width: 100px;
  }


.date-range-form label:nth-of-type(1) {
  grid-column: 1;
  grid-row: 1;
}

.date-range-form label:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.date-range-form label {
  justify-self: center;    /* Center label in its column */
  align-self: end;         /* Align label to bottom of grid cell */
  margin-bottom: -0.25rem; /* Pull it a little closer to the input */
  font-weight: 500;
}

.date-range-form input[type="date"]:nth-of-type(1) {
  grid-column: 1;
  grid-row: 2;
}

.date-range-form input[type="date"]:nth-of-type(2) {
  grid-column: 2;
  grid-row: 2;
}

.date-range-form button {
  grid-column: 3;
  grid-row: 1 / span 2; /* spans both rows */
  align-self: center;
  justify-self: center;
}

.date-range-form button.btn {
    padding: 0.25rem 0.5rem;

}


@media screen and (min-width: 500px) {
  .date-range-form fieldset {
    grid-template-columns: auto auto auto; /* Label+Input pairs and button */
    grid-template-rows: auto;              /* Just one row */
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .date-range-form label {
    margin-bottom: 0;
    align-self: center;
    justify-self: start;
    margin-right: 0.25rem;
  }

  .date-range-form input[type="date"] {
    width: auto;
  }

  /* Group label and input inline using flex */
  .date-range-form .date-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  /* Adjust button alignment */
  .date-range-form button {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    justify-self: end;
  }
}


/* --- _review_line_chart.css --- */
/* C:\xampp\htdocs\aeiou2\css\_review_line_chart.css */

.chart-box {
  background-color: var(--accent-blue-light);
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin: 1rem auto;
  max-width: 600px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chart-box canvas {
  width: 100%;
  height: auto;
  min-height: 120px;
  display: block;
}

.range-label,
.avg-label {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

@media screen and (min-width: 500px) {
  .chart-box {
    padding: 1rem;
    margin: 1rem 0;
  }

  .chart-box canvas {
    height: 160px;
  }
} 


/* --- _review_bar_chart.css --- */

.bar-chart-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0  1rem;
  margin-bottom: .5rem;

}

.bar-chart-section{
    background-color: var(--accent-blue-light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  max-width: 500px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    min-height: 60px; /* ✅ Ensures it's visible even before bars load */
}

.bar-chart-section p{
padding-bottom: .5rem;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.bar-label {
  width: 80px;
  margin-right: 0.25rem;
  flex-shrink: 0;
  color: var( --primary-blue);
}

.bar-wrapper {
  flex: 1;
  position: relative;
  height: 1rem;
  border-radius: 4px;
  overflow: visible;
}

.bar-fill {
  background-color: #4caf50;
  height: 100%;
  border-radius: 4px;
  position: relative;
  transition: width 0.3s ease;
}

.bar-value {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 0.25rem);
  white-space: nowrap;
  font-size: 0.9rem;
  color: #333;
}

/* --- _review_word_summary.css --- */

/* C:\xampp\htdocs\aeiou2\css\_review_word_summary.css */
.keyword-summary {
  margin: 2rem auto;
  padding: 0 1rem;
  width: 100%;
  max-width: 500px;
  text-align: center;
  /* border: solid 2px red; */
  background-color: var(--accent-blue-light);
  min-height: 220px; /* or whatever approx. height your list usually takes */
  transition: opacity 0.3s ease-in;
}

.keyword-summary p {
  text-align: left;
}
  

.keyword-list-2col {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  max-width: 500px;
  column-count: 2;
  column-gap: 1.5rem;
}

.keyword-list-2col li {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}


.keyword-list a {
  text-decoration: none;
  /* color: var(--logo-blue); */
  font-weight: 500;
}

.keyword-list a:hover {
  text-decoration: underline;
}





/* --- _review_search_form.css --- */

.search-form-grid {
  padding: 0.5rem;
  background: var(--accent-blue-light);
  border-radius: 0.5rem;
}

.search-form-grid fieldset {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "srch-label usr-input usr-input"
    "section-label sel-section run-srch";
  gap: 0.5rem 0.75rem;
  border: none;
  align-items: center;
}

/* Grid areas */
label[for="filter"] {
  grid-area: srch-label;
}
label[for="section"] {
  grid-area: section-label;
}
#filter {
  grid-area: usr-input;
}
#section {
  grid-area: sel-section;
}
.search-form-grid button.btn {
  grid-area: run-srch;
  align-self: stretch;
  justify-self: stretch;
  padding: 0.25rem 0.5rem;
}

/* Mobile label styles */
.search-form-grid label {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* Responsive tweaks for larger screens */
@media screen and (min-width: 500px) {
  .search-form-grid fieldset {
    grid-template-columns: auto auto auto;
    grid-template-areas:
      "srch-label section-label run-srch"
      "usr-input sel-section run-srch";
  }

  .search-form-grid label {
    text-align: right;
    align-self: center;
    padding-right: 0.25rem;
  }

  #filter, #section {
    width: 100%;
  }

  .search-form-grid button.btn {
    align-self: center;
    justify-self: end;
  }
}


/* --- _review_search_results.css --- */
/* --- _review_search_results.css --- */

/* #search-results, .search-result{
  min-height: 60px;
} */


.search-results {
  background-color: var(--accent-blue-light);
  padding: 1rem 0.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  max-width: 500px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease-in-out;
}

.search-results h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.entry-snippets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result {
  border: 1px solid var(--border-light);
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.search-result:hover {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

.expand-entry {
  all: unset;
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
  background-color: var( --card-bg);

}

.expand-entry em {
  font-style: normal;
  color: #444;
}

.expanded-entry {
  padding: 0;
  font-size: 0.9rem;
  color: #333;
  /* min-height: 100px; or whatever your average card height is */

}


.expand-entry {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.expand-entry .toggle-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.expand-entry:hover .toggle-icon {
  opacity: 1;
}


.search-results small {
  display: block;
  text-align: center;
  margin-top: 1rem;
  color: var(--muted-grey);
}



.search-results.placeholder {
  background-color: var(--accent-blue-light);
  border: dashed 2px red;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  max-width: 500px;
  margin: 1rem auto;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-results.placeholder p {
  /* color: var(--muted-grey); */
  font-size: 1rem;
}


/* --- goodbye.css --- */
.goodbye-page h1{
font-size: 1.5rem;
line-height: 1.4;
color: var(--danger-red);
}

.goodbye-page p{
  text-align: center;
font-size: 1.2rem;
line-height: 1.4;
columns: #000;
}



/* --- subject.css --- */
.topics h1 {
  font-size: 2rem;
  padding: 0.5rem 0;
  color: #fff;
  margin: 0;
}
.topics h2 {
  font-size: 1.25rem;
  /* padding: 0.5rem 0; */
  color: var(--primary-blue);
}

.topics h3,
h4 {
  font-size: 1.1rem;
  text-align: center;
  /* margin-bottom: 4rem; or adjust for layout */
  font-weight: normal;
  color: var(--text-dark);
  padding-top: 0.5rem;
  margin: 0;
}

h3.error {
  color: red;
}

.topics h4 {
  font-size: 1.1rem;
}

.topics .form-wrapper {
  flex: 0;
}

.topics .form-wrapper label {
  color: var(--primary-blue);
  font-size: 0.9rem;
  line-height: 0.9;
}

.topics form .wk_present {
  color: #333;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
}

.topics form p {
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
}

.wk_yes_no {
  padding: 0.25rem 0;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.admin-section {
  max-width: 800px;
  width: 800px;
  background-color: var(--accent-blue-light);
}

.admin-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.admin-section th,
.admin-section td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
}

.admin-section input[type="text"] {
  width: 100%;
  min-height: 3em; /* taller input */
  font-size: 1em;
  padding: 0.5em;
}

.admin-section button {
  padding: 8px 12px;
  font-size: 1em;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.admin-section button:hover {
  background: #004c99;
}

.admin-section textarea {
  font-size: 1em;
  padding: 0.5em;
  width: 100%;
  resize: vertical;
}

.suggestion-card.selected {
  border: 3px solid #0077cc;
  background-color: #eef7ff;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.suggestion-card {
  border: 1px solid #ccc;
  padding: 0.33rem 0.5rem;
  cursor: pointer;
  background-color: #fff;
  transition: all 0.2s ease;
  border-radius: 5px;
}

.suggestion-card:hover {
  background-color: #f9f9f9;
}

.suggestion-card.selected {
  background-color: var(--primary-blue);
  color: #fff;
}

.suggestion-card h3 {
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
}

#counter {
  margin-top: 1rem;
  font-weight: bold;
}

.category-section h2 {
  font-size: 1.5rem;
}
.category-section {
  background-color: aqua;
  padding: 0.25rem;
  margin-bottom: 1rem;
}

.category-section:nth-of-type(odd) {
  background-color: #e0f7fa; /* light aqua/blue */
}

.category-section:nth-of-type(even) {
  background-color: #f1f8e9; /* light green */
}


.sticky-counter {
  position: sticky;
  bottom: 0;
  background-color: rgb(253, 228, 195);
  padding: 1rem;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}


.sticky-counter #counter {
  margin: 0;
  font-weight: 500;
  color: var(--primary-blue);
}

.sticky-counter .btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.sticky-counter .btn.disabled {
  background-color: #797979 !important;
  color: #ccc;
  pointer-events: none;
  cursor: not-allowed;
}

.vote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.vote-table th,
.vote-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
}
.vote-table select {
  width: 100%;
  padding: 0.25rem;
}

.vote-section .error {
  text-align: center;
  background-color: #fff;
  color: var(--primary-blue);
  font-size: 0.9rem;
  padding: 0.25rem 1.5rem;
  margin: 0.5rem;
  font-weight: bold;
  border-radius: 0.5rem;
  border: solid 2px red;
  /* margin: 0.5rem; */
}

.rank_intro {
  background-color: var(--accent-blue-light);
  padding: 0.25rem;
}
.rank_user_name {
  text-align: center;
}

.rank_votes {
  background-color: var(--accent-blue-light);
}

.rank_votes .btn {
  text-align: center;
  margin: 0 auto;
}

.vote-thanks {
  background-color: var(--accent-blue-light);
  padding: 2rem;
  text-align: center;
}
.vote-thanks h2 {
  color: var(--primary-blue);
}
.vote-thanks p {
  font-size: 1.1rem;
  padding: 0.5rem 0;
}



.welcome{
  background-color: rgb(253, 228, 195);
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.welcome h2{
  font-size: 1.4rem;
  text-align: center;
}

.welcome p{
  padding-bottom: 0.5rem;
}


.voters-list, .vote-results{
      background-color: #ffffff;
      padding: 4px;
      border-collapse: separate;
  border-spacing: 0 12px; /* horizontal, vertical spacing */
}
}