.container{max-width:480px;margin:40px auto}
.card{background:#fff;padding:24px;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.08)}
.field-error{color:#d9534f;font-size:0.9rem;display:none}
#successMsg{color:#2e7d32;display:none}
#errorMsg{color:#d32f2f;display:none}
#modal-loading{display:none}
.btn{display:inline-block;padding:10px 14px;border-radius:6px;border:none;cursor:pointer}
.btn-primary{background:#007bff;color:#fff}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex !important;
}

.modal-inner {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
