:root {
  --text-color: #190809;
  /* --background-color: #fcf5f5; */
  --background-color: #ece2c7;
  --primary-color: #603F26;
  --secondary-color: #FFDBB5;
  --accent-color: #ce9f66;
  --card-color: #FAF8F2;
}


#guidePage {
  /* background-color: ; */
  background-color: #ece2c7;
}


.title-page {
  color: #8B4513;
}

.card-header,
.card-body,
.guide-section {
  background-color: var(--card-color);
}

body {
  padding-top: 80px;
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
}



/* --- Tutorial Modal Styles --- */
.tutorial-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.tutorial-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tutorial-modal-content h2 {
  margin-top: 0;
  color: var(--primary-color);
}

.tutorial-modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

/* --- Shepherd Button & Tour Styles --- */
.shepherd-button {
  padding: .375rem .75rem !important;
  border-radius: .25rem !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
}

.shepherd-button.shepherd-button-primary {
  color: #fff !important;
  background-color: #6C4E31 !important;
  border-color: #6C4E31 !important;
}

.shepherd-button.shepherd-button-primary:hover {
  background-color: #533c27 !important;
  border-color: #533c27 !important;
}

.shepherd-button.shepherd-button-secondary {
  color: #6C4E31 !important;
  background-color: transparent !important;
  border-color: #6C4E31 !important;
}

.shepherd-button.shepherd-button-secondary:hover {
  color: #fff !important;
  background-color: #6C4E31 !important;
  border-color: #6C4E31 !important;
}

.shepherd-modal-overlay {
  z-index: 99998 !important;
}

.shepherd-element {
  z-index: 99999 !important;
}

.my-custom-step-background {
  background-color: #fff;
  color: var(--text-color);
}

.my-custom-step-background .shepherd-text {
  color: var(--text-color) !important;
}



.chart-container {
  width: 90%;
  max-width: 800px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.legend {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    bottom: 30px;
    right: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: absolute;
    z-index: 1;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

.legend h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: bold;
}

.legend div span {
    border-radius: 50%;
    display: inline-block;
    height: 12px;
    width: 12px;
    margin-right: 8px;
    vertical-align: middle;
}