@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    margin: 0; 
    padding: 0;
    background-color: white;
    font-family: 'Inter', sans-serif;
}

/* Header with background image */
.header {
    padding: clamp(60px, 12vw, 100px) 20px; /* scales header height for smaller screens */
    color: white;
    background-color: rgb(0, 0, 0);
    background-image: url("images/Backgroud.png");
    background-size: cover;
    background-position: center; /* centers the background image */
    text-align: center;
    font-size: clamp(26px, 2.8vw, 44px);
    box-sizing: border-box; /* includes padding in size calculations */
}

.header h1 {
    margin: 0; /* removes default margin so header sizing works smoothly */
    font-weight: 700;
}

/* Nav bar with centered buttons */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 0px 20px;
    flex-wrap: wrap;
    background-color: rgb(141, 13, 24);
}

#adminPageBtn{
    display: none;
}
#logout{
    display: none;
}

/* customizes the individual buttons in the nav bar */
.button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 20px clamp(14px, 3vw, 20px);
    background-color: transparent;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.6vw, 20px);
    color: white;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

/* hover animation */
.button:hover {
    background-color: white; color:rgb(141, 13, 24);
}

/* Provide a mobile-friendly layout for the rankings cards */
.rankings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 4vw, 24px);
    padding: clamp(16px, 5vw, 32px) clamp(12px, 5vw, 32px);
    align-items: stretch;
}

.rankingsBox:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* ranking title card header */
.rankingTitle {
    background: rgb(141, 13, 24);
    color: #ffffff;
    margin: 0;
    padding: 16px 20px;
    text-align: center;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 750;
    letter-spacing: 0.3px;
}

/* Inner list area reuses same background */
.topTenList{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    padding: 12px 16px 16px;
}

/* sets the style for ranking 1-3 */
.topThree{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;  /* Adds space between images and text */
    color: black;
    width: 100%;
    font-size: clamp(16px, 1.6vw, 18px);
    text-align: center;
    padding: 10px 6px;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
}

/* adds restrictions to the graphics 1-3 rank*/
.trophy{
    max-height: 35px;
    max-width: 35px;
}

#firstLTwo{
    color: goldenrod;
    font-weight: 520;
}
#firstLThree{
    color: goldenrod;
    font-weight: 520;
}
#secondLTwo{
    color: rgb(171, 167, 175);
    font-weight: 520;
}
#secondLThree{
    color: rgb(171, 167, 175);
    font-weight: 520;
}
#thirdLTwo{
    color: #a5581d;
    font-weight: 520;
}
#thirdLThree{
    color: #a5581d;
    font-weight: 520;
}

/* --- end of rankingsBox --- */

/* Rankings - cohesive redesign */
.rankings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px 2vw;
    align-items: stretch;
}

