.profile-card {
  text-align:center;
  padding:20px;
}

.profile-avatar {
  font-size:64px;
  color:#ee4d2d;
}

.login-form input {
  width:100%;
  padding:12px;
  margin-bottom:10px;
}

.auth-page {
  padding: 24px 16px 120px;
}

.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.auth-card h3 {
  text-align: center;
  margin-bottom: 16px;
}

.auth-card input,
.auth-card textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.auth-card button {
  width: 100%;
}

/* ===============================
   FLASH MESSAGE
================================ */

.error,
.success {
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}

/* ERROR */
.error {
  background: #fee2e2;        /* merah lembut */
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* SUCCESS */
.success {
  background: #ecfdf5;        /* hijau lembut */
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Optional: icon alignment if pakai <i> */
.error i,
.success i {
  margin-right: 6px;
}

/* Optional: animation halus */
.error,
.success {
  animation: fadeIn .3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
