/* common css added */

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

/* common css added */


/* course schedule css added */

.heading {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

.course-schedule-area .subheading {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

.course-schedule-area {
    padding: 20px 0;
}

.course-schedule-area .filter-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-block: 2rem;
}

.course-schedule-area .filter-area .left-area,
.course-schedule-area .filter-area .right-area {
    display: flex;
    gap: 1rem;
}

.course-schedule-area .filter-area .left-area select {
    padding: 10px;
    cursor: pointer;
    font-size: 1.25rem;
}

.course-schedule-area .filter-area .right-area a {
    text-decoration: none;
    background-color: #C2E4B1;
    color: #330066;
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.25rem;
}

.course-schedule-area .filter-area .right-area a.active {
    background-color: #7f609f;
    color: #ffffff;
}

.course-schedule-area .course-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
}

.course-schedule-area .result-course-data .course-heading {
    margin: 10px 0 10px 0;
    padding: 10px 10px 10px 10px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    border-bottom: 0px solid #617029;
    background: #306;
    color: #ffffff;
}

.course-schedule-area .result-course-data .course-subheading {
    background: #c2e4b1;
    padding: 3px;
    color: #306;
    padding: 7px;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.course-schedule-area .result-course-data .course-subheading a {
    color: #306;
}

.course-schedule-area .result-course-data .course-inner p {
    font-size: 14px;
}

.course-schedule-area .result-course-data .course-inner p a {
    background-color: #ade5af;
    color: #330066;
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 15px;
    font-weight: 500;
}


.tooltip-content {
    position: absolute;
    display: none;
    padding: 20px;
    font-size: 14px;
    line-height: 1.3em;
    z-index: 999;
    margin-top: 20px;
    max-width: 400px;
    border: 1px solid gray;
    z-index: 9999;
    background-color: white;
    max-height: 200px;
    overflow-y: auto;
}

.tooltip-content table {
    table-layout: auto;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.tooltip-content table tr th,
.tooltip-content table tr td {
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    font-size: 14px;
    color: #4c4c4c;
}

/* Tooltip header/title and close button */
.tooltip-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #330066;
  margin: 0 0 10px 0;
}

.tooltip-close {
  float: right;
  background: #a7ad7c;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.1;
  cursor: pointer;
}

.tooltip-content p {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* course schedule css added */


/* cart css added */

.course-cart-area {
    padding: 50px 0;
}

.course-cart-area .table-responsive {
    overflow-x: auto;
    margin-block: 25px;
}

.course-cart-area table {
    table-layout: auto;
    width: 100%;
    border-collapse: collapse;
}

.course-cart-area table tr th,
.course-cart-area table tr td {
    text-align: left;
    border-bottom: 1px solid #ccc;
    padding: 15px 0;
    font-size: 14px;
    color: #4c4c4c;
}

.course-cart-area table tr:last-child td {
    padding: 10px 0;
}

.course-cart-area table tr td a.action-button {
    background-color: #ade5af;
    color: #330066;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

.course-cart-area .buttons-area {
    margin-bottom: 15px;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.course-cart-area .buttons-area a {
    background-color: #ade5af;
    color: #330066;
    text-decoration: none;
    border-radius: 5px;
    padding: 5px 15px;
    font-weight: 500;
}

/* Checkout Page Styles */
.checkout-area { padding: 20px 0; }
.checkout-form { margin-top: 2rem; border-top: 3px solid #330066; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.checkout-form .form-section-title { font-weight: 500; font-size: 1.2em; margin-bottom: 20px; color: #330066; }
.checkout-form .form-row { display: flex; flex-direction: column; margin-bottom: 15px; }
.checkout-form .form-row-split {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
}
.checkout-form .form-row-split .form-field {
    flex: 1 !important;
}
.checkout-form label { margin-bottom: 8px; font-weight: 500; color: #444; font-size: 14px; }
.checkout-form input[type="text"], .checkout-form input[type="email"], .checkout-form select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; }
.checkout-form .form-buttons { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0; }
.checkout-form .form-buttons a, .checkout-form .form-buttons button { padding: 10px 20px; text-decoration: none; border-radius: 5px; font-weight: 500; border: none; cursor: pointer; }
.checkout-form .form-buttons .button-secondary { background-color: #7f609f; color: #ffffff; }
.checkout-form .form-buttons .button-primary { background-color: #C2E4B1; color: #330066; }

/* Floating Cart Button */
.floating-cart-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #330066;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 30px; /* Pill shape */
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.5;
}

.floating-cart-button:hover {
    background-color: #4a2d7d;
    color: #ffffff;
}

.floating-cart-button .cart-count {
    background-color: #ff4136;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    vertical-align: middle;
}

.checkout-form-columns {
    display: flex;
    gap: 40px;
}
.checkout-form-col {
    flex: 1;
    min-width: 0;
}

/* Responsive cart table */
@media (max-width: 900px) {
  .course-cart-area .table-responsive {
    overflow-x: auto;
  }
  .course-cart-area table {
    min-width: 900px;
  }
}

@media (max-width: 600px) {
  .course-cart-area table, .course-cart-area thead, .course-cart-area tbody, .course-cart-area th, .course-cart-area td, .course-cart-area tr {
    display: block;
  }
  .course-cart-area thead tr {
    display: none;
  }
  .course-cart-area tr {
    margin-bottom: 1.5em;
    border-bottom: 2px solid #ccc;
  }
  .course-cart-area td {
    position: relative;
    padding-left: 50%;
    min-height: 40px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 15px;
  }
  .course-cart-area td:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 48%;
    padding-left: 10px;
    white-space: nowrap;
    font-weight: bold;
    color: #330066;
    content: attr(data-label);
  }
  .course-cart-area .cart-total-hours {
    font-size: 1.1em;
    margin-top: 1em;
  }
}

@media (max-width: 900px) {
  .course-schedule-area .filter-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .course-schedule-area .filter-area .left-area,
  .course-schedule-area .filter-area .right-area {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .course-schedule-area .subheading {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .course-schedule-area {
    padding: 10px 0;
  }
  .course-schedule-area .heading {
    font-size: 22px;
    line-height: 28px;
  }
  .course-schedule-area .subheading {
    font-size: 16px;
    line-height: 22px;
  }
  .course-schedule-area .filter-area {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-block: 1rem;
  }
  .course-schedule-area .filter-area .left-area,
  .course-schedule-area .filter-area .right-area {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .course-schedule-area .filter-area .left-area select {
    width: 100%;
    font-size: 18.75px;
    padding: 8px;
  }
  .course-schedule-area .filter-area .right-area a {
    width: 100%;
    text-align: center;
    font-size: 18.75px;
    padding: 6px 0;
  }
  .course-schedule-area .result-course-data {
    margin-bottom: 1.5em;
  }
  .course-schedule-area .result-course-data .course-heading {
    font-size: 16px;
    padding: 8px 6px;
  }
  .course-schedule-area .result-course-data .course-subheading {
    font-size: 13px;
    padding: 5px;
  }
  .course-schedule-area .course-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 0.3em;
    padding: 8px 0;
  }
  .course-schedule-area .result-course-data .course-inner p {
    font-size: 13px;
    margin-bottom: 0.2em;
  }
  .course-schedule-area .result-course-data .course-inner p a {
    font-size: 13px;
    padding: 4px 10px;
  }
  .floating-cart-button {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    font-size: 15px;
    padding: 10px 0;
  }
  .tooltip-content {
    position: static;
    max-width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 13px;
    box-shadow: none;
    border-radius: 0;
  }
}

/* Beaver Builder Theme Alignment for Course Listing */
.cs-course-listing-wrapper {
  font-family: inherit;
  color: inherit;
  background: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px; /* Match Beaver Builder's standard max-width */
  width: 100%;
}

.course-schedule-area {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(51,0,102,0.04);
  padding: 0;
  margin: 0 auto 2em auto;
  max-width: 100%;
}

.course-schedule-area .heading,
.course-schedule-area .subheading {
  font-family: inherit;
  color: #330066;
  margin-bottom: 1em;
}

.course-schedule-area .heading {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.course-schedule-area .subheading {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.course-schedule-area .filter-area {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: none;
  box-shadow: none;
  padding: 0;
  align-items: center;
  justify-content: space-between;
}

.course-schedule-area .filter-area .left-area,
.course-schedule-area .filter-area .right-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.course-schedule-area .filter-area .left-area select {
  font-size: 1.25rem;
  padding: 0.5em 1em;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  color: #330066;
}

.course-schedule-area .filter-area .right-area a {
  background: #c2e4b1;
  color: #330066;
  border-radius: 4px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
}

.course-schedule-area .filter-area .right-area a.active,
.course-schedule-area .filter-area .right-area a:hover {
  background: #7f609f;
  color: #fff;
}

.result-course-data {
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(51,0,102,0.04);
  background: #fff;
  overflow: hidden;
}

.course-heading {
  background: #330066;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  padding: 0.75em 1em;
  border-radius: 6px 6px 0 0;
  text-align: left;
}

.course-subheading {
  background: #c2e4b1;
  color: #330066;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  padding: 0.5em 1em;
  border-radius: 0 0 0 0;
  border-bottom: 1px solid #e0e0e0;
}

.course-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1em;
  background: #f9f9f9;
  border-radius: 0 0 6px 6px;
  position: relative;
}

.course-inner p {
  margin: 0 1em 0.5em 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 160px); /* Reserve more space for button/status */
  padding-right: 10px; /* Add padding to prevent overlap */
}

.course-inner p:last-child {
  flex: 0 0 auto;
  margin-right: 0;
  max-width: 160px; /* Slightly wider for status indicators */
  position: absolute;
  right: 1em;
  top: 1em;
  background: #ffffff; /* mask underlying text */
  padding: 0.15em; /* small inset to ensure full cover */
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  z-index: 1;
}

.course-inner p:last-child a {
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.course-inner p a,
.course-inner a {
  background: #c2e4b1;
  color: #330066;
  border: none; /* remove any default border */
  border-radius: 18px; /* smoother pill */
  padding: 0.6em 1.2em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* soft glow without border */
  display: inline-block;
}

.course-inner p a:hover,
.course-inner a:hover {
  background: #7f609f;
  color: #fff;
}

.selected-course {
  color: #1b5e20;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  background: #d7f2da;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  border: 1px solid #a5dfad;
  white-space: nowrap;
  min-width: auto;
  justify-content: center;
  box-shadow: none;
  font-size: 0.95em;
}

.selected-course .tick-icon {
  color: #1b5e20;
  font-size: 1em;
  margin-right: 0.35em;
  font-weight: 700;
}

.course-more-link {
  color: #330066;
  text-decoration: underline;
  font-size: 0.9em;
  margin-left: 0.5em;
  cursor: pointer;
}

.course-more-link:hover {
  color: #7f609f;
}

.course-tooltip {
  position: absolute;
  background: #f8f6f0;
  border: 1px solid #d4c5a0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 1.5em;
  max-width: 400px;
  z-index: 10000;
  font-size: 0.95rem;
  color: #333;
}

.course-tooltip h2 {
  color: #330066;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #c2e4b1;
}

.tooltip-details {
  margin-bottom: 1em;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 0;
  border-bottom: 1px dotted #ccc;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 700;
  color: #333;
  flex: 0 0 auto;
}

.detail-value {
  color: #333;
  font-weight: 500;
  text-align: right;
  flex: 1;
  margin-left: 1em;
}

.course-description {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #d4c5a0;
}

.course-description p {
  margin: 0;
  line-height: 1.5;
  color: #555;
}

.tooltip-close {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  background: #a7ad7c;
  color: #fff;
  border: none;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
}

.tooltip-close:hover {
  background: #8a9060;
}

/* Calendar tooltip styles */
.calendar-more-link {
  color: #330066;
  text-decoration: underline;
  font-size: 0.8em;
  margin-top: 0.2em;
  display: inline-block;
  cursor: pointer;
  font-weight: 600;
}

.calendar-more-link:hover {
  color: #7f609f;
}

.calendar-tooltip {
  position: fixed;
  background: #f8f6f0;
  border: 1px solid #d4c5a0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 1.5em;
  max-width: 400px;
  z-index: 10001;
  font-size: 0.95rem;
  color: #333;
}

.calendar-tooltip h2 {
  color: #330066;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1em 0;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #c2e4b1;
}

.calendar-tooltip-close {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  background: #a7ad7c;
  color: #fff;
  border: none;
  padding: 0.3em 0.8em;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
}

.calendar-tooltip-close:hover {
  background: #8a9060;
}

#calendar-tooltip-container {
  position: relative;
  z-index: 10000;
}

.floating-cart-button {
  background: #330066;
  color: #fff;
  border-radius: 30px;
  font-family: inherit;
  font-size: 0.8em; /* reduce overall size by ~20% */
  line-height: inherit;
  font-weight: inherit;
  padding: 0.56em 1.6em; /* 20% less than 0.7em 2em */
  box-shadow: 0 2px 8px rgba(51,0,102,0.08);
  bottom: 20px;
  right: 20px;
  left: auto;
  width: auto;
}

.floating-cart-button .cart-count {
  background: #ff4136;
  color: #fff;
  border-radius: 50%;
  padding: 0;
  width: 19px; /* 20% smaller than 24px */
  height: 19px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 10px;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .course-schedule-area .filter-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .course-schedule-area .filter-area .left-area,
  .course-schedule-area .filter-area .right-area {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .course-schedule-area .subheading {
    font-size: 1.1rem;
  }
}

@media (max-width: 600px) {
  .cs-course-listing-wrapper {
    padding: 0 0.5em;
  }
  .course-schedule-area {
    padding: 0;
  }
  .course-schedule-area .heading {
    font-size: 1.2rem;
    line-height: 1.2;
  }
  .course-schedule-area .subheading {
    font-size: 1rem;
    line-height: 1.2;
  }
  .course-schedule-area .filter-area {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-block: 1rem;
  }
  .course-schedule-area .filter-area .left-area,
  .course-schedule-area .filter-area .right-area {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .course-schedule-area .filter-area .left-area select {
    width: 100%;
    font-size: 1.25rem;
    padding: 0.5em;
  }
  .course-schedule-area .filter-area .right-area a {
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    padding: 0.5em 0;
  }
  .result-course-data {
    margin-bottom: 1em;
  }
  .course-heading {
    font-size: 1rem;
    padding: 0.5em 0.7em;
  }
  .course-subheading {
    font-size: 0.95rem;
    padding: 0.4em 0.7em;
  }
  .course-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
    padding: 0.7em 0.5em;
    position: relative;
  }
  .course-inner p {
    font-size: 0.95rem;
    margin-bottom: 0.2em;
    flex: none;
    max-width: 100%;
    padding-right: 0; /* Remove padding on mobile */
  }
  .course-inner p:last-child {
    flex: none;
    margin-bottom: 0;
    position: static;
    max-width: 100%;
    width: 100%;
    background: transparent; /* Remove background on mobile */
    padding: 0.4em 0;
    text-align: center;
    box-shadow: none;
  }
  .course-inner p:last-child a {
    width: 100%;
    text-align: center;
  }
  .course-inner p a {
    font-size: 0.95rem;
    padding: 0.3em 0.7em;
  }
  .floating-cart-button {
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    font-size: 1rem;
    padding: 0.7em 0;
  }
  .tooltip-content {
    position: static;
    max-width: 100%;
    margin-top: 10px;
    padding: 0.7em;
    font-size: 0.95rem;
    box-shadow: none;
    border-radius: 0;
  }
}

/* Beaver Builder Theme Alignment for Cart Page */
.cs-course-cart-wrapper {
  font-family: inherit;
  color: inherit;
  background: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px; /* Match Beaver Builder's standard max-width */
  width: 100%;
}

.course-cart-area {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(51,0,102,0.04);
  padding: 0;
  margin: 0 auto 2em auto;
  max-width: 100%;
}

.course-cart-area .heading {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin-bottom: 1.5em;
}

.course-cart-area .table-responsive {
  overflow-x: auto;
  margin-block: 25px;
}

.course-cart-area table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.course-cart-area table tr th,
.course-cart-area table tr td {
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  padding: 1em 0.7em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.course-cart-area table tr th {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  background: #f5f5f5;
}

.course-cart-area table tr:last-child td {
  padding: 1em 0.7em;
}

.course-cart-area table tr td a.action-button {
  background-color: #c2e4b1;
  color: #330066;
  text-decoration: none;
  padding: 0.4em 1em;
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  display: inline-block;
}

.course-cart-area table tr td a.action-button:hover {
  background: #7f609f;
  color: #fff;
}

.course-cart-area .buttons-area {
  margin-bottom: 15px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.course-cart-area .buttons-area a {
  background-color: #c2e4b1;
  color: #330066;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.7em 1.5em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  display: inline-block;
}

.course-cart-area .buttons-area a:hover {
  background: #7f609f;
  color: #fff;
}

@media (max-width: 900px) {
  .course-cart-area {
    padding: 1.2em 0.7em 0.7em 0.7em;
  }
  .course-cart-area .heading {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
  }
}

@media (max-width: 600px) {
  .cs-course-cart-wrapper {
    padding: 0 0.5em;
  }
  .course-cart-area {
    padding: 0.7em 0.2em 0.2em 0.2em;
  }
  .course-cart-area .heading {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin-bottom: 1em;
  }
  .course-cart-area table, .course-cart-area thead, .course-cart-area tbody, .course-cart-area th, .course-cart-area td, .course-cart-area tr {
    display: block;
  }
  .course-cart-area thead tr {
    display: none;
  }
  .course-cart-area tr {
    margin-bottom: 1.2em;
    border-bottom: 2px solid #e0e0e0;
  }
  .course-cart-area td {
    position: relative;
    padding-left: 48%;
    min-height: 40px;
    border: none;
    border-bottom: 1px solid #eee;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    background: #fff;
  }
  .course-cart-area td:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 46%;
    padding-left: 10px;
    white-space: nowrap;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    content: attr(data-label);
  }
  .course-cart-area .cart-total-hours {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    margin-top: 1em;
  }
  .course-cart-area .buttons-area {
    flex-direction: column;
    gap: 0.7em;
    align-items: stretch;
  }
  .course-cart-area .buttons-area a {
    width: 100%;
    text-align: center;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    padding: 0.7em 0;
  }
} 

/* Beaver Builder Theme Alignment for Checkout Page */
.checkout-area {
  font-family: inherit;
  color: inherit;
  background: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px; /* Match Beaver Builder's standard max-width */
  width: 100%;
}

.checkout-area .heading {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin-bottom: 1.5em;
}

.checkout-flex-container {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(51,0,102,0.04);
  padding: 0;
  margin: 0 auto 2em auto;
  max-width: 100%;
}

.checkout-form-container {
  max-width: 100%;
}

.checkout-form {
  margin-top: 2rem;
  border-top: 3px solid #330066;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  border-radius: 6px;
}

.checkout-form .form-section-title {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin-bottom: 20px;
}

.checkout-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.checkout-form .form-row-split {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px !important;
}

.checkout-form .form-row-split .form-field {
  flex: 1 !important;
}

.checkout-form label {
  margin-bottom: 8px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.checkout-form .form-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.checkout-form .form-buttons a,
.checkout-form .form-buttons button {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  border: none;
  cursor: pointer;
}

.checkout-form .form-buttons .button-secondary {
  background-color: #7f609f;
  color: #ffffff;
}

.checkout-form .form-buttons .button-primary {
  background-color: #C2E4B1;
  color: #330066;
}

.checkout-form-columns {
  display: flex;
  gap: 40px;
}

.checkout-form-col {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .checkout-area {
    padding: 0 0.5em;
  }
  .checkout-flex-container {
    padding: 1.2em;
  }
  .checkout-form {
    padding: 1.2em;
  }
  .checkout-form-columns {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .checkout-area {
    padding: 0 0.5em;
  }
  .checkout-flex-container {
    padding: 0.7em;
  }
  .checkout-form {
    padding: 0.7em;
  }
  .checkout-form .form-row-split {
    flex-direction: column !important;
    gap: 15px !important;
  }
  .checkout-form .form-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .checkout-form .form-buttons a,
  .checkout-form .form-buttons button {
    width: 100%;
    text-align: center;
  }
} 

/* Hide "Change Personal Info" button on checkout page */
.checkout-area .buttons-area .button-secondary {
  display: none;
}

/* My Calendar Button Styles */
.my-calendar-btn {
  background-color: #c2e4b1;
  color: #330066;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.7em 1.5em;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  transition: background 0.2s, color 0.2s;
  box-shadow: none;
  display: inline-block;
}

.my-calendar-btn:hover {
  background: #7f609f;
  color: #fff;
}

/* Calendar Modal Styles */
.calendar-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.calendar-modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.calendar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #330066;
  color: white;
  border-radius: 8px 8px 0 0;
}

.calendar-modal-header h3 {
  margin: 0;
  font-size: 1.2em;
}

.calendar-close,
.my-calendar-close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.calendar-close:hover,
.my-calendar-close:hover {
  color: white;
}

.calendar-modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Calendar Navigation */
.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
}

.calendar-nav button {
  background: #c2e4b1;
  color: #330066;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.calendar-nav button:hover {
  background: #7f609f;
  color: white;
}

.calendar-month-label {
  font-weight: bold;
  font-size: 1.1em;
  color: #330066;
}

/* Calendar Table */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.calendar-table th {
  background: #f5f5f5;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  color: #330066;
  border: 1px solid #e0e0e0;
}

.calendar-table td {
  border: 1px solid #e0e0e0;
  padding: 8px;
  text-align: center;
  vertical-align: top;
  min-height: 80px;
  position: relative;
}

.calendar-day {
  font-weight: bold;
  margin-bottom: 5px;
}

.calendar-events {
  margin-top: 5px;
}

.calendar-event {
  background: #c2e4b1;
  color: #330066;
  padding: 4px 6px;
  margin: 2px 0;
  border-radius: 3px;
  font-size: 0.8em;
  line-height: 1.2;
  word-wrap: break-word;
}

.calendar-event strong {
  display: block;
  font-size: 0.9em;
}

.calendar-event small {
  display: block;
  font-size: 0.7em;
  opacity: 0.8;
}

.has-events {
  background-color: #f8f9fa;
}

/* Responsive Calendar */
@media (max-width: 768px) {
  .calendar-modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .calendar-table th,
  .calendar-table td {
    padding: 4px;
    font-size: 0.9em;
  }
  
  .calendar-event {
    font-size: 0.7em;
    padding: 2px 4px;
  }
  
  .calendar-nav button {
    padding: 6px 12px;
    font-size: 0.9em;
  }
}

/* Checkout Summary Styles */
.checkout-summary-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
  border: 1px solid #e9ecef;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.summary-title {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #330066;
}

.cart-items-summary {
  margin-bottom: 25px;
}

.cart-item {
  background: #fff;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.course-code {
  background: #330066;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}

.course-campus {
  color: #6c757d;
  font-size: 0.9em;
  font-weight: 500;
}

.course-title {
  font-weight: 600;
  color: #330066;
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
}

.detail-label {
  color: #6c757d;
  font-weight: 500;
}

.detail-value {
  color: #330066;
  font-weight: 600;
}

.order-summary-footer {
  border-top: 2px solid #e9ecef;
  padding-top: 20px;
  margin-top: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95em;
}

.summary-row.total {
  border-top: 1px solid #dee2e6;
  padding-top: 15px;
  margin-top: 15px;
  font-weight: 700;
  font-size: 1.1em;
  color: #330066;
}

.summary-label {
  color: #495057;
  font-weight: 500;
}

.summary-value {
  color: #330066;
  font-weight: 600;
}

.summary-buttons {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 15px;
  flex-direction: column;
}

.summary-buttons .button-secondary,
.summary-buttons .button-primary,
.summary-buttons form {
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.95em;
  transition: all 0.2s ease;
}

.summary-buttons form {
  padding: 0;
  margin: 0;
  display: inline;
}

/* Confirmation page button layout */
.confirmation-buttons {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.confirmation-buttons .left-button {
  flex: 0 0 auto;
}

.confirmation-buttons .right-button {
  flex: 0 0 auto;
}

.button-secondary-small {
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.85em;
  transition: all 0.2s ease;
  background-color: #6c757d;
  color: white;
  display: inline-block;
}

.button-secondary-small:hover {
  background-color: #5a6268;
  color: white;
  text-decoration: none;
}

.confirmation-buttons form {
  padding: 0;
  margin: 0;
  display: inline;
}

@media (max-width: 768px) {
  .confirmation-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .confirmation-buttons .left-button,
  .confirmation-buttons .right-button {
    width: 100%;
    text-align: center;
  }
}

/* Thank you page button layout */
.thank-you-buttons {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.thank-you-buttons .button-secondary,
.thank-you-buttons .button-primary {
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.95em;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .thank-you-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .thank-you-buttons .button-secondary,
  .thank-you-buttons .button-primary {
    width: 100%;
    text-align: center;
  }
}

.summary-buttons .button-secondary {
  background-color: #6c757d;
  color: #ffffff;
}

.summary-buttons .button-secondary:hover {
  background-color: #5a6268;
}

.summary-buttons .button-primary {
  background-color: #c2e4b1;
  color: #330066;
}

.summary-buttons .button-primary:hover {
  background-color: #afce9f;
}

/* Responsive adjustments for checkout summary */
@media (max-width: 900px) {
  .checkout-summary-container {
    position: static;
    margin-top: 20px;
  }
}

/* Campus Calendar Page Styles - Matching HHS Design */
.campus-calendar-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1em;
  background: #fff;
  position: relative;
  overflow-x: hidden;
}

.campus-calendar-header {
  background: #fff;
  color: #333;
  padding: 2em 0 1em 0;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1em;
}

.campus-calendar-header h1.campus-title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  flex: 1;
  min-width: 300px;
}

.campus-calendar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2em;
  padding: 1em 0;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 10;
}

.campus-calendar-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 60px;
  padding: 0 2em;
}

.calendar-nav-btn {
  background: #330066;
  color: #fff;
  border: none;
  padding: 0.8em 1.5em;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(51,0,102,0.2);
  width: 120px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav-btn:hover {
  background: #7f609f;
}

.calendar-nav-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.calendar-nav-btn:disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

.prev-btn {
  order: 1;
}

.next-btn {
  order: 3;
}

/* Responsive design for navigation buttons */
@media (max-width: 768px) {
  .campus-calendar-controls {
    flex-direction: column;
    gap: 1em;
  }
  
  .prev-btn, .next-btn {
    position: static;
    width: 100%;
    max-width: 200px;
  }
  
  .current-month-display {
    font-size: 1.8rem;
    margin: 0.5em 0;
  }
  
  .campus-calendar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }
  
  .campus-calendar-header h1.campus-title {
    font-size: 2rem;
    margin-bottom: 0;
    min-width: auto;
  }
  
  .campus-filter-buttons {
    gap: 0.4em;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
  }
  
  .campus-filter-buttons .campus-nav-btn {
    font-size: 0.75rem;
    padding: 0.5em 0.8em;
    min-width: auto;
  }
}

.current-month-display {
  font-size: 2.2rem;
  font-weight: 700;
  width: 300px;
  text-align: center;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
  order: 2;
}

.campus-filter-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.8em;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}

.campus-nav-buttons {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.campus-nav-btn {
  background: #330066;
  color: #fff;
  border: none;
  padding: 0.6em 1em;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(51,0,102,0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

.campus-nav-btn:hover {
  background: #7f609f;
  color: #fff;
}


.campus-calendar-content {
  background: #fff;
  padding: 0;
  margin-bottom: 2em;
  min-height: 500px;
  position: relative;
}

.calendar-grid {
  width: 100%;
}


.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: none;
}

.weekday {
  background: #fff;
  padding: 0.8em 0.5em;
  text-align: center;
  font-weight: 700;
  color: #333;
  font-size: 1.35rem;
  border-right: 1px solid #ddd;
  font-family: Arial, sans-serif;
}

.weekday:last-child {
  border-right: none;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
}

.calendar-day {
  background: #fff;
  min-height: 120px;
  padding: 0.5em;
  position: relative;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.calendar-day:nth-child(7n) {
  border-right: none;
}

.calendar-day.empty {
  background: #fff;
}

.calendar-day.has-events {
  background: #fff;
}

.calendar-day.today {
  background: #e8f5e8;
}

/* All calendar days have uniform white background */
.calendar-day.sunday,
.calendar-day.monday,
.calendar-day.tuesday,
.calendar-day.wednesday,
.calendar-day.thursday,
.calendar-day.friday,
.calendar-day.saturday {
  background: #fff;
}

.day-number {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3em;
  font-size: 1.35rem;
  font-family: Arial, sans-serif;
}

.day-events {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.calendar-event {
  padding: 0.4em 0.6em;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  text-align: left;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.4em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.calendar-event:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.calendar-event.start {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e9ecef;
}

.calendar-event.end {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e9ecef;
}

.calendar-event.registration {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #e9ecef;
}

/* Category-based course display */
.course-category-section {
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}

.category-heading {
  background: #330066;
  color: #fff;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid #2a0052;
  text-align: center;
}

.course-category-section .result-course-data {
  border-bottom: 1px solid #f0f0f0;
}

.course-category-section .result-course-data:last-child {
  border-bottom: none;
}

.no-courses-in-category {
  padding: 2rem;
  text-align: center;
  color: #666;
  font-style: italic;
  background: #f8f9fa;
  margin: 0;
}

.event-text {
  display: block;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-family: Arial, sans-serif;
  font-size: 1.04rem;
  color: #333;
  margin-bottom: 0.2em;
}

.course-time {
  color: #333;
  font-size: 0.8rem;
  font-weight: 400;
  margin-bottom: 0.2em;
  font-family: Arial, sans-serif;
}

.course-more-link {
  color: #0066cc;
  text-decoration: underline;
  font-size: 0.75rem;
  font-family: Arial, sans-serif;
}

.course-more-link:hover {
  color: #004499;
}

.online-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #333;
  margin-right: 0.3em;
  vertical-align: middle;
  position: relative;
}

.online-indicator::after {
  content: '=';
  position: absolute;
  top: -2px;
  left: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
}

.campus-calendar-legend {
  background: #fff;
  padding: 1em 0;
  border-top: 1px solid #ddd;
  margin-top: 1em;
}

.campus-calendar-legend h3 {
  margin: 0 0 1em 0;
  color: #333;
  font-size: 1rem;
  font-family: Arial, sans-serif;
}

.legend-items {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #333;
}

.loading-message, .error-message {
  text-align: center;
  padding: 2em;
  color: #666;
}

.error-message {
  color: #d32f2f;
  background: #ffebee;
  border-radius: 4px;
  border: 1px solid #ffcdd2;
}

.campus-calendar-error {
  text-align: center;
  padding: 3em 2em;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(51,0,102,0.04);
  max-width: 600px;
  margin: 2em auto;
}

.campus-calendar-error h2 {
  color: #330066;
  margin-bottom: 1em;
}

.campus-calendar-error p {
  color: #666;
  margin-bottom: 2em;
}

/* Mobile Responsive for Campus Calendar */
@media (max-width: 768px) {
  .campus-calendar-page-wrapper {
    padding: 1em 0.5em;
  }
  
  .campus-calendar-header {
    padding: 1.5em 1em;
  }
  
  .campus-calendar-header h1 {
    font-size: 1.5rem;
  }
  
  .campus-calendar-nav {
    flex-direction: column;
    align-items: stretch;
  }
  
  .campus-calendar-controls {
    justify-content: center;
  }
  
  .current-month-display {
    min-width: auto;
  }
  
  .campus-calendar-content {
    padding: 1em;
  }
  
  .calendar-day {
    min-height: 80px;
    padding: 0.3em;
  }
  
  .day-number {
    font-size: 0.9rem;
  }
  
  .calendar-event {
    font-size: 0.7rem;
    padding: 0.1em 0.3em;
  }
  
  .legend-items {
    flex-direction: column;
    gap: 1em;
  }
}

/* Calendar Icon Styling */
.calendar-icon {
    display: inline-block;
    margin-right: 0.3em;
    font-size: 0.9em;
    vertical-align: middle;
}

/* Specific styling for different button types */
.campus-calendar-btn .calendar-icon,
.campus-nav-btn .calendar-icon,
.my-calendar-btn .calendar-icon {
    margin-right: 0.4em;
}

.calendar-nav-btn .calendar-icon {
    margin-right: 0.3em;
}

.calendar-nav-btn.next-btn .calendar-icon {
    margin-right: 0;
    margin-left: 0.3em;
}

/* Campus Calendar Button Styling */
.campus-calendar-btn {
    background: #c2e4b1;
    color: #330066;
    border-radius: 4px;
    padding: 0.5em 1.2em;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    display: inline-block;
    white-space: nowrap;
}

.campus-calendar-btn:hover {
    background: #7f609f;
    color: #fff;
}

/* Download Catalog Button Styling */
.download-catalog-btn {
    background: #c2e4b1;
    color: #330066;
    border-radius: 4px;
    padding: 0.5em 1.2em;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    display: inline-block;
    white-space: nowrap;
}

.download-catalog-btn:hover {
    background: #7f609f;
    color: #fff;
}

.download-icon {
    display: inline-block;
    margin-right: 0.4em;
    font-size: 0.9em;
    vertical-align: middle;
}

/* Subheading with buttons layout */
.subheading-with-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.subheading-with-buttons .subheading {
    margin-bottom: 0;
    flex: 1;
}

.subheading-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Mobile responsive for subheading with buttons */
@media (max-width: 900px) {
    .subheading-with-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .subheading-buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .subheading-with-buttons {
        gap: 0.5rem;
    }
    
    .subheading-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .subheading-buttons .campus-calendar-btn,
    .subheading-buttons .download-catalog-btn {
        width: 100%;
        text-align: center;
        font-size: 1.25rem;
        padding: 0.5em 0;
    }
} 