.rankingsBox {
    margin: 0; /* override old margins */
    width: auto; /* let grid handle sizing */
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #efefef;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Title aligns with your brand colors (Inter + signature red) */
.rankingTitle {
    background: rgb(141, 13, 24);
    color: #ffffff;
    padding: 16px 20px;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: 0.3px;
}

/* Remove old underline, card already has separation */
.rankingTitle::after {
    display: none;
}

/* Remove bottom red line from the box */
.rankingsBox::after {
    display: none;
}

/* Inner list area */
.topTenList {
    background: #ffffff;
    padding: 12px 16px 16px;
}

.topThree {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 6px;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
}

.topThree:nth-child(odd) {
    background: #fafafa;
}

.topThree:last-child {
    border-bottom: none;
}

.trophy {
    width: 28px;
    height: 28px;
    max-width: 28px; /* override previous */
    max-height: 28px; /* override previous */
    object-fit: contain;
    opacity: 0.95;
}

.topThree p {
    margin: 0;
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: clamp(16px, 1.6vw, 18px);
    color: #222;
}

/* Medal colors (override any ID-based colors consistently) */
.topTenList .topThree:nth-child(1) p { color: #d4af37 !important; } /* gold */
.topTenList .topThree:nth-child(2) p { color: #aeb2b8 !important; } /* silver */
.topTenList .topThree:nth-child(3) p { color: #b87333 !important; } /* bronze */

@media (max-width: 768px) {
    .trophy { width: 24px; height: 24px; }
    .rankings { gap: 16px; padding: 16px 4vw; }
}


/* this is the overaching flex box for the following ellements
--- END CALENDAR will mark the end of this! */
.schedule {
    display: flex; /* fixed from 'flexbox' */
    flex-direction: column;
    margin: 2vw;
    background-color: white;
}

/* existing per-line rules (keep if present) */
.event-line {
  font-size: 0.9rem;
}

/* Proposed change: make the whole title line bold */
.event-line--title {
  font-weight: 700;
  line-height: 1.5;
}


/* this is the title box for the calendar */
.calendarTitle {
    background-color: rgb(141, 13, 24);
    font-size: 35px;
    color: white;
    margin-left: 2vw;
    margin-right: 2vw;
    margin-bottom: -29px;
    text-align: center;
    background-image: url("images/whiteboard.png");
    background-size: cover;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

/* -- creates a column that can be 
resized to fit nicely beside the calendar -- */
/* --- basic information box -- */
.description {
    height: 8vw;
    width: 8vw;
    padding: 1vw;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 1.5vw;
    color: white;
    background-color: rgba(141, 13, 24, 0.9);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); /* subtle neutral shadow */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.description:hover {
    background-color: rgba(141, 13, 24, 1); /* solid color on hover */
    transform: scale(1.02); /* subtle zoom */
}

/*-- the calendar --*/
.calendar {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    overflow: scroll;
    position: relative;
    margin-left: 2%;
    width: 96%;
    height: 97vh;
    background-color: rgb(237, 237, 237);
    color: rgb(141, 13, 24);
}

.Cheader {
    /* makes space between header items */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0.75vw;
    background-color: transparent; /* removed gray background */
    border-bottom: 2px solid rgb(141, 13, 24); /* sleek red underline */
}

#month-year {
    font-weight: 700;
    font-size: 26px;
    color: rgb(141, 13, 24);
    user-select: none;
    font-family: 'Inter', sans-serif;
}

.view-toggle {
  display: flex;             
  justify-content: center;
  gap: 8px;
  padding: 0 12px 12px;
}

.view-toggle__btn {
    border: 1px solid rgb(141, 13, 24);
    background-color: #ffffff;
    color: rgb(141, 13, 24);
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.view-toggle__btn:hover {
    background-color: rgba(141, 13, 24, 0.1);
}

.view-toggle__btn.is-active {
    background-color: rgb(141, 13, 24);
    color: #ffffff;
}

.btn {
    cursor: pointer;
}

.arrow {
  position: relative;
  height: 25px;
  width: 25px;
  background-color: rgb(141, 13, 24);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.arrow:hover {
  background-color: rgb(179, 3, 21);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.442);;
}

/* Container for animation */
.arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrow shape */
.arrow i {
  display: block;
  height: 5px;
  width: 5px;
  border-top: 3px solid white;
  border-left: 3px solid white;
}

/* Left arrow */
.arrow.left i {
  transform: rotate(315deg); /* pointing left */
}

/* Right arrow */
.arrow.right i {
  transform: rotate(135deg); /* pointing right */
}

/* LEFT arrow animation */
.arrow.left:hover .arrow-container {
  animation: slideLeft 0.6s ease-in-out forwards;
}

/* RIGHT arrow animation */
.arrow.right:hover .arrow-container {
  animation: slideRight 0.6s ease-in-out forwards;
}

/* Slide left then re-enter from right */
@keyframes slideLeft {
  0%   { transform: translateX(0); opacity: 1; }
  30%  { transform: translateX(-40px); opacity: 0; }
  60%  { transform: translateX(40px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Slide right then re-enter from left */
@keyframes slideRight {
  0%   { transform: translateX(0); opacity: 1; }
  30%  { transform: translateX(40px); opacity: 0; }
  60%  { transform: translateX(-40px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.weekdays,
.days {
    display: flex;
    font-weight: 500;
    flex-wrap: wrap; /* Wraps to new lines if needed */
    gap: 4px;
    margin: 0.75vw;
}

.dayName {
    width: 14.006%; /* Equal width for all cells */
    text-align: center;
    align-items: start;
    border-radius: 5px;
    padding-top: 1px;
}

.days {
    /* Space between calendar days */
    gap: 4px;
    height: 510px;
    padding-bottom: 5px;
}

.days--week {
    gap: 12px;
    flex-wrap: nowrap;
    height: 600px;
}

.actualday {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch; /* let inner wrapper fill width */
    padding-top: 1px;
    height: 20%;
    width: 14.006%; /* Equal width for all cells */
    background-color: #ffffff;
    transition: background-color 0.3s;
    font-size: 17px;
    border-radius: 5px;
    /* Make the day cell the scroll container so .day-number can stick */
    overflow-y: auto;
    overflow-x: hidden;
    /*  border */
    border: 2px solid rgba(42, 0, 0, 0.151);  
    box-sizing: border-box;  /* keep widths consistent */
}

.actualday--week {
    flex: 1 1 calc(100% / 7 - 12px);
    width: auto;
    min-width: 0;
    height: auto;
}

/* sticky day number at top of each cell */
.day-number {
  position: sticky;
  top: 0;
  background: transparent;
  padding: 2px 0;
  z-index: 2;
  text-align: center;  /* centers inline content inside */
}


.day-weekday {
    position: sticky;
    top: 24px;
    font-size: 12px;
    color: #666;
    background: #fff;
    padding-bottom: 4px;
    z-index: 1;
}

/* Ensure sticky header matches the cell's theme */
.actualday .day-number { background: #fff; color: inherit; }
.actualday.fade .day-number { background: #f7f6f6; color: #666262; }
.actualday.today .day-number { background: rgb(141, 13, 24); color: #fff; }

/* events stack; let parent handle scrolling */
.day-events {
    flex: 1 1 auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Highlights today's date */
.days .today {
    background-color: rgb(141, 13, 24);
    color: white;
}

.days .fade {
    color: #666262;
    background-color: #f7f6f6;
}

.event {
  text-align: center;
  padding: 2%;
  margin-top: 5px;
  width: 90%;
  background-color: rgba(233, 233, 233, 0.96); /* light and chill background */
  color: #222; /* dark enough to see, no worries */
  font-size: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.event::before,
.event::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #444; /* gotta make the border pop, ya know? */
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.event::before {
  top: 0;
  left: 0;
  transform-origin: left;
}

.event::after {
  bottom: 0;
  left: 0;
  transform-origin: right;
}

.event:hover::before,
.event:hover::after {
  transform: scaleX(1);
}

.event:hover {
  background-color: rgba(255, 255, 255, 0.95); /* gets brighter so you know itâ€™s clickable */
  box-shadow: inset 2px 0 #444, inset -2px 0 #444;
  animation: bounce 1.15s ease-in-out infinite; /* slow bounce so itâ€™s chill but noticeable */
}

/* just a lil bounce to make it look alive */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}



/* Event Info Modal (hidden by default; shown via JS setting display:flex) */
.eventInfoModal {
  position: fixed;
  inset: 0;
  display: none; /* stays hidden until JS sets flex */
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.38); /* closer to siteâ€™s subtle overlay */
  z-index: 9999;
}

/* Event info modal content */
.eventInfoModalContent {
  background: #ffffff;
  color: black;
  border-radius: 10px;
  border: 2px solid rgb(141, 13, 24); /* site red accent */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
  width: min(560px, 94vw);
  padding: 20px 20px 16px;
  text-align: left;
  line-height: 1.4;
  /* subtle entrance when modal is shown */
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

/* Header row inside modal (title + optional close) */
.eventInfoModalContent .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.eventInfoModalContent .modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #121212;
  margin: 0;
}

/* Content rows */
.eventInfoModalContent .modal-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 16px;
  align-items: start;
}

.eventInfoModalContent .modal-label {
  color: #666;
  font-weight: 600;
}

.eventInfoModalContent .modal-value {
  color: #121212;
}

/* Action area */
.eventInfoModalContent .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

/* When the parent is displayed (via inline style), fade/scale in content */
.eventInfoModal[style*="display: flex"] .eventInfoModalContent {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Typography inside the modal */
.eventInfoModalContent p {
  margin: 6px 0;
  font-size: 16px;
}

#meetInfoPopUp {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 750;
  color: black;
  border-bottom: 2px solid rgb(141, 13, 24); /* match ranking title underline */
  padding-bottom: 6px;
}

/* public events — clear red accent without overpowering layout */
.event-highlight-meeting {
  background-color: #f37671c2; /* pale red background */
}

/* leader-only meetings — darker grey to signal restricted visibility */
.leader-highlight-meeting {
  background-color: #3a85ffb3; /* light but noticeably grey */
}

/* --- END CALENDAR --- */



/* creates the footer at the bottom of page */
.footer {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left align */
  gap: 3vw;
  padding: 1.5rem 3rem;
  background-color: #f5f5f5;
  color: #222;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  user-select: none;
  position: relative; /* ensure it doesn't overlap content */
  z-index: 0;
}
.ContactButton{
  position: relative;
  margin-left: auto; 
  background-color: rgb(141, 13, 24);
  border-radius: 15px;
  font-weight: bold;
  font-size: 14px;
}
.ContactButton:hover{
  background-color: rgb(111, 13, 24);
  color: #ffffff;
  transition: 0.8s ease;
}

.logos {
  position: relative;
  width: 5vw;
  height: 5vw;
  min-width: 60px;
  min-height: 60px;
  background-image: url("images/smallAlogo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.logos:hover {
  transform: scale(1.05);
}

.logo {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  transition: opacity 0.4s ease;
  border-radius: 3px;
}

.logo:hover {
  opacity: 0;
}

.developersWrapper {
  display: flex;
  gap: 1.5rem;
  font-weight: 400;
  color: #444;
  border-left: 2px solid #8d0d18;
  padding-left: 1.5rem;
  font-size: 1vw; /* smaller text */
}

.devSplit {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #222;
}

.devSplit > div:first-child {
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}


/* ---------- Club Directory ---------- */
/* --- Directory Section Wrapper --- */
.clubDirectoryBox {
  margin: 50px;
  max-width: 90vw;
}

/* --- Directory Title --- */
.directoryTitle {
  position: relative;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: rgb(141, 13, 24);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  padding: 5px 0;
  background-color: #ffffff00; 
  border-top: 2px solid black;
  border-bottom: 2px solid black;
}

/* --- Container for All Clubs --- */
.clubsBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  padding: 24px;
  background: transparent;
  margin-left: 50px;
}

.clubButton {
  cursor: pointer;
  padding: 18px 16px;
  flex: 1 1 18%;
  min-width: 180px;
  max-width: 220px;
  background: rgb(141, 13, 24);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  border: 1px  transparent;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* Sheen swipe animation (runs only once on hover) */
.clubButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(-20deg);
  z-index: 1;
  pointer-events: none;
}

.clubButton:hover::before {
  animation: sheen 0.75s ease forwards;
}

@keyframes sheen {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.clubButton:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 5px 10px rgba(181, 180, 180, 0.638);
}



/* ---------- Club Dash Pages ---------- */

/* Club Info Section */
.clubInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
  border-radius: 8px;
}

/* Individual Info Box */
.clubInfoBox {
  background-color: #f9f9f9;
  padding: 18px;
  margin-bottom: 15px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #333;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#meetingListScrollable{
    max-height: 75vh;
    overflow: scroll;
}

.clubInfoBox:hover {
  background-color: #f1f1f1;
  transform: scale(1.015);
}

.basicClubInfoBox {
  display: flex;
  width: 100%;
  background-color: transparent;
}

/* Section Titles */
#bio, #quickFacts, #outlook, #meetingLog {
  font-weight: bold;
  color: #2C3E50;
  width: 95vw;
  font-size: 1.05rem;
}

#outlook, #meetingLog {
  max-height: 500px;
  overflow-y: scroll;
}

#bio {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: auto;
  align-self: flex-end;
  margin-bottom: 10px;
}

.driveButton {
  margin-top: auto;
  align-self: flex-end;
  margin-bottom: 10px;
  padding: 13px 2px;

}

h4 {
  font-weight: normal;
  font-family: 'Inter', sans-serif;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #444;
}

/* Header */
.hTwoCDash {
  background-image: url(images/grisham.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(141, 13, 24);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin: -15px -15px 15px -15px;
  padding: 14px 20px;
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.underline {
  text-decoration: underline;
}

.rankingTitle {
  margin-bottom: 0;
}




/* ---------- Meeting Section ---------- */
.meetingDiv {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 10px 10px 10px 10px;
  padding: 8px 8px;
  border-radius: 10px;
  background-color: #fafafa;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  color: #333;
  font-weight: normal;
  font-family: 'Inter', sans-serif;
}

.meetingDiv:hover {
  background-color: rgba(245, 245, 245, 0.95);
}

.meetingBox {
  width: 80%;
  border-radius: 40px;
}

.editMeetingDiv {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20%;
}

.meetingEdit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  margin: 2px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 4px rgba(100, 100, 100, 0.4);
  background-color: rgb(141, 13, 24);
  color: white;
  font-weight: bold;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap; /* keep label on one line */
  transition: all 0.2s ease;
}

.meetingEditPrimary {
  background-color: rgb(179, 3, 21);
  border: 1px solid rgb(179, 3, 21);
}

h2 .meetingEdit {
  margin-left: 20px;
  font-size: 0.8em;
  vertical-align: middle;
}

/* Scoped style: header edit buttons only */
#editHeaderControls .meetingEdit {
  background: rgba(0, 0, 0, 0.55); /* transparent black */
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 2px 8px rgba(90, 0, 0, 0.45); /* dark maroon shadow */
}
#editHeaderControls .meetingEdit:hover {
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 3px 10px rgba(90, 0, 0, 0.685);
}

.meetingEdit:hover {
  font-size: 14px;
  box-shadow: 0 2px 4px gray;
  border-color: black;
}

.meetingEditConf {
  align-items: center;
  justify-content: center;
  margin: 20px;
}

/* Add Event Button */
.addEventDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: transparent;
}

.addButton {
  width: 200px;
  height: 40px;
  padding: 6px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border-radius: 8px;
  border: none;
  background-color: rgb(141, 13, 24);
  transition: all 0.2s ease;
}

.addButton:hover {
    font-size: 17px;
    width: 230px;
    height: 45px;
    box-shadow: 0 2px 4px gray;
}

/* Other Utility Styles */
.infoContainer {
  margin-bottom: 10px;
  margin-left: 4px;
  padding-bottom: 1px;
}

.attendance,
.locationEditBox,
.bioEditBox,
.recapEditBox {
    background-color: #fff;
    color: #000000;
    font-weight: 600;
    padding: 6px 10px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
    border-color: rgba(100, 100, 100, 0.4);
}

.attendance:focus,
.bioEditBox:focus,
.locationEditBox:focus,
.recapEditBox:focus {
  border-color: #a31e28;
  box-shadow: 0 0 4px #a31e28aa;
}

/* Specific widths */
.attendance {
  max-width: 50px;
  text-align: center;
}

.locationEditBox {
  max-width: 130px;
}

.recapEditBox {
  max-width: 100%;
  min-height: 80px;
  resize: vertical;
}
/* Modal Styles */
.confModal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.confModalContent {
  background-color: #fff;
  border-radius: 10px;
  padding: 75px;
  max-height: 70vh;
  overflow-y: auto;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Inter', sans-serif;
}

/* Cohesive modal buttons (match site palette) */
.confbtn {
  appearance: none;
  border: 1px solid rgb(141, 13, 24);
  background-color: rgb(141, 13, 24);
  color: white;
  padding: 10px 16px;
  margin: 10px 8px 0 0;
  cursor: pointer;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.recurring-preview {
  margin: 15px 0;
}

.recurring-preview h4 {
  margin-bottom: 10px;
  color: #333;
}

#repetitions, #end-date {
  display: inline-block;
  margin-left: 10px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Ensure modal buttons have equal width within the modal */
.eventInfoModalContent .confbtn {
  min-width: 160px;   /* same base width */
  text-align: center; /* center labels */
}

.confbtn:hover {
  background-color: white;
  color: rgb(141, 13, 24);
}

/* Secondary (neutral) style for cancel */
#confCancelDelete {
  border-color: #8c8c8c;
  background-color: #8c8c8c;
  color: white;
}

#confCancelDelete:hover {
  background-color: white;
  color: #000;
  border-color: #8c8c8c;
}

/* Radio Buttons */
.radio-container {
    display: inline-flex; align-items: center; margin-right: 15px; cursor: pointer;
    font-size: 16px; color: rgb(141, 13, 24); font-family: 'Inter', sans-serif;
    font-weight: bold; position: relative; padding-left: 26px;
}
.radio-container input[type="radio"] {
    position: absolute; width: 0; height: 0; opacity: 0;
}

.custom-radio {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 16px;
    border-radius: 50%; border: 2px solid rgb(141, 13, 24); background-color: white;
}

.radio-container input[type="radio"]:checked + .custom-radio::after {
    content: "";  position: absolute;  left: 50%;  top: 50%; transform: translate(-50%, -50%);
    width: 10px; height: 10px;  border-radius: 50%; background-color: rgb(141, 13, 24);
}

.eventQuestion {
    display: block; margin-bottom: 5px; font-family: 'Inter', sans-serif;
}

.meetingAddT {
    font-size: large;  font-weight: bold; font-family: 'Inter', sans-serif;
}

.bioQF {
    display: inline-block; padding: 10px; margin: 0 7px;
}

/* /------    THIS IS THE MORE INFO STUFF!!!!!!!!   -------- */
  
/* formating header for more info page */
#moreinfoHeader {
    margin: 2vw; margin-bottom: 0px; padding: 10px 20px;
    background-color: rgb(141, 13, 24); color: white; font-size: 24px;
    text-align: center; border-radius: 5px 5px 0 0;
  }

  /* helps to create a sense of organization by adding space between screen edge and elements */
#moreInfoWrapper {
    margin: 2vw; margin-top: 0px; padding: 1vw;
    background-color: #f7f6f6;
}

/* makes lables bigger + bold */
label {
    font-size: 14px; font-weight: bold;
    margin-bottom: 5px;
}

/* sets width / color/ etc of all ellements within wrapper*/
input, select, textarea {
    width: 100%; padding: 8px; margin: 10px 0;
    border-radius: 5px; border: 1px solid #ddd;
    box-sizing: border-box; font-size: 14px;
}
/*forces textbox to only expand down and its default height*/
textarea {
    resize: vertical; height: 150px;
}

.container {
    width: 80%; margin: 30px auto; padding: 20px;
    background-color: #fff; border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

select {
cursor: pointer;
}

select:focus {
    outline: none; background-color: gainsboro;
}

option {
    padding: 10px;
}

#createButton{
    text-align: center; width: 200px; padding: 15px; margin-top: 25px;
    border-radius: 40px; border: none;
    background-color: rgb(141, 13, 24); color: white; font-size: 20px; cursor: pointer;
}

#head{
    display: flex; flex-direction: row; align-items: center; padding: 10px; margin: none; width: 100vw;
    box-shadow: 0px 5px 20px 0px rgba(120, 10, 19, 0.44); color: black; background-color: white;
}
#rightHead{
    display: flex; flex-direction: row; 
    align-items: center; width: 50%; margin-left: 25px;
}
#leftHead{
    display: flex; flex-direction: row; 
    align-items: center; justify-content: right; width: 50%; margin-right: 25px;
}
#headLink{
    text-decoration: underline;
}
#headLink:hover{
    font-size: 15px;
}

