#line-login-app-wrapper {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.liff-state-container {
  padding: 20px;
}

.liff-state-container h3 {
  margin-top: 0;
  font-size: 22px;
}

.liff-state-container p {
  color: #555;
  line-height: 1.6;
}

.liff-state-container button,
.liff-state-container a {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  border: none;
  font-weight: bold;
}

#liff-login-button,
#add-friend-link {
  background-color: #06c755;
  color: white;
}

#check-friendship-button,
#liff-error button {
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
}

/* Spinner Animation */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #06c755;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
