html {
  height: 100%;
  width: 100%;
}

body {
  font-family: system-ui, sans-serif;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.language-switcher {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
}

.language-dropdown {
  padding: 8px 36px 8px 12px; 
  border-radius: 8px;
  border: 1px solid #5C6BC0;
  background: linear-gradient(120deg, #e3e6f3, #c5cae9);
  color: #283593;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23283593' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}


.language-dropdown:focus {
  outline: none;
  border-color: #283593;
  box-shadow: 0 0 0 2px #7986CB44;
}

.container {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.heading {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}

.notFoundWrapper {
  text-align: center;
  padding: 2rem 3rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  width: 90%;
  /* animation: pulse404 3s infinite ease-in-out; */
}

/* @keyframes pulse404 {
  0% { transform: scale(1); }
  50% { transform: scale(1.035); }
  100% { transform: scale(1); }
}  */

.notFoundHeading {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  color: #222;
}

.notFoundParagraph {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.backHomeButton {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(120deg, #5C6BC0, #7986CB);
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.backHomeButton:hover {
  background: linear-gradient(120deg, #6370D6, #90A1E0);
  transform: scale(1.03);
  cursor: pointer;
}

input {
  width: 90%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #5C6BC0;
  outline: none;
}

button {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(120deg, #5C6BC0, #7986CB);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s ease;
}

button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
}

button:hover {
  transform: scale(1.02);
}

#searchButton:hover::before {
  animation: shine 0.7s ease forwards;
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

a {
  text-decoration: none;
  color: white;
}  

.result {
  margin-top: 1.5rem;
  font-weight: 500;
  color: #2C6E49;
}

.error {
  margin-top: 1rem;
  color: #D32F2F;
}