@import url('fonts/Inter/fonts.css');
@import url('fonts/JetBrainsMono-2.304/fonts.css');



html, body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  overflow: hidden;
  line-height: 1.1;
/*  font-size: 16px;*/
  background-color: rgba(0, 0, 0, 0.05);
}

a:link, a:visited{
  color: #0000EE;
}

.warning{
        color: red;
    }

.attention{
    color: rgba(235, 120, 0, 1);
}

.shy{
  color: #333;
  font-size: smaller;
}

.bold{
  font-weight: bold;
}

/* dialogs  */

button {
  padding: 6px 12px;
  margin: 2px;
  border: none;
  border-radius: 4px;
  font-size: 0.8em;
  cursor: pointer;
  background-color: lightgrey;
}

/*button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,123,255,.5);
}*/

button:active {
  filter: brightness(0.9);
}

.shy-button {
  font-size: 0.8em;
  background-color: #f2f2f2;
  color: #333;
}

.shy-button:hover,
.shy-button:focus {
  background-color: #e6e6e6;
}

.save-button {
  background-color: #4caf50;
  color: white;
}

.save-button:hover,
.save-button:focus {
  background-color: #43a047;
}

.confirm-button {
  background-color: #007bff;
  color: white;
}

.confirm-button:hover,
.confirm-button:focus {
  background-color: #4682B4;
}

.cancel-button {
  background-color: #ccc;
  color: #000;
}

.cancel-button:hover,
.cancel-button:focus {
  background-color: #bbb;
}

/* Form Element Styles */
input, textarea, select {
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
    padding: 1px 2px;
    border: 1px solid #ccc;
}

input{
  padding: 0px 4px;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

.input-inline {
  padding: 2px 4px;
  margin: 1px;
  font-size: 0.8em;
}

/*input:focus,
textarea:focus,
select:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5);
}*/

input[type="submit"],
input[type="reset"],
input[type="button"] {
  cursor: pointer;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Ensure buttons and interactive elements are visible when focused */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Special focus styles for dark backgrounds (like navbars) */
.navbar button:focus-visible,
.navbar a:focus-visible,
.navbar [role="button"]:focus-visible,
.navbar [tabindex]:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

