body {
  min-height: 100vh;
  margin: 0;
}


.buttonsKW{
    background-color: #0047AB;
}

.heroesKW{
    background-color: #F9F6EE;
    margin-bottom: 3rem;
    border-radius: 10%
}

.ulKW{
    list-style: none;
    margin: 10px 0;
}

.about-me {
    background-color: #F9F6EE;
    max-width: 1260px;
    display: flex;
    gap: 5rem;
    padding: 2rem;
    flex-direction: stretch;
}

.aboutMeFlex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    margin-top: 8.5rem;
}

.chatFlex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.chat-main-background {
    background-color: #F9F6EE;
    display: flex;
    padding: 2rem;
    flex: 1 1 auto;
    min-height: 100%; 
    flex-direction: column;
    width: 70%;
    border-radius: 1rem;
    margin-top: 2rem;
}

/* .chat-user-input-div {
  display: flex;
  padding-top: 1rem;
  width: 70%;
  border-radius: 10%;
  margin-top: 2rem;
} */
.chat-user-input-div {
  display: flex;
  /* grid-template-columns: 6fr 1fr; */
  /* gap: 1rem; space between columns */
  padding-top: 1rem;
  width: 70%;
  border-radius: 10%;
  margin-top: 2rem;
}

.flex-user-chat{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.div-img-aboutme{
    display: flex;
    justify-content: center;
    flex: 1;
}

.div-second-header-experience {
  background-color: #F9F6EE;

}

.img-aboutme {
    border-radius: 10;
    width: 150px; 
    height: auto;
  }

.chat-message-user {
  background: #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  align-self: flex-end;
  max-width: 70%
}

.chat-message-llm {
  background: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.chat-delete-button {
  background: #fc9999;
  margin-left: auto;
  padding-left: 1rem;
}

.chat-add-another-stock-button {
  background: #E5E7EB;
  margin-left: auto;
  padding-left: 1rem;
}

.stock-create-analysis-button {
  background: #477ed6;
  margin-left: auto;
  padding-left: 1rem;
}
.chat-send-button {
  background: #F9F6EE;
  border-radius: 0.45rem;
  margin-left: 1rem;
  border: 0.5px solid lightgrey;
}
.responsive-img {
  width: 100%;
  height: auto;
}

.div-experience-education-history{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#stockAnalysisPage {
  position: relative;
}

/* Overlay sits on top of ONLY #stockAnalysisPage */
#loading-overlay {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
}

.loading-title{
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-subtitle{
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Ensure this actually hides it */
.hidden {
  display: none !important;
}

.spinner {
  width: 64px;
  height: 64px;
  border: 6px solid #ddd;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}


  @media (min-width: 1260px){
    .p-aboutme {
        font-size: 1.2rem;
      }
    .about-me{
      flex-direction : row;
    }
    .div-img-aboutme{
      margin-top: 0rem;
    }
    .chatFlex{
      align-items: center;
    }
    .img-aboutme{
      border-radius: 10;
      width: 500px; 
      height: auto;
    }
  }
