body {
  padding: 0;
  margin: 0;
  height: 100%;
}

/* --- CSS for Loading Spinner Pop-up --- */

#loading-overlay {
  position: fixed; /* Cover the entire screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of all other content */
}

.loading-popup {
  background-color: #fff;
  padding: 30px 50px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loading-popup p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

/* The Spinner Animation */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3836e1;
  border-radius: 50%;
  margin: 0 auto 20px auto; /* Center it and add space below */
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bigwrappies {
  background-color: white;
  margin: auto;
  height: 100vh;
  max-width: 700px;
}

}
.imageCals {
  padding-top: 10px;
  margin: auto;
  margin-bottom: 30px;
  height: 99%;
  width: 99%;
  max-width: 600px;
}
.imageCals img {
  display: block; /* Removes any extra space below the image */
  width: 100%;    /* Makes the image responsive */
  height: auto;   /* Maintains the correct aspect ratio */
}
@media only screen and (max-width: 600px) {
  .imageCals {
    padding-top: 10px;
    margin: auto;
    margin-bottom: 30px;
    width: 99%;
    height: 250%;
    background: none;
  }
}

iframe {
  border: none;
  width: 640px;
  height: 3000px;
}

@media only screen and (max-width: 600px) {
  iframe {
    width: 315px;
    height: 3200px;
    margin: Auto;
    padding: 0px;
    margin-left: 0px;
  }
}
.header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 6500px;
  font-family: helvetica;
  font-size: clamp(10px, 4vw, 60px);
  margin: 0 auto;
  margin-bottom: 3%;
  padding: 30px 0;
  color: #3836e1;
  width: 86%;
}

.header-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(20px, 6vw, 80px);
  height: clamp(20px, 6vw, 80px);
}

#myHeader {
  padding: 0;
  margin: 0;
  max-width: 60%;
  word-wrap: break-word;
  text-align: center;
}

.account-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.account-icon-btn {
  background: none;
  border: 2px solid #3836e1;
  padding: 3.5px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3836e1;
  transition: background-color 0.2s ease;
  width: clamp(20px, 6vw, 60px);
  height: clamp(20px, 6vw, 60px);
}

/* --- SVG icon scale responsively --- */
.account-icon-btn svg {
  width: 2.25em;
  height: 2.25em;
  color: #3836e1;
}

.account-icon-btn:hover,
.account-icon-btn:focus {
  background-color: #fdd317;
  outline: none;
}

#account-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 180px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
}

#account-dropdown-content a {
  color: #3836e1;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: helvetica, sans-serif;
  font-size: 16px;
  cursor: pointer;
}

#account-dropdown-content a:hover {
  background-color: #fdd317;
}

h1 {
  font-family: helvetica;
  font-size: clamp(10px, 8vw, 45px);
  line-clamp: 1;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
  margin-bottom: 3%;
  padding: 0px;
  color: #3836e1;
  text-shadow: -2px -2px 0 white, 2px -2px 0 white, -2px 2px 0 white, 2px 2px 0 white;
  white-space: nowrap;
}

p2 {
  font-family: helvetica;
  font-size: clamp(10px, 3.5vw, 24px);
  font-weight: bold;
  text-align: center;
  margin: 0px;
  margin-top: 5%;
  margin-bottom: 3%;
  padding: 0px;
  color: #3836e1;
  white-space: nowrap;
}

.demwords {
  font-family: helvetica;
  font-size: clamp(10px, 10vw, 80px);
  font-weight: bold;
  margin: 0px;
  margin-top: 5%;
  margin-bottom: 3%;
  padding: 0px;
  color: #3836e1;
}

#thisMonth {
  font-size: clamp(10px 2.1vw 24px);
}

#afterMonth {
  font-size: clamp(10px 2.1vw 24px);
}

#nextMonthcon {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 80%;
  max-width: 600px;
}
#schedule {
  width: 100%;
}

#thisMonthcon {
  margin: 0 auto;
  display: block;
  justify-content: center;
  width: 80%;
  max-width: 600px;
}
#Schedule {
  width: 100%;
}

.print-only {
  display: none !important;
  width: 100%;
  border: 1px solid;
}

#signupChoices {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.7s ease-in-out;
}
.login-container {
  text-align: center;
}

.theformContainer {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: clamp(8px, 4vw, 24px);
  font-family: helvetica;
  color: #3836e1;
  align-items: stretch;
}
/* --- Styles for SEQUENTIAL Sliding Form Animation --- */

#nextSignup.is-hiding-choices #signupChoices {
  max-height: 0;
}

#nextSignup.form-is-visible #signupChoices {
  max-height: 0; /* Keep choices hidden */
}
#nextSignup.form-is-visible #formContainer {
  max-height: 2000px; /* Expand the form */
}

