/*
==================================================
RosalitaRP Explorer
Version : 1.0.0
Creator : Rathan
==================================================
*/

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

.modal.hidden {
  display: none;
}

.modal-content {
  width: 420px;
  background: #1b140e;
  color: #f2e2bd;
  border: 2px solid #8b5a2b;
  box-shadow: 0 0 20px #000;
  padding: 18px;
  box-sizing: border-box;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-header h2 {
  margin: 0;
  color: #e4c27a;
}

#marker-dialog-close {
  background: transparent;
  color: #f2e2bd;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

#marker-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

#marker-form input,
#marker-form select,
#marker-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  box-sizing: border-box;
  background: #2a2118;
  color: #f2e2bd;
  border: 1px solid #8b5a2b;
}

.dialog-coordinates {
  font-size: 13px;
  color: #c8aa72;
  margin: 10px 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-actions button {
  padding: 8px 14px;
  cursor: pointer;
}

#marker-save {
  background: #2f8f2f;
  color: white;
  border: 1px solid #7fd97f;
}

#marker-cancel {
  background: #5a3a1e;
  color: #f2e2bd;
  border: 1px solid #8b5a2b;
}
