body { font-family: Arial, sans-serif; margin: 40px; }
.container {
  max-width: none;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 40px 0 0 0;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  background: #fff;
}
input { width: 100%; margin-bottom: 10px; padding: 8px; }
button { width: 100%; padding: 10px; margin-bottom: 5px; }
.error { color: red; }
.button-row { display: flex; gap: 10px; margin-top: 10px; }
.button-row button { flex: 1; }
h1 { font-size: 24px; margin: 5px 0; }
h3 { font-size: 16px; margin: 0 0 20px 0; color: #666; }

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.modal-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.modal-content {
  margin-bottom: 15px;
}
.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}
.modal-actions button {
  padding: 10px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: auto;
  box-sizing: border-box;
}

/* Ensure modal inputs and buttons share sizing, padding, and margins */
.modal .modal-content input,
.modal .modal-content button,
.modal input,
.modal button {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 10px;
  margin: 0 0 10px 0;
}

.modal .button-row { display: flex; gap: 8px; }
.modal .button-row > * { flex: 1; }