#signupChoices,
#formContainer {
  overflow: hidden;
  /* This transition applies to all state changes */
  transition: max-height 0.8s ease-in-out;
}

/* Initial state (before any classes are added) */
#signupChoices {
  max-height: 2000px; /* Start visible */
}
#formContainer {
  max-height: 0; /* Start hidden */
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.tables {
  margin: 0 auto;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  font-family: helvetica;
  color: #3836e1;
  width: 100%;
  font-size: clamp(8px, 2.3vw, 21px);
  align-items: stretch;
}

.tables2 {
  margin-bottom: 0.5rem;
}
.tables4 {
  margin-bottom: 0.5rem;
}
.form-wrapper {
  display: flex;
  flex-direction: column;
}

.tables3 td {
  background-color: white;
  text-align: center;
  vertical-align: center;
  font-size: clamp(6px, 2.4vw, 21px);
}
.tables4 td {
  text-align: center;
  font-family: helvetica;
  color: #3836e1;
  width: 100%;
  font-size: clamp(10px, 2.2vw, 22px);
}
.tables4 th {
  font-family: helvetica;
}
.tables2 td {
  background-color: #fdd317;
  height: 16px;
  vertical-align: center;
}
.tables1 td {
  background-color: #fdd317;
}

th {
  font-size: clamp(10px, 2.1vw, 18px);
  color: rgb(255, 255, 255);
  margin: 0 auto;
  text-align: center;
  /* border: 1px solid #ccc; */
  padding: 0.25rem;
  vertical-align: top;
  background-color: #3836e1;
}

td {
  /* border: 1px solid #ccc; */
  padding: 0.25rem;
  vertical-align: top;
  text-align: left;
  background-color: #fdd317;
}

.tab-controls-container {
  display: flex;
  flex-direction: column; /* Stack the button groups vertically */
  align-items: center;
  gap: 3%; /* Space between tab group and calendar controls */
  margin-bottom: 10px; /* Add some space below the controls */
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
}

.tab-buttons-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.calendar-controls-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

.buttons.tablinks1 {
  flex: 1;
  margin: 0;
  text-align: center;
  border-radius: 0;
}

.buttons.tablinks1:first-child {
  margin-right: 3%;
}

.calendar-controls {
  display: none;
  width: 100%;
  gap: 5px;
}

#this-month-calendar-controls {
  display: flex;
}

#next-month-calendar-controls {
  display: none;
}
.buttons {
  margin-top: 10px;

  padding: 10px 20px;
  border: 2px solid #3836e1;
  font-size: clamp(12px, 3.5vw, 30px);
  color: #3836e1;
  background-color: #fdd317;
  transition-duration: 0.4s;
  cursor: pointer;
}
.buttons2 {
  flex: 1;
  align: center;
  box-sizing: border-box;
  font-size: clamp(12px, 3.5vw, 30px);
  margin-top: 30px;
  line-height: 1.3;
  text-align: center;
  padding: 5px 12px;
  border: 2px solid #3836e1;
  color: #3836e1;
  background-color: #fdd317;
}
.buttons3 {
  flex: 1;
  align: center;
  box-sizing: border-box;
  font-size: clamp(12px, 2.5vw, 20px);
  line-height: 1.3;
  text-align: center;
  margin-top: 5px;
  margin: 10px;
  padding: 5px 12px;
  border: 2px solid #3836e1;
  color: #fdd317;
  background-color: #3836e1;
}
.buttons4 {
  flex: 1;
  align: center;
  box-sizing: border-box;
  font-size: clamp(12px, 2.5vw, 20px);
  line-height: 1.3;
  text-align: center;
  margin-top: 5px;
  margin: 10px;
  padding: 5px 12px;
  border: 2px solid #3836e1;
  color: #3836e1;
  background-color: #fdd317;
}
.buttons:hover {
  background-color: #e0bb13;
}
.buttons2:hover {
  background-color: #e0bb13;
}
.buttons3:hover {
  background-color: #fdd317;
  color: #3836e1;
}
.buttons4:hover {
  background-color: #3836e1;
  color: #fdd317;
}
.buttons.tablinks1.active {
  background-color: #3836e1;
  color: white;
}

.buttons.calendar-button {
  flex: 1;
  box-sizing: border-box;
  font-size: clamp(12px, 3.5vw, 30px);
  line-height: 1.3;
  text-align: center;
  padding: 5px 12px;
}

#signupButton {
margin-bottom: 30px;
}

.hclubname {
  font-family: helvetica;
  font-size: clamp(10px, 15vw, 112px);
  line-clamp: 1;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
  padding: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  color: #3836e1;
  text-transform: uppercase;
  text-shadow: -2px -2px 0 white, /* Top-left shadow */ 2px -2px 0 white,
    /* Top-right shadow */ -2px 2px 0 white,
    /* Bottom-left shadow */ 2px 2px 0 white; /* Bottom-right shadow */
}

