@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
#notificationList {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2000;
}
#notificationList .error {
  color: red;
}
#notificationList .notification {
  border: 1px;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  max-width: 500px;
  margin: 0.2rem;
  border-radius: 10px;
  background-color: white;
  animation: slideIn 0.5s ease;
}
#notificationList .notification p {
  margin: auto 0.4rem;
  padding: 0.4rem 0rem;
}
#notificationList .notification > span {
  margin: 0.4rem 0rem 0.4rem 0.4rem;
}
#notificationList .notification .close-btn {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px 5px 5px 0px;
  background-color: hsl(32, 100%, 50%);
}
#notificationList .notification .close-btn > span {
  color: hsl(0, 0%, 100%);
}
#notificationList .notification .close-btn {
  cursor: pointer;
}
#notificationList .notification .close-btn:hover {
  background: hsl(32, 100%, 55%);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dialog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.dialog-box {
  box-shadow: 4px 20px 20px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  color: hsl(0, 0%, 100%);
}

#loading {
  display: flex;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: hsla(0, 0%, 0%, 0.5);
  backdrop-filter: blur(2px);
  padding: 0px;
  top: 0px;
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 100%;
}

nav {
  display: flex;
  flex-direction: column;
  background-color: hsl(210, 30%, 20%);
  height: 100%;
}
nav header {
  margin: 5px;
}
nav header > a {
  padding: 5px;
  font-size: 1rem;
  color: hsl(32, 100%, 50%);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  display: flex;
  gap: 5px;
}
nav header > a .logo {
  width: 2.5rem;
}
nav .menu {
  margin: 20px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
nav .menu > a {
  position: relative;
  display: flex;
  align-items: center;
  color: hsl(0, 0%, 100%);
  text-decoration: none;
  margin: 5px;
  padding: 5px;
}
nav .menu > a img {
  min-width: 1.8rem;
  width: 1.8rem;
}
nav .menu > a p {
  padding-left: 10px;
  font-size: 1.2rem;
  text-align: center;
}
nav .botton-menu {
  margin: auto 0px 0px 0px;
  color: hsl(0, 0%, 100%);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
nav .botton-menu > #ur {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  white-space: nowrap;
}
nav .botton-menu > #btnResizeMenu {
  position: relative;
  width: 1.5rem;
  padding: 5px;
  margin: 5px;
}
nav .button:hover {
  background-color: hsl(210, 30%, 18%);
  border-radius: 5px;
  cursor: pointer;
}

nav.menu-minimized header > a > h1 {
  display: none;
}
nav.menu-minimized .menu > a > p {
  display: none;
}
nav.menu-minimized .menu > a > img {
  margin: auto;
}
nav.menu-minimized .botton-menu {
  margin: auto auto 0px auto;
}
nav.menu-minimized .botton-menu > #ur {
  display: none;
}

#page-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
#page-content > * {
  display: flex;
  justify-content: safe center;
  align-items: safe center;
  gap: 10px;
  padding: 10px;
  min-height: 100%;
  width: 100%;
}

.content-container {
  display: flex;
  flex-direction: column;
  color: hsl(0, 0%, 100%);
  background-color: hsl(210, 30%, 20%);
  border: 1px solid hsl(32, 100%, 50%);
  gap: 1.2rem;
  border-radius: 10px;
  padding: 1.2rem 1rem;
}
.content-container > * {
  padding: 0 0.2rem;
}
.content-container h1 {
  font-size: 1.6rem;
  line-height: 1.2;
}
.content-container h1,
.content-container .content-header {
  border-bottom: 2px solid hsl(32, 100%, 50%);
  margin-bottom: 0.2rem;
  padding-bottom: 0.1rem;
}

