/* General page container */
.password-changed-page {
  min-height: 100vh;
  background: #fff; /* light blue background */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Card container */
.password-changed-card {
  background: #051129;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}

/* Success Icon */
.success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.success-icon .icon {
  width: 64px;
  height: 64px;
  color: #16a34a; /* Tailwind's green-600 */
  background: #dcfce7; /* Tailwind's green-100 */
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

/* Title and message */
.title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937; /* Tailwind's gray-800 */
  margin-bottom: 0.5rem;
}

.message {
  font-size: 1rem;
  color: #4b5563; /* Tailwind's gray-600 */
  margin-bottom: 1.5rem;
}

/* Back to Profile Button */
.back-button {
  display: block;
  width: 100%;
  background: #2563eb; /* Tailwind's blue-600 */
  color: #ffffff;
  font-weight: 500;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-button:hover {
  background: #1d4ed8; /* Tailwind's blue-700 */
}

/* Responsive Design */
@media (max-width: 480px) {
  .password-changed-card {
    padding: 1.5rem;
  }

  .title {
    font-size: 1.5rem;
  }

  .message {
    font-size: 0.9rem;
  }
}

/* Smooth fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
