* {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: url(/_next/static/media/bg-img.8d09a1f2.avif); 
  background-size: 100vw 100vh;
}

main {
  width: 70vw;
  height: 90vh;
  background: linear-gradient(to bottom, #f8f8f8, #cfcfcf);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: center;
  color: #383838;
}

section {
  width: 100%;
}

section.populated {
  /* display: flex;
  flex-direction: column;
  justify-content: flex-end; */
  height: 100%;
  overflow: scroll;
}

.starter-text {
  padding: 0 80px;
  line-height: 1.3;
  font-size: 13px;
  color: black;
}

.chat-form {
  width: 90%;
  /* height: 50px; */
  display: flex;
  border-top: #828282 solid 2px;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

input.question-box {
  width: 85%;
  padding: 10px;
  font-size: 15px;
  color: #383838;
  border: none;
}

input[type=submit] {
  width: 15%;
  padding: 10px;
  font-size: 15px;
  color: #fff;
  border: none;
  background-color: rgb(11, 11, 11);
}

input:focus {
  outline: none;
}

.bubble {
  margin: 8px;
  padding: 8px;
  font-size: 15px;
  border: none;
  color: #383838;
  box-shadow: #959da533 0 8px 24px;
  width: 80%;
  text-align: left;
}

.bubble.user {
  border-radius: 20px 20px 0 20px;
  background-color: #E1F4FFFF;
  margin-left: auto;
}

.prompt-suggestion-row {
  width: 100%;
  margin-bottom: 2%;
}

.prompt-suggestion-button {
  margin: 8px;
  padding: 8px;
  font-size: 15px;
  border: none;
  background-color: #fff;
  border-radius: 10px;
  /* cursor: pointer; */
  color: #383838;
  box-shadow: #959da533 0 8px 24px;
}

.loader {
  margin: 10px;
  width: 60px;
  aspect-ratio: 4;
  background: 
    no-repeat radial-gradient(circle closest-side, #383838 90%, #0000) 0% 50%,
    no-repeat radial-gradient(circle closest-side, #383838 90%, #0000) 50% 50%,
    no-repeat radial-gradient(circle closest-side, #383838 90%, #0000) 100% 50%;
  background-size: calc(100%/3) 100%;
  animation: loading 1s infinite linear;
}

@keyframes loading {
  33% { background-size: calc(100%/3) 0, calc(100%/3) 100%, calc(100%/3) 100%; }
  50% { background-size: calc(100%/3) 100%, calc(100%/3) 0, calc(100%/3) 100%; }
  66% { background-size: calc(100%/3) 100%, calc(100%/3) 100%, calc(100%/3) 0; }
}

.sql-query {
  background-color: #f4f4f4;
  padding: 10px;
  border-radius: 8px;
  font-family: monospace;
  color: #333;
  border: 1px solid #ddd;
}

.sql-query {
  background-color: #f4f4f4;
  padding: 10px 40px 10px 10px;
  border-radius: 8px;
  font-family: monospace;
  color: #333;
  border: 1px solid #ddd;
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  padding: 3px 8px;
}

.starter {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 20px;
  text-align: left;
}

.starter-content {
  max-width: 700px;
  background: #ffffffcc;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.starter-title {
  margin-bottom: 15px;
  font-size: 22px;
  color: #111;
  text-align: center;
}

.feature-list {
  list-style-type: none;
  padding: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  text-align: justify;
}

.feature-list li::before {
  content: "✔️ ";
  margin-right: 5px;
}

.info-button {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.info-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.info-button:active {
  transform: translateY(0);
}

.info-button-text {
  font-size: 14px;
  font-weight: 600;
}

.info-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.info-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  transition: color 0.2s;
}

.close-button:hover {
  color: #333;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.sample-desc {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.sample-questions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sample-question-item {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid #667eea;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.sample-question-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-left-color: #764ba2;
}

.question-number {
  font-weight: 700;
  margin-right: 8px;
  color: #667eea;
}

.sample-question-item:hover .question-number {
  color: white;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.bot-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.bot-tab {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 20px;
  border: none;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: background 0.3s;
}

.bot-tab.active {
  background-color: #383838;
  color: white;
  font-weight: bold;
}

.logout-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  transition: all 0.2s ease;
  z-index: 1000;
}

.logout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.logout-button:active {
  transform: translateY(0);
}

