/* ros-popup.css */

/* Overlay-Hintergrund */
.ros-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

/* Popup-Container */
.ros-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 420px; /* je nach Geschmack anpassen */
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  border-radius: 10px; /* abgerundete Ecken */
  z-index: 9999;
}

/* Header: Titel, Rahmen unten */
.ros-popup-header {
  margin-bottom: 15px;
  border-bottom: 1px solid #ececec;
}

.ros-popup-header h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

/* Body: Labels, Inputs */
.ros-popup-body label {
  display: block;
  margin: 8px 0 5px;
  font-weight: 500;
}

.ros-popup-body input[type="text"] {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Buttons */
#ros-popup-search-btn,
#ros-popup-close-btn {
  margin-top: 5px;
  margin-right: 8px;
  font-size: 14px;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: none;
}

/* Der "Suchen"-Button (Primär) */
#ros-popup-search-btn.button-primary {
  background: #0073aa;
  border-color: #0073aa;
  color: #fff;
}

#ros-popup-search-btn.button-primary:hover {
  background: #006799;
  border-color: #006799;
}

/* Der "Schließen"-Button (Sekundär) */
#ros-popup-close-btn.button-secondary {
  background: #eee;
  border-color: #ccc;
  color: #333;
}

#ros-popup-close-btn.button-secondary:hover {
  background: #ddd;
}

/* Ausgabebereich für Statusmeldungen */
#ros-popup-search-result {
  margin-top: 15px;
  min-height: 30px;
  font-size: 14px;
}
/* Der Container (zentriert) */
#ros-manual-popup-btn-wrapper {
  text-align: center;
  margin: 15px 0; 
}

/* Der eigentliche Button */
#ros-manual-popup-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600; 
  color: #fff; 
  background: #0073aa;      /* Standard-WordPress-Farbe oder anpassen */
  border: 1px solid #0073aa;
  border-radius: 6px;       /* abgerundete Ecken */
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}

/* Hover-Effekt */
#ros-manual-popup-btn:hover {
  background: #006799; 
  border-color: #006799;
}
#signature-pad {
    touch-action: none; 
    cursor: crosshair; /* falls gewünscht */
}