<style>
.alert {
  width: 100%;
  padding: 24px 28px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  margin: 25px 0;
  line-height: 1.8;
  color: #fff;
  position: relative;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
  border-left: 8px solid transparent;
  animation: slideDown .4s ease;
  min-height: 90px; /* 🔥 dikey uzunluk */
  display: flex;
  align-items: center;
}

/* ✅ Başarılı */
.alert-success {
  background: linear-gradient(135deg, #0f9d58, #34d058);
  border-left-color: #2ecc71;
  box-shadow: 0 0 25px rgba(46, 204, 113, 0.5);
}

/* ❌ Hata */
.alert-error {
  background: linear-gradient(135deg, #b71c1c, #e53935);
  border-left-color: #ff4444;
  box-shadow: 0 0 25px rgba(255, 68, 68, 0.5);
}

/* ✖️ Kapatma ikonu */
.alert .close-btn {
  position: absolute;
  right: 18px;
  top: 15px;
  font-size: 22px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  transition: 0.2s;
}
.alert .close-btn:hover {
  color: #fff;
  transform: scale(1.2);
}

/* ✨ Giriş animasyonu */
@keyframes slideDown {
  from {opacity: 0; transform: translateY(-15px);}
  to {opacity: 1; transform: translateY(0);}
}
</style>
