body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #eef2f7;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background: #007bff;
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header .subtitle {
  margin: 5px 0 0;
  font-size: 0.9rem;
}

header a {
  color: #ffdf91;
  text-decoration: none;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.search-box {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.search-box h2 {
  margin-top: 0;
}

.inputs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

input, button {
  padding: 10px;
  margin: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

button {
  background: #007bff;
  color: white;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

button:hover:not(:disabled) {
  background: #0056b3;
}

button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

#emoji {
  display: none;
  margin-top: 20px;
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
}

.uni-card {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.uni-card h3 {
  margin: 0 0 5px;
  font-size: 1rem;
}

.uni-card a {
  color: #007bff;
  text-decoration: none;
}

.uni-card a:hover {
  text-decoration: underline;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #eee;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

footer {
  background: #f1f1f1;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #666;
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.site-logo {
  height: 60px;           
  width: auto;
  border-radius: 8px;     
}

.title-text h1 {
  margin: 0;
}
