/* SweetAlert simples (custom) */
.swal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  display: none;
}

.swal-overlay.swal-visible {
  display: block;
}

.swal-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border-radius: 8px;
  padding: 24px 28px 22px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-align: center;
  box-sizing: border-box;
}

.swal-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #222;
}

.swal-text {
  font-size: 14px;
  color: #555;
  margin: 0 0 18px;
  line-height: 1.5;
}

.swal-icon {
  font-size: 38px;
  margin-bottom: 8px;
  display: inline-block;
}

.swal-icon-success { color: #28a745; }
.swal-icon-error   { color: #dc3545; }
.swal-icon-warning { color: #ffc107; }
.swal-icon-info    { color: #17a2b8; }

.swal-footer {
  margin-top: 10px;
}

.swal-button {
  border: none;
  outline: none;
  background: #4caf50;
  color: #fff;
  padding: 9px 24px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.swal-button:hover {
  background: #43a047;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

.swal-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.swal-button:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

@media (max-width: 480px) {
  .swal-modal {
    padding: 20px 18px 18px;
    max-width: 90%;
  }
  .swal-title {
    font-size: 18px;
  }
  .swal-text {
    font-size: 13px;
  }
}
