html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #e0e7ff, #f0f4ff);
  font-family: 'Vazir', sans-serif;
}

body {
  overflow-y: auto;
}

.container {
  flex: 1;
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.1rem;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  background: rgba(70, 135, 255, 0.548);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 17px rgba(32, 135, 247, 0.644);
  color: #333;
}

#suggestions {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

#suggestions li {
  padding: 0.5rem 1rem;
  margin: 0.3rem 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #333;
}

#suggestions li:hover {
  background: rgba(33, 150, 243, 0.2);
  transform: translateX(5px);
}

#definition {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  color: #333;
  font-size: 1.1rem;
}

.label {
  font-weight: bold;
  color: #1565c0;
  background: rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-right: 0.5rem;
}

.footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  color: #444;
  margin-top: 2rem;
}

.footer a {
  color: #2196f3;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #42a5f5;
  text-decoration: underline;
}

h1 {
  text-align: center;
  color: #1e88e5;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about {
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
}

.about h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #1565c0;
}

/* Install Pop-up Styles */
#install-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 90%;
  width: 300px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.popup-content h3 {
  color: #1e88e5;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.popup-content p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.popup-content button {
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#install-btn {
  background: #2196f3;
  color: white;
}

#install-btn:hover {
  background: #42a5f5;
}

#dismiss-btn {
  background: rgba(255, 255, 255, 0.3);
  color: #333;
}

#dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}