/* Body styling */
body {
  font-family: 'Inter', sans-serif;
  /* background-color: #f4f7fb; */
  margin: 0;
  padding: 0;
  /* display: flex; */
  /* justify-content: center; */
  height: 100vh;
  color: #333;
  max-width: 100vw;
  overflow: hidden;
}

/* Container for the AI page */
.ai-page-container {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05); */
  max-width: 450px;
  width: 100%;
  text-align: center;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Modern hover effect for the container */
.ai-page-container:hover {
  transform: translateY(-5px);
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

/* Headings */
h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-content: center;
  font-weight: 700;
}

h1 span {
  margin: 0 !important;
  display: flex;
  justify-content: center;
  align-content: center;
}



/* Input styling */
input[type="text"] {
  width: 90%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e6ed;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fafbfc;
  max-width: 100%;
  margin-top: 10px !important;
}

input[type="text"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.1);
}

/* Suggestions List */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  z-index: 10;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.suggestions-list li {
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.suggestions-list li:hover {
  background-color: #f8f9fa;
}

/* Result container */
.result-container {
  display: none;
  margin-top: 20px;
}

.result-container.active {
  display: block;
}

.result-container h2 {
  font-size: 24px;
  color: #007bff;
  margin-bottom: 10px;
}

.result-container p {
  font-size: 16px;
  color: #444;
}

/* Feedback buttons */
.feedback-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.feedback-buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 12px;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
}

.feedback-buttons button:hover {
  background-color: #0056b3;
}

.feedback-buttons button span {
  margin-right: 5px;
}

/* Footer navigation */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background-color: #fff;
  border-top: 2px solid #e0e6ed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.nav-item {
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  flex: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-item:hover {
  color: #007bff;
  transform: translateY(-3px);
}

.material-symbols-outlined {
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
}

.nav-label {
  font-size: 12px;
}