.row {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.row > * {
  flex: 1 1 auto;
}
.row label {
  padding-left: 5px;
}
.row.split-35-65 {
  align-items: normal;
}
.row.split-35-65 > :first-child {
  flex: 35 1 0;
  min-width: 10rem;
}
.row.split-35-65 > :last-child {
  flex: 65 1 0;
  min-width: 13rem;
}
.row.split-50-50 {
  align-items: normal;
}
.row.split-50-50 > :first-child {
  flex: 1 1 0;
  min-width: 13rem;
}
.row.split-50-50 > :last-child {
  flex: 1 1 0;
  min-width: 13rem;
}

.col {
  display: flex;
  flex-direction: column;
}
.col label {
  padding-left: 5px;
}

.table-containers {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  contain: inline-size;
}
.table-containers table {
  width: 100%;
  min-width: -moz-max-content;
  min-width: max-content;
  white-space: nowrap;
  border-collapse: collapse;
}

th,
td {
  color: black;
  padding: 5px;
}

th:first-child {
  border-radius: 10px 0px 0px 0px;
}
th:last-child {
  border-radius: 0px 10px 0px 0px;
}
th {
  background-color: hsl(32, 100%, 50%);
}

tr {
  background-color: hsl(0, 0%, 75%);
}

tr:nth-child(odd) {
  background-color: hsl(0, 0%, 85%);
}
tr:last-child {
  border-radius: 0px 0px 10px 10px;
}
tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  gap: 0.25rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* Skjul standard checkbox */
.checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* Fjerner den oprindelige checkbox */
  width: 25px;
  height: 25px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox:checked {
  background-color: hsl(32, 100%, 50%);
}
.checkbox:checked::before {
  content: "✔";
  color: white;
}
.checkbox .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  gap: 0.25rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
  /* Skjul standard checkbox */
}
.checkbox .checkbox-label .custom-checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* Fjerner den oprindelige checkbox */
  width: 25px;
  height: 25px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkbox .checkbox-label .custom-checkbox:checked {
  background-color: hsl(32, 100%, 50%);
}
.checkbox .checkbox-label .custom-checkbox:checked::before {
  content: "✔";
  color: white;
}

label.checkbox-label {
  padding: 0px;
}

input,
select,
textarea {
  cursor: pointer;
  border-radius: 8px;
  padding: 5px;
  box-sizing: border-box;
  background-color: hsl(210, 30%, 20%);
  color: white;
  border: white 1px solid;
  min-width: 0;
  width: 100%;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid hsl(0, 0%, 100%);
}
input:checked,
select:checked,
textarea:checked {
  border-color: hsl(32, 100%, 50%);
}

.btn,
input,
select,
button,
textarea {
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid hsl(0, 0%, 100%);
}
.btn:hover,
input:hover,
select:hover,
button:hover,
textarea:hover {
  background-color: hsl(32, 100%, 40%);
  color: white;
}
.btn:disabled,
input:disabled,
select:disabled,
button:disabled,
textarea:disabled {
  background-color: hsl(0, 0%, 50%);
  border-color: hsl(0, 0%, 50%);
  color: black;
}

select:hover,
input[type=text]:hover,
input[type=password]:hover,
input[type=number]:hover,
input[type=date]:hover,
input[type=email]:hover,
input[type=tel]:hover,
textarea:hover {
  background-color: hsl(0, 0%, 30%);
}

.btn,
input[type=submit],
input[type=button],
button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(32, 100%, 50%);
  color: black;
  text-align: center;
  border-radius: 8px;
  border: 0px solid transparent;
  padding: 7px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-decoration: none;
  cursor: pointer;
  text-wrap: wrap;
}

input:disabled,
.btn:disabled {
  cursor: not-allowed;
  background-color: hsl(0, 0%, 50%);
  border-color: hsl(0, 0%, 50%);
}

#status-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  flex: 1;
  z-index: 100;
}
#status-panel .statistics-overview {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#status-panel .statistics-overview h3 {
  align-self: center;
}
#status-panel .statistics-overview > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 1.2rem;
  gap: 20px;
}
#status-panel > * {
  border-radius: 5px;
  margin: 0.2rem;
  padding: 5px 10px;
  font-size: 1.8rem;
  background-color: rgba(255, 255, 255, 0.3);
  color: hsl(0, 0%, 100%);
  backdrop-filter: blur(2px);
}
#status-panel #menu-minimized-ur {
  display: none;
}
#status-panel #menu-minimized-ur.show {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(2px);
}

