/* Copyright 2025 Jonathan Vajda */

h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 0.75em;
  font-size: 0.85rem;
  line-height: normal;
}

#toolbar button {
  height: 3.5em;
  padding: 4px 8px;
  font-size: 0.85rem;
  line-height: normal;
}

#toolbar select {
  height: 3rem;
  padding: 4px 8px;
  font-size: 1.25rem;
  line-height: normal;
}

#previewRdfBtn {
  margin-left: auto;
}





#ontology-settings-modal {
  display: none;
  position: fixed;
  background:white;
  border: 1px solid gray;
  padding: 20px;
  z-index: 1000;
  top: 10%;
  left: 25%;
  width: 50%;
}

.tom-modal-label {
  display: inline-flex;
  font-weight: bold;
  font-size: 1.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.tom-modal-input {
  width: 60%;
  font-size: 1.2rem;
  height: 28px;
  margin-bottom: 0.75rem;
}

.prefix-table-cell {
  font-size: 1.25rem;
}

.prefix-table-cell td {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 1px;
    height: 20px;
  }

.prefix-table-cell button {
    line-height: 20px;
    height: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
  }

.modal-window button {
    height: 3.5em;
    padding: 4px 8px;
    font-size: 0.85rem;
    line-height: normal;
}

#hot {
  margin-bottom: 1em;
}

.ht_clone_top thead th {
  position: relative;
  font-weight: bold;
  background-color: #f9f9f9;
  border-bottom: 1px solid #ccc;
}

/* Only affect the Handsontable inside #hot */
#hot .handsontable .htCore td,
#hot .handsontable .htCore th {
  font-size: 14px;     /* bump as you like: 14–16 is common */
  line-height: 1.3;    /* optional: nicer spacing */
}

/* Optional: a smidge more row height for readability */
#hot .handsontable .ht_master .wtHolder {
  line-height: 1.3;
}


.header-menu {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  color: #888;
}

textarea {
  width: 100%;
  height: 200px;
  font-family: monospace;
}

input.htFocusCatcher {
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}


#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 300px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  background-color: #323232;
  color: white;
  padding: 12px 16px;
  margin-top: 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success { background-color: #4caf50; }   /* Green */
.toast.warning { background-color: #ff9800; }   /* Orange */
.toast.error   { background-color: #f44336; }   /* Red */
