@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

body {
  font-family: "Raleway", sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

#logo {
  height: 3rem;
  display: inline;
}

.logo-heading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
  gap: 1rem;
}

.container {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 90%;
  max-width: 500px;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #007bff;
  outline: none;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

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

button:disabled {
  background-color: #b3d7ff;
  cursor: not-allowed;
}

#statusResult {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  border-radius: 6px;
  background-color: #f8f9fa;
  color: #333;
}

/* Loader Animation */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* How It Works Section */
.how-it-works {
  margin-top: 30px;
  text-align: left;
  color: #555;
}

.how-it-works h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.how-it-works p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 400;
}

/* Footer */
footer {
  margin-top: 30px;
  font-size: 14px;
  color: #777;
}

footer a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #0056b3;
}

/* Responsive Design */
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  input,
  button {
    font-size: 14px;
  }

  #statusResult {
    font-size: 16px;
  }

  .how-it-works h2 {
    font-size: 20px;
  }

  .how-it-works p {
    font-size: 14px;
  }

  footer {
    font-size: 12px;
  }
}
