:root {
    --primary: #4a90e2;
    --body-bgcolor: #cd5c5c;
    --text: #333;
    --card: #fff;
    --white:#eee;
    --black:black;
}

html,
body {
    width: 100%;
}

.container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
}

header .section-logo {
    width: 225px;
}

header .section-initiative {
    display: flex;
    justify-content: center;
}

.section-initiative h1 {
    text-align: center;
    vertical-align: center;
    align-content: center;
}

.section-initiative h1.name {
    margin-left: -100px;
    margin-right: 50px;
    align-content: center;
}

.section-initiative h1.bg-clamped-color {
    margin-top: 28px;
}

main {
    max-width: 1800px;
    width: 91%;
}

.chat-panel,
.history-panel {
    background: var(--card);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 80vh;
    overflow-y: scroll;
}

.history-panel {
    flex: 0.7;
    order: 0;
}

.chat-panel {
    flex: 2;
    order: 1;
}

.settings-panel {
    flex: 0.2;
    order: 2;
    background: var(--card);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 80vh;
    overflow-y: scroll;
    width: 80px;
}

.chat-box {
    height: 60vh;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 0.5rem;
    border-radius: 4px;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.history-category {
    margin-bottom: 1rem;
}

.history-category h4 {
    margin-bottom: 0.5rem;
}

.settings-panel label {
    display: block;
    margin-bottom: 0.5rem;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.container-link-mobile{
        display: none;
    }

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .container-link-mobile{
        display: block;
    }
    .history-panel{
        display: none;
    }
    .settings-panel{
        display: none;
    }
}

.response-accordian{
    display: none;
}
.response-accordian.active{
    display:block;
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

#toast-icon {
  font-size: 1.2rem;
}


span.audio-text{
    display: none;
}

#settings-container label{
  display: inline-block;
  margin-right: 5px;
  margin-top: 5px;
  padding: 5px;
  border-radius: 5px;
}

#settings-container label:nth-child(even){
    border: 1px solid goldenrod;
}

#settings-container label:nth-child(odd){
    border: 1px solid lightgray;
}