@page {
  margin-top: 3%;
  margin-right: 2%;
  margin-bottom: 3%;
  margin-left: 2%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  color: black;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  padding: 7px;
  text-align: center;
  border-bottom: 1px solid;
}

th {
  background-color: #f2f2f2;
}

#container:after {
  content: "";
  display: table;
  clear: both;
}

#middle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.blank_row {
  background-color: white;
  border: 0px;
  text-align: left;
}

.container {
  display: flex;
  width: 100%;
}

.header-left-section {
  flex: 1 1 65%;
  text-align: justify;
}

.header-right-section {
  flex: 1 1 35%;
  text-align: justify;
}

.left-section {
  flex: 1 1 50%;
  display: flex;
}

.right-section {
  flex: 1 1 50%;
  display: flex;
}

#banke tr td {
  padding: 1px;
}

.fields-title {
  font-weight: normal;
  font-size: 12px;
  margin-bottom: 8px;
}

.fields-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 4px;
}

.fields-table td,
.fields-table th {
  border: 1px solid #333;
  padding: 4px 6px;
  vertical-align: top;
}

.field-label {
  width: 200px;
  font-size: 12px;
  font-weight: normal;
  color: #333;
  white-space: nowrap;
}

.field-value {
  background: #ffffff;
  min-height: 18px;
  font-size: 12px;
  font-weight: normal;
  padding: 2px 5px;
  border-radius: 4px;
}

.fields-body-spacer {
  height: 60px;
}

.zahtjev-body p {
  line-height: 1.4;
  margin: 0;
  font-size: 12px;
  text-align: justify;
}

/* Note section */
.zahtjev-note {
  margin-top: 20px;
}

.zahtjev-note p {
  line-height: 1.4;
  margin: 0;
  font-size: 12px;
  text-align: justify;
}

/* Fixed footer */
.zahtjev-footer-fixed {
  position: fixed;
  bottom: 2%; /* mali razmak od dna stranice */
  left: 2%;
  right: 2%;
  font-size: 12px;
}

/* Attachments */
.zahtjev-attachments {
  margin-bottom: 150px; /* razmak između liste i footer teksta */
}

.attachments-title {
  font-weight: normal;
  font-size: 12px;
  margin-bottom: 4px;
}

.attachments-list {
  margin: 0;
  padding-left: 20px;
  list-style-type: decimal;
  font-size: 12px;
}

.attachments-list li {
  line-height: 1.4;
}

/* Footer text */
.zahtjev-footer {
  display: flex;
  justify-content: space-between; /* lijevo-desno */
  font-size: 12px;
  line-height: 1.4;
}

.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}