#image{
    height: 30px;
}



/* ------------  ADMIN PAGE --------------*/
/* ===== Site-wide announcement banners (homepage) ===== */
#site-announcement-container {
  max-width: 900px;
  position: fixed;          /* <— fixed so it hovers */
  top: 200px;               /* below header */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;            /* make sure it floats above other stuff */  
  pointer-events: none; /* allow clicks to pass through container; banners themselves can opt-in */
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: none; /* allow clicks to pass through container; banners themselves can opt-in */
}

.site-announcement-banner {
  background: rgba(255, 255, 255, 0.974);
  border: 2px solid #000;
  border-radius: 10px;
  padding: 24px 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-out;
  pointer-events: auto;  /* allow clicks on the banner */
}

.site-announcement-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-announcement-banner .banner-text {
  font-size: 16px;
  line-height: 1.4;
  flex: 1;
  color: #111;
}

.site-announcement-banner .banner-close {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 6px;
}

.site-announcement-banner .banner-close:hover {
  background: rgba(0,0,0,0.08);
}

/* Small fade-in */
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ===== Announcement Modals (Admin Page) ===== */
.announcement-modal,
.announcement-log {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 3000; /* keep above all content */
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.55); /* dimmed background */
  font-family: 'Inter', sans-serif; 
}

/* Modal content box */
.announcement-modal-content {
  background: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(12px);
  margin: 6% auto;
  padding: 24px;
  border: 2px solid #7a0c0f; 
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  animation: scaleIn 0.25s ease-out;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-family: 'Inter', sans-serif; 
  display: flex;
  flex-direction: column;
  max-height: 80vh;   /* limit overall height */
  overflow: hidden;   /* log list scrolls inside */
}

