:root {
  --ic-font-size: 1.05rem;
  --ic-max-width: 72rem;
}

/* Typography & layout */
body {
  font-size: var(--ic-font-size);
  line-height: 1.6;
  background-color: #ffffff;
  color: #212529;
}

main.container {
  max-width: var(--ic-max-width);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Buttons */
.btn-next {
  background-color: #3b9594;
  border-color: #3b9594;
  color: #fff;
}
.btn-next:hover {
  background-color: #348786;
  border-color: #2d7776;
  color: #fff;
}

  .tool-btn {
    width: 150px;          /* fixed width */
    text-align: center;    /* make the label centered */
  }

/* === Plan (amber) === */
.btn-plan {
  background-color: #d68b00;
  border: 1px solid #d68b00;
  color: #fff;
}
.btn-plan:hover {
  background-color: #b97700;
  border-color: #b97700;
  color: #fff;
}

/* === Apply (green) === */
.btn-apply {
  background-color: #3a8146;
  border: 1px solid #3a8146;
  color: #fff;
}
.btn-apply:hover {
  background-color: #306d3a;
  border-color: #306d3a;
  color: #fff;
}

/* === Report (purple) === */
.btn-report {
  background-color: #5b4ba0;
  border: 1px solid #5b4ba0;
  color: #fff;
}
.btn-report:hover {
  background-color: #4a3c87;
  border-color: #4a3c87;
  color: #fff;
}

/* === Reflect (rose) === */
.btn-reflect {
  background-color: #c44569;
  border: 1px solid #c44569;
  color: #fff;
}
.btn-reflect:hover {
  background-color: #a63a59;
  border-color: #a63a59;
  color: #fff;
}


/* Titles, general spacing */
h1, h2, h3, h4, h5 {
  line-height: 1.3;
}
p {
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* === Voice input styling === */

/* Reserve space inside inputs/areas for the mic */
.form-control.has-mic {
  padding-right: 2.5rem !important;
}

/* Mic inside single-line inputs: vertically centred */
.input-mic-btn {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c757d;   /* muted grey */
  line-height: 1;
  z-index: 2;
}

/* Mic inside textareas: top-right (avoids scrollbar) */
.textarea-mic-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c757d;
  line-height: 1;
  z-index: 2;
}

.input-mic-btn .bi,
.textarea-mic-btn .bi {
  font-size: 1.1rem;
}

.input-mic-btn:hover,
.input-mic-btn:focus,
.textarea-mic-btn:hover,
.textarea-mic-btn:focus {
  color: #0d6efd;   /* blue when hovered */
}

/* Pulse animation when listening */
.voice-btn.listening .bi-mic-fill {
  color: #0d6efd;
  animation: mic-pulse 1s infinite ease-in-out;
}

@keyframes mic-pulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.25); opacity: 0.6; }
  100% { transform: scale(1);   opacity: 1; }
}
