/* modal overlay + dialog */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: white;
  border-radius: 8px;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  overflow: hidden;
}
.modal-header, .modal-footer {
  padding: 12px 16px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-body {
  padding: 16px;
  font-size: 14px;
  color: #333;
}
.modal-footer {
  border-top: none;
  text-align: right;
}
.modal-footer button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #d4a574;
  color: white;
  cursor: pointer;
}
.modal-header button {
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