.countdown {
  animation: color-transition 1s infinite;
}

@keyframes color-transition {
  0% {
    color: #FF0000;
  }
  49% {
    color: #FF0000;
  }
  50% {
    color: hsl(0, 0%, 100%);
  }
  100% {
    color: hsl(0, 0%, 100%);
  }
}
#page-content > #package-history {
  min-width: -moz-min-content;
  min-width: min-content;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: safe center;
}
#page-content > #package-history .table-containers {
  contain: inline-size;
}
#page-content > #package-history .package-history-container {
  width: 100%;
  max-width: 800px;
}
#page-content > #package-history .package-history-container #package-history-table th,
#page-content > #package-history .package-history-container #package-history-table td {
  white-space: nowrap;
}
#page-content > #package-history .details-container {
  top: 10px;
  position: sticky;
  display: flex;
  height: calc(100vh - 20px);
  gap: 1rem;
  flex-direction: column;
  overflow: auto;
}
#page-content > #package-history .details-container h3 {
  margin-bottom: 0.25rem;
}
#page-content > #package-history .package-details {
  display: flex;
  flex-direction: column;
}
#page-content > #package-history .package-details p {
  font-weight: bold;
  margin-bottom: 0.15rem;
}
#page-content > #package-history .package-details span {
  font-weight: normal;
}
#page-content > #package-history #package-issue-container {
  display: none;
  border: 1px solid;
  border-radius: 10px;
  background-color: #ff0000;
  padding: 1rem;
  flex-direction: column;
}
#page-content > #package-history #package-issue-container h3 {
  margin-bottom: 0.25rem;
}
#page-content > #package-history #package-issue-container #package-issue-messages-container p {
  margin: 0;
}
#page-content > #package-history #add-package-issue-container {
  display: none;
}

#package-issue-messages-container {
  max-width: 40ch;
}
#package-issue-messages-container span {
  white-space: pre-line;
  overflow-wrap: break-word;
}

.package-items {
  margin: 10px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.package-items .weight-changed {
  font-weight: bold;
  color: yellow;
}
.package-items .package-item {
  display: flex;
  gap: 1rem;
  padding: 5px;
  border: 1px solid white;
  border-radius: 10px;
}
.package-items .package-item .package-item-left {
  flex: 1 1 0;
  min-width: 0;
  /* NØGLEN til ellipsis i flex */
}
.package-items .package-item .package-item-left > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0px;
  margin-left: 0;
}
.package-items .package-item .package-item-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#packages-container {
  display: flex;
  flex-direction: column;
}

.package-container,
#not-selected-item {
  margin: 0.3rem 0;
}
.package-container .package-container-header,
#not-selected-item .package-container-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  /* vigtigt for ellipsis i flex-børn */
}
.package-container .package-container-header > *,
#not-selected-item .package-container-header > * {
  min-width: 0;
}

#PackageInfo .split-50-50 > :first-child {
  flex: 50 1 0;
  min-width: 230px;
}
#PackageInfo .split-50-50 > :last-child {
  flex: 50 1 0;
  min-width: 290px;
}

#Label ul {
  list-style-type: disc;
  padding-left: 20px;
}

.package {
  margin: 10px 0px;
  padding: 10px;
  border: 1px solid white;
  border-radius: 10px;
}

* {
  margin: 0px;
  padding: 0px;
  text-overflow: ellipsis;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  letter-spacing: 0.2px;
}
* input[type=submit] {
  text-align: center;
}

html,
body {
  width: 100%;
  min-height: 100dvh;
  height: 100%;
}

body {
  display: flex;
  flex-direction: row;
}

hr {
  border: none;
  border-top: 2px solid hsl(32, 100%, 50%);
}

main {
  flex: 1 1 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: hsl(0, 0%, 10%);
  overflow-y: auto;
  /* scroll kun i main */
  width: 100%;
}

.page-content {
  flex: 1;
  display: flex;
  justify-content: center;
}/*# sourceMappingURL=Style.css.map */