@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Brand Header */
.brand-header {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: #ff80ab;
  text-align: center;
  margin-bottom: 20px;
  animation: popIn 1.2s ease-in-out;
  letter-spacing: 2px;
  text-shadow: 0 2px 6px rgba(255, 128, 171, 0.3);
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Container */
.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  width: 320px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Title inside form */
h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Inputs */
.auth-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.auth-form input:focus {
  border-color: #ffafcc;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 175, 204, 0.6);
}

/* Button */
.auth-form button {
  background: #ffafcc;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.auth-form button:hover {
  background: #ff80ab;
}

/* Message styles */
.error {
  color: red;
}

.success {
  color: green;
}

.success-message {
  animation: redirectAnimation 1s ease-in-out;
  color: green;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 20px;
}

@keyframes redirectAnimation {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