/* Animation! */
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.announcement-buttons {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  justify-content: center;
}

.announcement-buttons button {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: 2px solid #7a0c0f;
  color: #7a0c0f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.announcement-buttons button:hover {
  background-color: #7a0c0f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Inputs and textareas */
.announcement-modal-content input,
.announcement-modal-content textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 8px 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  width: 100%;
  margin-bottom: 12px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.announcement-modal-content input:focus,
.announcement-modal-content textarea:focus {
  outline: none;
  border-color: #7a0c0f;
  box-shadow: 0 0 0 3px rgba(122, 12, 15, 0.35);
}

/* ===== Announcement Log ===== */
#announcementLogModal { font-family: 'Inter', sans-serif; z-index: 2000; }

#announcementLogList {
  flex: 1 1 auto;
  overflow: auto;
  padding-right: 4px;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

/* Log items */
#announcementLogList .announcement-log-item {
  background: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
#announcementLogList .announcement-log-item:hover {
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* Text lines */
#announcementLogList .announcement-log-item > div:nth-of-type(1),
#announcementLogList .announcement-log-item > div:nth-of-type(2) {
  font-size: 14px;
  color: #333;
  margin: 6px 0;
}

/* Status badges */
#announcementLogList .announcement-log-item .badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
#announcementLogList .badge.active   { background:#22a06b; color:#fff; }
#announcementLogList .badge.upcoming { background:#2b7de9; color:#fff; }
#announcementLogList .badge.expired  { background:#9e9e9e; color:#fff; }
#announcementLogList .badge.removed  { background:#9e9e9e; color:#fff; }

/* Actions row */
#announcementLogList .announcement-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Edit/Delete buttons */
#announcementLogList .log-btn {
  font-family: 'Inter', sans-serif;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .12s ease;
  border: 2px solid transparent;
}
#announcementLogList .edit-btn {
  background: #fff;
  color: #7a0c0f;
  border-color: #7a0c0f;
}
#announcementLogList .edit-btn:hover {
  background: #7a0c0f;
  color: #fff;
}
#announcementLogList .delete-btn {
  background: #fff;
  color: #d12323;
  border-color: #d12323;
}
#announcementLogList .delete-btn:hover {
  background: #d12323;
  color: #fff;
}

/* Footer (Close & Clear buttons sticky) */
.announcement-log-footer {
  position: sticky;
  bottom: 0;
  padding-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

#clearAnnouncementLogBtn,
#closeAnnouncementLogBtn {
  position: relative;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  font-family: 'Inter', sans-serif;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  background-color: white;
  color: #7a0c0f;
  border: 2px solid #7a0c0f;
  cursor: pointer;
}
#clearAnnouncementLogBtn:hover,
#closeAnnouncementLogBtn:hover {
  background: #7a0c0f; color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* ADMIN CLUBS IN DANEGER ECT> */

