
*,
*::before,
*::after {
  box-sizing: border-box;
}
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}
div.plan{
    width: 100%;
    height: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 -30px 30px #9ed9df40;
}
div.plan_header{
    width: 100%;
    height: calc(var(--headerText)*2.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: white;
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: var(--headerText);
    z-index: 3;
}
.plan_header span{
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 700;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark_blue_font);
    background-color: white;
    height: inherit;
    padding: 0 5%;
    border-radius: 50px 50px 0 0;
    box-shadow: 0 -30px 30px #9ed9df40;
}
div.buttons_plan {
    width: 25%;
    max-width: 300px;
    height: 100%;
    padding: 5% 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-evenly;
}

.buttons_plan button {
    background-color: #b9d6d5; 
    color: black;
    padding: 20px;
    border: none;
    border-radius: 15px 0 0 15px;
    min-width: 150px;
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 300;
    font-style: normal;
}
.buttons_plan button:hover {
  background-color: #9ed9df; 
  cursor: pointer;
}
tbody{
    border-color: #b9d6d5;
    border-style: solid;
    border-width: 1px;
    padding: 3px;
}
button.timetable.active {
    display: block;
    min-width: 200px;
}
div.timetable {
    display: none;
}

div.timetable.active {
    display: block;
    width: max(70%, calc(90% - 300px));
}
hr {
  box-sizing: content-box;
  height: 1;
  overflow: visible;
}

table {
    border-collapse: collapse;
    font-family: 'greycliff-cf', sans-serif;
    font-weight: 300;
    font-style: normal;
    margin: 30px 0;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}
    th, td {
      border: 1px solid #ccc;
      padding: 5px;
      text-align: center;
      vertical-align: top;
}

    th:first-child,
    td:first-child {
      width: 80px; /* narrow time column */
    }

    td.activity {
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,1); /* subtle depth */
  text-align: center;
  vertical-align: middle; /* <-- THIS is the key */
  opacity: 60%;
  padding: 5px;
 
    }
	  /* Style specific cells */
td.time, td.activity {
  background-color: transparent;/* light blue for 'time' cell */
  border-radius: 8px;
}

/* Table with inner grid lines only */
table {
  border-collapse: collapse;
  width: 100%;
}

/* Remove outer border by using box-shadow trickery */
table td:first-child,
table td:last-child,
table th:first-child,
table th:last-child {
  border-left: none;
  border-right: none;
}

table tr:first-child td,
table tr:first-child th {
  border-top: none;
}

table tr:last-child td,
table tr:last-child th {
  border-bottom: none;
}

/* Specific styling for activity blocks */
td.activity {
  border-radius: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* subtle depth */
  text-align: center;
  opacity: 100%;
  padding: 5px
	  
}

/* Time cell styling for consistency */
td.time {
  border-radius: 8px;
}