#loginForm {
  font-family: helvetica;
  font-size: clamp(10px, 5vw, 18px);
  font-weight: bold;
  margin: 0px;
  margin-top: 5%;
  margin-bottom: 3%;
  padding: 0px;
  color: #3836e1;
}

.textBox {
  margin: 5px;
}

#rememberMe {
  vertical-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.login-container {
  margin: 0 auto;
  width: 60%;
  max-width: 400px;
  min-width: 200px;
  border: 2px solid #3836e1;
  color: #3836e1;
  background-color: #fdd317;
}

.pwContainer {
  padding: 3%;
  margin: 0 auto;
  width: 60%;
  max-width: 400px;
  min-width: 200px;
  border: 2px solid #3836e1;
  color: #3836e1;
  background-color: #fdd317;
  text-align: center;
}
#changePasswordForm {
  font-family: helvetica;
  font-size: clamp(10px, 5vw, 18px);
  font-weight: bold;
  margin: 0px;
  margin-top: 5%;
  margin-bottom: 3%;
  padding: 0px;
  color: #3836e1;
}
/* --- Styles for Sliding Calendar Animation --- */

.calendar-container {
  overflow: hidden;
  max-height: 2000px;
  transition: max-height 0.7s ease-in-out; /* Animate the height change */
  border: 2px solid #3836e1;
  border-radius: 8px;
  box-sizing: border-box;
}

.calendar-container.hidden {
  max-height: 0;
}

.imageCals {
  padding-top: 10px;
  margin: auto;
  margin-bottom: 30px;
  height: 99%;
  width: 99%;

  /* Animation properties */
  transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out;
  transform: translateY(0); /* Start in the visible position */
  opacity: 1;
}

.calendar-container.hidden .imageCals {
  transform: translateY(-100%);
  opacity: 0;
}
.holderz {
  height: 25vh;
}
/* --- Styles for Cross-Fade Tab Animation --- */
.tabcontent1 {
  transition: opacity 0.4s ease-in-out;
}

body::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

input[type="checkbox"] {
  width: clamp(10px, 1.4vw, 16px);
  height: clamp(10px, 1.4vw, 16px);
  color: #fdd317;
}

/*
    STYLES FOR THE MONTHLY INFO POPUP (MODAL) - WITH FADE-IN ANIMATION
  */

/* 1. The Overlay Background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);

  /* --- ANIMATION SETUP --- */
  display: flex;
  justify-content: center;
  align-items: center;

  visibility: hidden;
  opacity: 0;

  transition: opacity 0.4s ease-in-out, visibility 0.4s;
  /* --- END ANIMATION SETUP --- */

  z-index: 1000;
}

/* 2. The Active/Visible State */
/* We will add this class with JavaScript to trigger the animation */
.popup-overlay.visible {
  visibility: visible;
  opacity: 1;
}

/* 3. The Content Box */
.popup-content {
  background-color: #ffff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 90%;
  width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: #3836e1;

  /* --- Optional: Add a subtle "grow" effect --- */
  transform: scale(0.95);
  transition: transform 0.4s ease-in-out;
}

/* When the overlay is visible, animate the content box to its full size */
.popup-overlay.visible .popup-content {
  transform: scale(1);
}

/* 4. The 'X' Close Button */
.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
}
.popup-close-btn:hover {
  color: #000;
}

/* 5. Clickable Cue for Calendar  */
#imageContainer,
#imageContainer2 {
  cursor: pointer;
}

/*
  NEW: Styles for links within the popup content
*/
.popup-content a {
  color: #d68440;
  text-decoration: underline; /* Makes it clear it's a clickable link */
}

.popup-content a:hover {
  color: #eeb278; 
}

.calendar-action-buttons {
  display: flex;
  justify-content: center;
  gap: 10px; /* Space between the buttons */
  padding-bottom: 15px; /* Space below the buttons */
  margin-top: -30px; /* Pulls buttons up closer to the calendar image */
  max-width: 600px;
  width: 85%;
  /* This ensures the container itself is centered */
  margin-left: auto;
  margin-right: auto;
}

/*
  STYLES FOR THE CUSTOM CONFIRMATION MODAL
*/
.confirm-popup {
  max-width: 450px; /* A bit smaller for a dialog box */
  text-align: center;
}

.confirm-popup h3 {
  margin-top: 0;
  color: #3836e1;
  font-family: helvetica;
}

.confirm-popup p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 15px; /* Space between buttons */
  margin-top: 25px;
}

@media print {


 
  .printing-schedule .tables {
    border-collapse: collapse;
  }
  
  .printing-schedule .tables th,
  .printing-schedule .tables td {
    border: 1px solid #000 !important;
  }

}