.clubsInDangerWrapper {
    width: 22%; display: flex; flex-direction: column; gap: 15px; margin-top: 20px;
}

/* Base Panel Style (shared by both panels)      */
.clubsInDanger,
.resetPointsDiv {
    background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(16px); border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 27px; color: black; box-shadow: none; display: flex; flex-direction: column;
}

.announcement-controls {
  min-height: 200px;
}

.clubsInDangerTitle {
  font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: #333; border-bottom: 2px solid #7a0c0f; padding-bottom: 4px; margin-bottom: 20px;
}

/* Clubs in Danger Panel  */
.clubsInDanger {
  max-height: 50vh; overflow-y: auto; font-size: 16px; font-weight: 500; text-align: left;
}

/* Container that holds all the clubâ€button elements */
.clubsInDangerButtons {
  display: flex; flex-direction: column; gap: 12px;
}
.clubsInDangerButtons button {
  width: 100%; padding: 10px 14px; font-size: 16px; font-weight: 600;
  background: transparent; color: #d0141a; border: 2px solid #d0141a;
  position: relative; overflow: hidden; transition: color 0.3s ease;
  text-align: center; letter-spacing: 0.5px; border-radius: 0; cursor: pointer;
}

/* Animated â€œfillâ€*/
.clubsInDangerButtons button::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #d0141a; transform: scaleX(0); transform-origin: right; z-index: 0;
}
/* Keep text above the fill layer */
.clubsInDangerButtons button span {
  position: relative; z-index: 1; transition: color 0.3s ease;
}
/* expand the  fill */
.clubsInDangerButtons button:hover::before {
    transform: scaleX(1); transform-origin: left; transition: transform 0.35s ease; 
}
.clubsInDangerButtons button:hover span {
  color: #fff;
}

/* Reset Points Panel */
.resetPointsDiv {
  height: 15vh;
}
/* Reset Points title */
.resetPointsText {
  font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #333;
  margin-bottom: 12px; border-bottom: 2px solid #7a0c0f; padding-bottom: 4px;
}

/* Reset button (same style as the club buttons) */
.resetPointsButton {
  margin-top: 14px; padding: 10px 14px; position: relative; overflow: hidden;
  background: transparent; border: 2px solid #7a0c0f; color: #7a0c0f; font-size: 18px; font-weight:800;
  cursor: pointer; text-align: center; letter-spacing: 0.5px; border-radius: 0;
  transition: color 0.3s ease;
}
/* Animated fill behind â€œResetâ€ text */
.resetPointsButton::before {
  content: ''; position: absolute;
  top: 0; left: 0; height: 100%; width: 100%; background-color: #7a0c0f;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; z-index: 0;
}
/* Keep text above the background fill */
.resetPointsButton span {
    position: relative; z-index: 1; transition: color 0.3s ease;
}
/* On hover: fill from left to right */
.resetPointsButton:hover::before {
  transform: scaleX(1);
}
.resetPointsButton:hover span {
  color: white;
}

.adminLineTwo {
  background-color: rgb(141, 13, 24);
  width: 2px;
  margin-left: 30px;
  margin-top: 20px;
  align-self: stretch; /* let it match the column height */
}


/* ------ right colum ------ */
.mainAdminBox {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    background-color: transparent; border-radius: 4px; padding: 5px;
    margin: 30px; margin-left: 0; width: 80%; height: auto; overflow: visible;
    padding-bottom: 40px; /* breathing room above footer */
}

.adminClubInfoWrapper{
    height: auto; margin: 10px; padding-top: 15px;
    text-align: center; align-items: center; justify-content: center;
    background-color: rgb(255, 255, 255,.75); border-radius: 1px;
}
.adminClubInfo {
  display: grid; grid-template-columns: 1fr; /* start full-width stacked */
  justify-content: center; margin-top: 20px; gap: 16px;
}

.adminInfoSplit {
  display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%;
}

/* On wider screens, allow two-column layout */
@media (min-width: 1100px) {
  .adminClubInfo { grid-template-columns: 1fr 1fr; }
  .adminInfoSplit { width: 100%; }
}

