:root {
  --red: #EB140A;
  --red-dark: #B90A05;
  --black: #000000;
  --white: #ffffff;
  --grey-1: #F2F2F2;
  --grey-2: #BCBCBC;
  --grey-3: #999999;
  --blue-dark: #294f5a;
  --text: #00314f;
  --border: #cfdde5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Verdana, sans-serif;
  color: var(--text);
  background: #f5f7f9;
}

.navbar {
  background-color: var(--black);
  color: var(--white);
  font-size: 16px;
  font-weight: bold;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding: 10px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.navbarLeft,
.navbarRightInfoContainer,
.navbarCenter {
  display: flex;
  align-items: center;
}

.a1Logo {
  height: 42px;
  width: auto;
  margin-right: 16px;
  object-fit: contain;
}

.appTitle {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  white-space: nowrap;
}


.navbarLeft { gap: 16px; }
.navbarCenter { gap: 20px; }

.eborLogo {
  background: var(--red);
  color: var(--white);
  padding: 6px 10px;
  font-size: 24px;
  letter-spacing: .5px;
}

.appTitle { font-size: 26px; }
.appTitleEBOR{
    color: #B90A05;
    font-size: 22pt;
    font-weight: bold;
}

.appTitleRest{
    color: #B90A05;
    font-size: 20pt; /* 2pt kleiner */
    font-weight: bold;
    margin-left: 6px;
}
.navbarRightInfoContainerTextArea {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 13px;
  text-align: right;
}

.navbarRightInfoContainerTextWhite { color: var(--white); }
.navbarRightInfoContainerTextRed1 { color: var(--red); }

.menuItem {
  position: relative;
  padding: 12px 4px;
  cursor: default;
}

.menuItem > span:hover { color: var(--red); }

.dropdown {
  display: none;
  position: absolute;
  top: 45px;
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: var(--grey-2);
  color: var(--black);
  box-shadow: 0 8px 16px rgba(0,0,0,.25);
  z-index: 1003;
}

.menuItem:hover > .dropdown { display: block; }

.dropdown button,
.infoDropdown div {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--black);
  text-align: left;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  padding: 9px 10px;
  white-space: nowrap;
}

.dropdown button:hover:not(:disabled) {
  color: var(--red-dark);
  background: var(--grey-3);
  cursor: pointer;
}

.dropdown button:disabled { opacity: .45; }
.infoDropdown { min-width: 430px; font-size: 12px; }
.infoDropdown code { font-size: 12px; }

.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 95px 24px 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 18px;
}

h1, h2 { margin-top: 0; font-weight: normal; }
h1 { font-size: 26px; }
h2 { font-size: 19px; font-weight: bold; }

code {
  background: #eef3f6;
  padding: 2px 6px;
}

.buttonRow {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

input[type="file"] { display: none; }

button,
.primaryButton {
  border: 1px solid #6f8fa0;
  background: var(--white);
  color: var(--text);
  padding: 10px 14px;
  font-family: Verdana, sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

button:hover:not(:disabled),
.primaryButton:hover {
  border-color: var(--red-dark);
  color: var(--red-dark);
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.status {
  margin-top: 16px;
  padding: 13px;
  background: #eef2f4;
  border-left: 4px solid var(--blue-dark);
  color: var(--black);
  font-family: Consolas, monospace;
  font-size: 13px;
}

.status.ok { border-left-color: #368a36; }
.status.error { border-left-color: var(--red-dark); color: var(--red-dark); }

.resultCard pre {
  white-space: pre-wrap;
  min-height: 120px;
  margin: 0;
  color: var(--black);
  font-family: Consolas, monospace;
}

@media (max-width: 900px) {
  .navbar { position: static; flex-wrap: wrap; gap: 12px; }
  .page { padding-top: 24px; }
  .navbarCenter { order: 3; width: 100%; }
}
