html { 
      font-size: clamp(10px, 1.1vw + 0.25rem, 18px);
    }

    body {
      font-family: "Noto Sans", sans-serif;
      font-size: 1rem;
      font-style: normal;
      color: #333333;
      margin: 0;
      padding: 0;
	  background-image: url('https://cdn.hartbeeps.com/images/background-images/hb-home-bg-sept24.png');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
    }

    h1 { font-size: 1.7rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.017rem; color: #fff;}
    h2 { font-size: 1.625rem; line-height: 1.28; font-weight: 500; color: #fff;}
    h3 { font-size: 1.375rem; line-height: 1.30; font-weight: 400; color: #fff;}
    h4 { font-size: 1.25rem; line-height: 1.32; font-weight: 600; }
    h5 { font-size: 1.125rem; line-height: 1.35; font-weight: 400; }
    h6 { font-size: 1rem; line-height: 1.40; font-weight: 400; }
    
    .header { background: #0091d6; width: 100%; font-size: 14px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); position: relative; padding: 8px 0; }
    .header h1 { font-size: 22px; line-height: 1; margin: 5px 5px 0 0; color: #ffffff; padding: 0 }
    .profile-photo {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      border: 3px solid #f4326e;
      object-fit: cover;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      float: left;
      margin: 3px 0 0 10px;
    }
    .with-jessie {
      float: left;
      margin: 10px 0 0 6px;
      font-style: italic;
      font-size: 12px;
      font-weight: 600;
      color: #ffffff;
      transform: rotate(-5deg);
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
      line-height: 1.2;
    }
    
    input, select {
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-family: "Noto Sans", sans-serif;
      font-size: 1rem;
      color: #333333;
    }

    .row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
    .field { display: flex; flex-direction: column; gap: 5px; }
    label { font-size: 12px; font-weight: 600; color: #fff; }
    input, select { padding: 8px; border: 1px solid #ccc; border-radius: 6px; }
    button { padding: 8px 12px; border: 1px solid #f4326e; background: #f4326e; color: #ffffff; border-radius: 6px; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
    button.secondary { background: #f4326e; color: #ffffff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
    .toolbar { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; }
    .status { font-size: 13px; color: #555; }
    table { border-collapse: collapse; margin-top: 12px; width: 95% }
    th, td { border-bottom: 1px solid #eee; padding: 1%; text-align: left; vertical-align: top; }
    th { color: #555; text-transform: uppercase; }
    .muted { color: #666; }
    .chip { display: inline-block; padding: 2px 6px; border-radius: 999px; border: 1px solid #ddd; margin-right: 6px; }
    .chip-available { background-color: #4CAF50; }
    .chip-full { background-color: #F44336; }
    .chip-unknown { background-color: #808080; }
    .links a { display: inline-block; margin: 0 0 5px 5px; padding: 10px 10px; border: 1px solid #f4326e; background: #f4326e; color: #ffffff; border-radius: 6px; cursor: pointer; text-decoration: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); }
    .links a.overview-link { background: #0091d6; border: 1px solid #0091d6; }
    
    .error { background: #ffeaea; color: #a20000; padding: 10px; border: 1px solid #ffb3b3; border-radius: 6px; margin-top: 12px; }
    .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f6f8fa; padding: 8px; border-radius: 6px; overflow: auto; }
    
    .no-results {
      background: #f6f8fa;
      color: #333333;
      padding: 12px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      margin-top: 12px;
      font-family: "Noto Sans", sans-serif;
      font-size: 1rem;
      text-align: center;
    }
    
    .fL { float: left }
    .fR { float: right }
    .clear { clear: both }
    .pad10 { padding: 10px }
    .pad0 { padding: 0 }
    .padB0 { padding-bottom: 0px }
    .padT0 { padding-top: 0px }
    .padT5 { padding-top: 5px }
    .pad1p { padding: 1% }
    .hidden { display: none }
    .w100p { width: 100% }
    
    .redBG { background: #F44336 }
    .greenBG { background: #4CAF50 }
    .hbPinkBG { background: #f4326e }
    .hbBlueBG { background: #0091d6 }
    
    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      overflow: auto;
    }
    .modal-content {
      background: #fff;
      margin: 10% auto;
      padding: 20px;
      border-radius: 6px;
      max-width: 90%;
      width: 500px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      position: relative;
    }
    .modal-close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.5rem;
      cursor: pointer;
      color: #333;
    }
    .modal-close:hover {
      color: #f4326e;
    }
    #modalBody {
      white-space: pre-wrap; /* Preserve newlines from descriptions */
      font-size: 0.9rem;
      line-height: 1.4;
    }
    .description-trigger {
      cursor: pointer;
      color: #f4326e; /* Hartbeeps pink for class name */
      font-size: 1.2rem;
      font-weight: 600;
      user-select: none;
	  display: inline-block;
    }
    .description-trigger:hover {
      text-decoration: underline;
    }
    /* Class info section */
    .class-info-content {
      background: #fff;
      padding: 10px 10px 5px 10px;
      border-radius: 6px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      margin-bottom: 12px;
      max-width: 95%;
    }
    .class-info-content h3 {
      margin: 0 0 10px 0;
      font-size: 1.375rem;
      font-weight: 400;
      color: #333333;
    }
    .class-info-content p {
      margin: 8px 0;
      font-size: 0.9rem;
      line-height: 1.4;
    }
    .class-info-content .class-name {
      color: #f4326e;
      font-weight: 600;
    }
	
	.resultsTableCard {
		background-color: #e2f2fb;
		padding: 10px;
		margin: 10px 0 10px 0;
		border-radius: 6px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
		transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for hover effects */
		  position: relative; /* Ensure z-index works for layering */
		  z-index: 1; /* Default layer */
	}

		.resultsTableCard:hover {
		  transform: scale(1.005) translateY(-2px); /* Slight scale and lift */
		  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stronger shadow for pop-out effect */
		  z-index: 2; /* Bring card above others on hover */
		}

	.CardLeft {
		width:55%;
		float:left;
	}
	.CardRight {
		width:44%;
		float:right;
	}
	.resultsTableCard.fully-booked {
	  background: #ffd5e2;
	}
	
	/* Footer styles */
	footer {
	  background-image: url('https://cdn.hartbeeps.com/images/background-images/testimonialbg.png');
	  background-size: contain;
	  background-position: left;
	  background-repeat: no-repeat;
	  background-color:#5EB4E7;
	  width: 92%;
	  margin: 20px auto 0;
	  padding: 4%;
	  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2); /* Top drop shadow */
	  color: #ffffff;
	  text-align: center;
	  font-family: "Noto Sans", sans-serif;
	  font-size: 0.9rem;
	  line-height: 1.4;
	}
	footer p {
	  margin: 0;
	}
	footer a {
	  color: #ffffff; /* White for links to contrast with background */
	  text-decoration: none;
	  font-weight: 600;
	}
	footer a:hover {
	  text-decoration: underline;
	}