.adminaboutClub,
.adminNextMeeting,
.adminInDangerDiv,
.adminPastMeetings,
.oppLength,
.oppContact,
.oppLoc {
  position: relative;
  background: #ffffff;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 18px;
  padding-top: 60px; /* room for header strip */
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  color: #222;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.adminaboutClub:hover,
.adminNextMeeting:hover,
.adminInDangerDiv:hover,
.adminPastMeetings:hover
.oppLength.hover,
.oppLoc.hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

/* Header strip via data-title */
.adminaboutClub::before,
.adminNextMeeting::before,
.adminInDangerDiv::before,
.adminPastMeetings::before,
.oppLength::before,
.oppContact::before,
.oppLoc::before {
  content: attr(data-title);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #7a0c0f; /* solid brand color, no gradient */
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Body area */
.adminaboutClub > *,
.adminNextMeeting > *,
.adminInDangerDiv > *,
.adminPastMeetings > *,
.oppLength > *,
.oppContact > *,
.oppLoc > * {
  font-family: 'Inter', sans-serif;
  line-height: 1.45;
}

/* Responsive heights: let content define height */
.adminPastMeetings {
  height: auto;
  max-height: 400px;
  overflow-y: scroll;
}
.adminNextMeeting{
  height: auto;
  max-height: none;
  overflow-y: scroll;
}

/* In-Danger Notice */
.DangerNotifDiv {
  border-radius: 10px; padding: 12px 20px; width: 100%; margin-bottom: 12px;
  font-size: 1.2rem; font-weight: bold; color: white; text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.DangerNotifWrapper {
  display: flex; justify-content: center;
}

.DCB-GCB-Wrapper{
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
    margin: 16px 0 24px; padding: 0; width: 100%;
}

/* Go to club button: transparent bg, black border & text, animated gradient border */
.adminGoToClubButton {
    display: flex;  justify-content: center; align-items: center;  background: transparent;
    color: black; padding: 12px 24px; font-size: 15px; font-weight: 700;
    border: 3px solid black; border-radius: 8px; cursor: pointer; margin: 8px 6px;
    position: relative; overflow: hidden; text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.3s ease, background-color 0.3s ease; user-select: none; z-index: 0;
}
/* Animated gradient border*/
.adminGoToClubButton::before {
    content: ""; position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 8px; background: transparent; background-size: 800% 800%;
    animation: borderAnim 2s linear infinite; z-index: -1; opacity: 0.8;
}
/* Text container to animate text sliding and not the whole button*/
.adminGoToClubButton span {
    display: inline-block; white-space: nowrap; position: relative; left: 0; transition: none;
}
/* sets parameters for animation*/
.adminGoToClubButton:hover span {
    animation: textSlide 4s linear infinite;
}
/* Border animation keyframes */
@keyframes borderAnim {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Text animation: moves text right, then to the left outside and slides back into view*/
@keyframes textSlide {
  0% { left: 0; }
  50% { left: 120%; } /* fully out right */
  50.1% { left: -100%; } /* jump outside left */
  100% { left: 0; }
}

/* Delete button: bright red text & border, transparent background on hover with flashing red glow + 10 fast sparks */
.deleteClubButton {
  display: flex; justify-content: center;  align-items: center;
  background: #d12323; color: white; border: 4px solid #d12323;
  padding: 12px 20px; font-weight: 800; border-radius: 8px;
  cursor: pointer; margin: 8px 6px;
  text-transform: uppercase; letter-spacing: 1.2px; position: relative; overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease; user-select: none;
}
/* Text wrapper so text stays on top of spaerks*/
.deleteClubButton .buttonText {
  position: relative; z-index: 2;
}

.deleteClubButton .spark {
  position: absolute; background: #ff4c4c; width: 6px; height: 6px;
  /* makes them into a dimond shape */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  filter: 
    drop-shadow(0 0 6px #ff3c3c)
    drop-shadow(0 0 10px #ff1a1a)
    drop-shadow(0 0 14px #ff0000)
    brightness(2);
  opacity: 1;
  animation-iteration-count: infinite; animation-timing-function: ease-in-out;
  pointer-events: none; display: none; transform: rotate(45deg); 
  /* makes sure they are behind the text */
  z-index: 0;
}
/* Show sparks on hover */
.deleteClubButton:hover .spark {
  display: block;
}

/* Hover styles */
.deleteClubButton:hover {
  background-color: transparent;
  color: #d12323; border-color: #d12323; animation: pulseRedGlow 1.5s infinite ease-in-out;
  transform: scale(1.1); transition: background-color 0.3s ease, color 0.3s ease;
}
/* Pulse glow keyframes */
@keyframes pulseRedGlow {
  0%, 100% {
    box-shadow: 0 0 6px 2px rgba(255, 0, 0, 0.9);
  }
  50% {
    box-shadow: 0 0 12px 4px rgba(255, 60, 60, 1);
  }
}

.meetingInfoCard {
    display: flex; flex-direction: column; margin-bottom: 10px; padding: 16px; 
    background-color: #fff; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    width: 90%; height: 150px; justify-content: space-evenly; overflow: scroll;
}

.adminMeetingTitle{
    color: #7a0c0f; margin-top: 0;
}

.adminClubName{
    font-weight: bold; color: rgb(141, 13, 24);  font-size: 30px; margin: 2px 20px;
}
.clubnameWrapper{
    display: flex; align-items: center; padding: 0px; justify-content: center;
}
/* decoration */
.adminLine{
    background-color: rgb(141, 13, 24); height: 2px; width: 36%;
}
.adminLineThree{
    background-color: rgb(141, 13, 24);
    height: 2px; width: 92vw; margin-left: 60px; margin-top: -40px; margin-bottom: 20px;
}

/* Layout Wrapper */
.adminWrap {
  display: flex;
  justify-content: center;
  max-width: 100vw;
  padding: 25px;
  padding-bottom: 0;
  background: white;
  font-family: 'Inter', sans-serif;
}
/* ----SEARCH BAR STUFF----- */
/* ----PLEASE DONT TOUCH----- */
/* ----VERRY DELICATE----- */

.instant-search {
    position: relative;  width: 400px;
    margin: 10px auto;
    font-family: 'Inter', sans-serif;
}

/* input wrapper: moderate rounding, original padding */
.instant-search__input-container {
    position: relative; height: 20px; display: flex;  align-items: center;
    background-color: #eeeeee;  transition: background 0.15s;   
    border-radius: 40px;  padding: 6px 10px;  /* keep the bar from growing too tall */
}

.instant-search__input-container:focus-within {
    background-color: #ffffff;  box-shadow: 0 0 0 3px rgb(196, 22, 3);
}

/* text input: leave original left padding for icon */
.instant-search__input {
    flex: 1; padding: 4px 6px 4px 32px; /* enough room for larger icon */
    border: none;  outline: none;  background: transparent;
    font-family: inherit; font-size: 1rem;  color: #333;    
}

.instant-search__icon {
    position: absolute; left: 8px; width: 24px;  height: 24px;
    object-fit: contain; pointer-events: none;
}

/* loading bar indicator */
.instant-search--loading::after {
    content: "";
    position: absolute; top: 0; left: 0;  height: 2px;  border-radius: 5px;
    background: rgb(141, 13, 24);
    animation: searchIndicator 0.5s infinite ease-in-out;
}

/* generic overlay layout for centered spinners */
.loading-overlay {
    position: absolute;
    inset: 0;
    display: none; /* toggled via JS */
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    z-index: 10;
}

.loading-overlay.is-visible {
    display: flex;
}

/* spinner animation */
.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(141, 13, 24, 0.15);
    border-top-color: rgb(141, 13, 24);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loading-spinner.smaller {
    width: 36px;
    height: 36px;
}

.loading-inline {
    display: none;
    align-items: center;
    gap: 8px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* enables the search reults to shrink an expand*/
@keyframes searchIndicator {
    0%   { width: 15%; }
    50%  { width: 100%; }
    100% { width: 15%; }
}

/* results dropdown */
.instant-search__results-container {
    position: absolute; top: calc(100% + 4px); left: 0;  z-index: 10;
    width: 100%; max-height: 200px; overflow-y: auto;
    background: #ffffff;  border: 1px solid #ddd; border-radius: 10px;
    visibility: hidden; opacity: 0;
    transition: visibility 0.1s, opacity 0.1s;
}

.instant-search__results-container--visible {
    visibility: visible; opacity: 1;
}

/* each result item */
.instant-search__result {
    display: block; transition: background 0.15s;
    font-size: 0.9rem; color: #333; text-decoration: none;
    border-bottom: 1px solid #eeeeee; padding: 8px 10px;
}

.instant-search__result:last-child {
border-bottom: none;
}

.instant-search__result:hover {
background-color: #eeeeee;
}

/* â€œNo clubs foundâ€ message */
.instant-search__no-results {
    padding: 10px; text-align: center;
    color: rgb(196, 22, 3); font-weight: bold; font-style: normal; font-size: 1rem;
}

.searchIcon{
    height: 25px;
}

/* ================================
   MOBILE OVERRIDES  (≤ 700px)
   Paste at the very end of your CSS
   ================================ */
@media (max-width: 700px) {

  #monthViwToggleBtn{
    display: none;
  }
  #weekViwToggleBtn{
    display: none;
  }
  /* Overall spacing */
  .schedule { margin: 12px; }

  .calendarTitle {
    margin: 12px;
    margin-bottom: 6px;
    font-size: clamp(22px, 5vw, 28px);
    border-radius: 8px;
  }

  /* Let the page scroll; avoid nested scrolling on phones */
  .calendar {
    margin-left: 0;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    background-color: transparent;
  }

  /* Header stays visible; bigger tap targets */
  .Cheader {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid rgba(141,13,24,.2);
    margin: 8px 12px;
    padding: 8px 4px;
  }

  #month-year {
    font-size: clamp(18px, 5vw, 22px);
    text-align: center;
    flex: 1;
  }

  .arrow { width: 44px; height: 44px; }
  .arrow i { width: 8px; height: 8px; border-top-width: 4px; border-left-width: 4px; }

  /* View toggle centered & sticky under header */
  .view-toggle {
    position: sticky;
    top: 52px; /* below the header */
    z-index: 9;
    margin: 0 12px 8px;
    padding: 6px 0 8px;
    justify-content: center;
    gap: 6px;
    background: #fff;
  }

  .view-toggle__btn {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 999px;
  }

  /* Hide weekday strip on small screens to save space */
  .weekdays { display: none !important; }

  /* ===== Month view on phones: card grid (2 columns) ===== */
  .days:not(.days--week) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    height: auto;
    margin: 8px 12px 16px;
  }

  .actualday {
    width: auto; 
    height: auto;
    min-height: 96px;
    overflow: hidden; /* disable inner scroll inside a small card */
    display: grid;
    grid-template-columns: 64px 1fr;   /* date column | events column */
    grid-auto-rows: min-content;
    align-items: start;
    padding: 8px;
    gap: 6px 10px;
  }

  /* Date (left column) */
  .day-number {
    position: static;          /* no sticky in stacked cards */
    display: block;
    grid-column: 1;
    justify-self: center;
    align-self: start;
    text-align: center;        /* keep centered */
    font-weight: 700;
    margin-top: 2px;
  }

  .day-weekday {
    position: static;
    grid-column: 1;
    font-size: 12px;
    color: #222222;
    justify-self: center;
  }

  /* Events (right column) */
  .day-events {
    grid-column: 2;
    align-items: stretch;
    max-width: 100%;
    overflow-x: auto;
  }

  /* Today highlight */
  .actualday.today {
    border-color: rgb(141,13,24);
    box-shadow: 0 0 0 2px rgba(141,13,24,.15) inset;
  }

  .actualday.today .day-weekday{
    background: rgb(141,13,24);
    color: #fff;
  }

  .actualday.today .day-number {
    background: rgb(141,13,24);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
  }

  .actualday.fade { background: #fafafa; }
  .actualday.fade .day-number { color: #888; }

  .event {
    width: 100%;
    font-size: 13px;
    padding: 10px 12px;
    margin-top: 6px;
  }

  /* ===== Week view on phones: vertical "rolodex" ===== */
  .days.days--week {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    margin: 8px 12px 16px;
  }

  .actualday.actualday--week {
    width: 100%;
    min-height: 84px;
    display: grid;
    grid-template-columns: 72px 1fr;  /* date | events */
    padding: 10px;
    gap: 6px 12px;
    overflow: hidden; /* avoid nested scrolls */
  }

  .actualday--week .day-weekday { display: block; }

  /* Modal: full-width feel, readable text */
  .eventInfoModal { padding: 16px; }
  .eventInfoModalContent {
    width: 96vw;
    max-width: 560px;
    font-size: 15px;
  }
}
/* ================================
   Club Directory — Mobile/Tablet
   ================================ */

/* Medium screens: switch to an auto-fit grid with tidy gaps */
@media (max-width: 900px) {
  .clubDirectoryBox {
    margin: 20px auto;
    max-width: 100vw;
    padding: 0 12px;
  }

  .directoryTitle {
    font-size: clamp(18px, 2.4vw, 22px);
    margin-bottom: 16px;
    padding: 6px 0;
  }

  /* Use grid so cards line up cleanly and reflow nicely */
  .clubsBox {
    display: grid; /* overrides flex */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 12px;
    padding: 12px;
    margin-left: 0; /* remove big left offset on smaller screens */
  }

  /* Make cards fill their grid cell cleanly */
  .clubButton {
    min-width: 0;      /* allow shrinking within grid */
    max-width: none;   /* let grid manage the width */
    width: 100%;
    box-sizing: border-box;
  }
}

/* Phones: tighter spacing, 2 columns (then 1 column on very small) */
@media (max-width: 700px) {
  .clubDirectoryBox {
    margin: 14px auto;
    padding: 0 12px;
  }

  .clubsBox {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* two-up grid */
    gap: 10px;
    padding: 10px 8px;
  }

  .clubButton {
    padding: 12px 10px;                 /* smaller, still tappable */
    border-radius: 12px;
    font-size: clamp(14px, 3.4vw, 16px);
    line-height: 1.25;
    min-height: 44px;                   /* touch target */
    /* Prevent overflow/cutoff */
    white-space: normal;
    word-break: break-word;
    overflow: visible;
  }

  /* Tone down hover effects on mobile to reduce visual jump */
  .clubButton:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  }
  .clubButton::before { display: none; } /* remove sheen to save paint time */
}

/* Very small phones: single column for max readability */
@media (max-width: 420px) {
  .clubsBox {
    grid-template-columns: 1fr; /* one-up list */
    gap: 8px;
  }

  .clubButton {
    padding: 10px 10px;
    font-size: 14px;
    border-radius: 10px;
  }
}

/* Accessibility: reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  .clubButton,
  .clubButton:hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
/* ================================
   ADMIN PAGE — MOBILE/TABLET LAYER
   Append at end of file
   ================================ */

/* ---------- Global tweaks that won’t affect desktop ---------- */

/* Make the floating site banner fit on smaller screens */
@media (max-width: 900px) {
  .site-announcement-banner {
    top: 12px;
    width: 94vw;
    max-width: none;
    padding: 14px 16px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  }
  .site-announcement-banner .banner-text { font-size: 14px; }
  .site-announcement-banner .banner-close { font-size: 20px; padding: 6px 8px; }
}

/* Tablets: stack columns, widen searchable area, compact spacing */
@media (max-width: 900px) {
  /* Overall page wrap becomes vertical */
  .adminWrap {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
  }

  /* Left column → full width */
  .clubsInDangerWrapper {
    width: 100%;
    margin-top: 0px;
    order: 1;
  }

  /* Vertical divider becomes a horizontal rule */
  .adminLineTwo {
    width: 100%;
    height: 2px;
    margin: 12px 0 4px 0;
    align-self: auto;
  }

  /* Right column → full width */
  .mainAdminBox {
    width: 100%;
    margin: 0;
    padding: 0 4px 0;
    order: 2;
  }

  /* “Clubs in Danger” buttons: auto-fit grid */
  .clubsInDangerButtons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
  }
  .clubsInDangerButtons button {
    width: 100%;
  }

  /* Reset panel height: let content define height */
  .resetPointsDiv { 
    height: auto; 
    align-items: center; 
    justify-content: center;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    padding: 0;
  }

  /* Search block: full width, taller input for touch */
  .search-container { width: 85%; }
  .instant-search {
    width: 100%;
    max-width: 720px;
    margin: 10px auto;
  }
  .instant-search__input-container {
    min-height: 44px;      /* bigger tap target */
    height: auto;
    padding: 8px 12px;
  }
  .instant-search__input {
    padding: 6px 8px 6px 36px; /* leaves room for icon */
    font-size: 16px;
  }
  .instant-search__icon {
    width: 22px;
    height: 22px;
    left: 10px;
  }

  /* Cards: breathe on tablet, keep single column (desktop 2-col kept by your 1100px rule) */
  .adminClubInfoWrapper { margin: 8px 0; padding-top: 10px; }
  .adminaboutClub,
  .adminNextMeeting,
  .adminInDangerDiv,
  .adminPastMeetings,
  .oppLength,
  .oppContact,
  .oppLoc {
    padding: 16px;
    padding-top: 56px; /* for header strip */
  }

  /* Avoid nested scroll on tablet unless truly needed */
  .adminPastMeetings { max-height: 55vh; }
}

/* Phones: tighter layout, single column, full-width buttons */
@media (max-width: 700px) {

  /* Left column panels */
  .announcement-controls { min-height: 0; }
  .clubsInDanger { 
    max-height: none; justify-content: center; align-items: center;     height: auto; 
    align-items: center; 
    justify-content: center;
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    padding: 0;
    max-height: 250px;
  }
  .clubsInDangerButtons {
    grid-template-columns: 1fr;   /* one per row */
    gap: 8px;
  }
  .clubsInDangerButtons button {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 6px;
  }

  /* Right column cards: no internal scroll on phones */
  .adminaboutClub,
  .adminNextMeeting,
  .adminInDangerDiv,
  .adminPastMeetings,
  .oppLength,
  .oppContact,
  .oppLoc {
    padding: 14px;
    padding-top: 52px;
  }
  .adminPastMeetings,
  .adminNextMeeting {
    max-height: 250px;
    overflow-y: scroll;  /* let page scroll, not the card */
  }

  /* Meeting chips/cards inside lists */
  .meetingInfoCard {
    height: auto;
    overflow: visible;
    padding: 12px;
    width: 100%;
  }

  /* Title row */
  .adminClubName {
    font-size: clamp(20px, 6vw, 26px);
    margin: 2px 8px;
    text-align: center;
  }
  .adminLine { width: 30%; }

  /* Action buttons become full-width, comfortable tap size */
  .DCB-GCB-Wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 14px 0 8px;
  }
  .deleteClubButton,
  .adminGoToClubButton,
  .resetPointsButton {
    width: 90%;
    min-height: 48px;
    margin: 0;
    margin-bottom: 5px;
    font-size: 16px;
    letter-spacing: .5px;
  }

  /* Tone down heavy hover effects on mobile to avoid layout shifts */
  .deleteClubButton:hover { transform: none; }
  .adminGoToClubButton:hover span { animation: none; }
  .deleteClubButton .spark { display: none !important; } /* hide sparks on phones */

  /* Modals: edge-to-edge, bigger controls */
  .announcement-modal-content {
    margin: 8vh auto;
    width: 94vw;
    max-width: none;
    max-height: 84vh;
    border-radius: 10px;
    padding: 16px;
  }
  .announcement-modal-content input,
  .announcement-modal-content textarea {
    font-size: 16px;
    padding: 10px 12px;
  }
  .announcement-buttons {
    gap: 10px;
    flex-wrap: wrap;
  }
  .announcement-buttons button,
  #clearAnnouncementLogBtn,
  #closeAnnouncementLogBtn {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  .adminLineThree{display: none;}

  /* Announcement log list: more compact spacing */
  #announcementLogList { gap: 10px; }
  #announcementLogList .announcement-log-item { padding: 12px; }
  #announcementLogList .announcement-actions { gap: 8px; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .adminGoToClubButton::before,
  .adminGoToClubButton:hover span,
  .deleteClubButton,
  .deleteClubButton:hover,
  .deleteClubButton .spark,
  .site-announcement-banner,
  .announcement-modal-content {
    animation: none !important;
    transition: none !important;
  }
}

/* ================================
   CLUB DASH — MOBILE/TABLET LAYER
   Append at end of file
   ================================ */

/* ---------- Tablets (≤ 900px) ---------- */
@media (max-width: 900px) {

  /* Space + readable scale */
  .clubInfo { gap: 16px; padding: 16px; }

  /* Lay out "About" + "Quick Facts" side-by-side when possible,
     then auto-wrap cleanly */
  .basicClubInfoBox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    width: 100vw;
  }

  .clubInfoBox {
    padding: 16px;
  }

  .hTwoCDash {
    font-size: clamp(1.2rem, 2.6vw, 1.4rem);
    padding: 12px 16px;
    margin: -16px -16px 12px -16px; /* match reduced padding */
  }

  /* Meeting list: modest internal scroll on tablet */
  #meetingListScrollable {
    max-height: 55vh;
    overflow: auto;
  }

  /* Meeting row: give the content more room */
  .meetingDiv {
    gap: 8px;
    padding: 8px 10px;
    margin: 10px 6px;
  }

  .meetingBox { width: 100%; }
  .editMeetingDiv {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .meetingEdit {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .addButton {
    width: 100%;
    height: auto;
    padding: 12px;
    font-size: 16px;
  }
}

/* ---------- Phones (≤ 700px) ---------- */
@media (max-width: 700px) {

  #outlook, #meetingLog {
  max-height: 300px;
  overflow-y: scroll;
  width: 100vw;
  }

  .clubInfo { gap: 12px; padding: 12px; }

  /* Stack "About" + "Quick Facts" */
  .basicClubInfoBox {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .clubInfoBox {
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  /* Avoid hover zoom causing layout jump on touch */
  .clubInfoBox:hover { transform: none; }

  .hTwoCDash {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
    padding: 10px 14px;
    margin: -14px -14px 10px -14px;
    line-height: 1.25;
  }

  /* Let the whole page scroll; no nested scroll in cards */
  #meetingListScrollable {
    max-height: none;
    overflow: visible;
  }

  /* Meeting entries become vertical cards */
  .meetingDiv {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    margin: 8px 4px;
    border-radius: 10px;
  }

  .meetingBox { width: 100%; }

  .editMeetingDiv {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: stretch;
  }

  .meetingEdit {
    flex: 1 1 46%;
    min-width: 140px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .addEventDiv { padding: 8px; }
  .addButton {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
  }

  /* Inputs/Textareas inside cards: full width, comfy tap target */
  .attendance,
  .locationEditBox,
  .bioEditBox,
  .recapEditBox {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    padding: 10px 12px;
  }
  .attendance { max-width: 100%; text-align: left; }

  /* Radio group: easier to tap, wraps nicely */
  .radio-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 10px 6px 0;
    padding-left: 26px; /* keep custom circle aligned */
    font-size: 15px;
  }
  .custom-radio { width: 18px; height: 18px; }

  /* Modals: edge-to-edge and taller content area */
  .confModal { padding: 16px; }
  .confModalContent {
    width: min(92vw, 520px);
    padding: 18px;
    max-height: 85vh;
  }
  .confbtn {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    border-radius: 10px;
  }

  /* Small text utilities */
  h4 { margin-top: 8px; margin-bottom: 4px; }
  .meetingAddT { font-size: 1.05rem; }
  .eventQuestion { margin: 8px 0 4px; }
  .bioQF { display: block; padding: 8px; margin: 0 0 8px 0; }

  .editHeaderControls, .headerEditBtn{
    display: none;
  }
}

.buttonRow{
  display: flex;       /* Enables flexbox layout */
  align-items: center; 
  justify-content: center;
  /* width: 70% */
  padding-left: 20%;
  padding-right: 22%;
}