@charset "utf-8";
/* CSS Expandable  */

.collapsible {
  background-color: #FFF;
  color: #333;
  cursor: pointer;
  padding: 12px;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  border-radius: 15px;
  margin-top: 10px;
  margin-bottom: 6px;
  margin-left: 10px;
  width: 150px;
  display: inline-block; /* prevents full-width stretching */
  transition: background-color 0.6s ease;
}

.collapsible:hover {
  background-color: #6FC;
}

.content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  border-left: 3px solid #ccc;
  background-color: #ebe8de;
  border-radius: 20px;
  box-sizing: border-box;
  visibility: hidden;       /* hides the element visually */
  opacity: 0;               /* fades it out */
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}

.content.open {
  max-height: 1000px;       /* JS sets this dynamically */
  padding: 15px;
  visibility: visible;
  opacity: 1;
}

.expand {
  width: 50%;
  margin-left: 5%;
  background-color: #F7EFE3; /* parchment tone */
  border-left: 3px solid #ccc;
  border-radius: 20px;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  overflow: visible;
  padding: 1em 1.5em 1.5em 1.5em; /* top, right, bottom, left */
  display: flow-root;
}

.expand:hover {
  background-color: #f5f0d0; /* soft gold on hover */
}

.message {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2a5d9f; /* dignified blue tone */
  margin: 0.5em 0;
}

.messagep {
 font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
 font-size: 17px;
 line-height: 18px;
 color: #2a5d9f; /* Optional: dignified blue tone */
}
#footerMessage {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}


/* Optional: style for active button */
.collapsible.active {
  background-color: #e8f5e9; /* soft green */
  font-weight: bold;
}



