body {
  background: #0f172a;
  color: #f1f5f9;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 800px;
  width: 100%;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #38bdf8;
  margin-bottom: 20px;
}

.ai-panel {
  background: #1e293b;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  font-size: 1rem;
  background: #0f172a;
  color: #f1f5f9;
  border: 2px solid #38bdf8;
  border-radius: 8px;
  resize: none;
}

.buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

button {
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #0ea5e9;
}

.response {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
  background: #0f172a;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #38bdf8;
}


/*----------------------memroy viewer-------------*/
.memory-viewer {
  margin-top: 30px;
  padding: 20px;
  background: #1e293b;
  border: 1px solid #38bdf8;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.memory-viewer h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #38bdf8;
}

.memory-list {
  max-height: 300px;
  overflow-y: auto;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.memory-list .memory-item {
  padding: 10px;
  background: #0f172a;
  border: 1px solid #334155;
  border-left: 4px solid #38bdf8;
  border-radius: 8px;
}

/*-----------------------------------behavior syles=----------------------------*/
.settings-panel {
  margin-top: 30px;
  padding: 20px;
  background: #1e293b;
  border-radius: 16px;
  border: 1px solid #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.settings-panel h2 {
  font-size: 1.3rem;
  color: #38bdf8;
  margin-bottom: 15px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.slider-group label {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #f1f5f9;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: #38bdf8;
}
/*------------------------------------------------settings button styling-----------------------------*/
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-start; /* aligns all buttons to the left */
}

button {
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0; /* prevents button from shrinking weirdly */
}

button:hover {
  background: #0ea5e9;
}

/*--------------------------------------back button form settign menu-----------------------*/
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

button {
  padding: 10px 20px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #0ea5e9;
}
/*-----------------------------------------uploader------------------------*/
.uploader-card {
  background: #1e293b;
  padding: 20px;
  margin-top: 30px;
  border: 1px solid #38bdf8;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.uploader-card h2 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.upload-dropzone {
  border: 2px dashed #38bdf8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #f1f5f9;
  cursor: pointer;
  margin-bottom: 10px;
}

.upload-summary {
  background: #0f172a;
  padding: 10px;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-top: 10px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.upload-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
  flex-wrap: wrap;
}

#tagSelect {
  background: #0f172a;
  color: #f1f5f9;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  padding: 8px;
}
