﻿@charset "UTF-8";
/* ==========================================
   VARIABLES
========================================== */
/* Brand Colors */
/* Neutral Colors */
/* Borders / Radius */
/* Shadows */
/* Spacing Scale */
/* Typography */
/* ==========================================
   MIXINS
========================================== */
/* ==========================================
   TYPOGRAPHY
========================================== */
html, body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

/* Headings */
h1, h2, h3, h4, h5 {
  margin-top: 0;
  font-weight: 600;
  color: #ffffff;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

/* Paragraphs */
p {
  margin: 1rem 0;
}

/* Links */
a {
  color: #2f3c45;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: rgb(30.4689655172, 38.8965517241, 44.7310344828);
  text-decoration: underline;
}

/* Muted text */
.text-muted {
  color: #ffffff !important;
}

/* ROOT LAYOUT */
body {
  background: #1f2a2e;
}

.layout-container {
  /*display: grid;
  grid-template-rows: 70px auto;
  grid-template-columns: 250px auto;
  height: 100vh;*/
  background: #1f2a2e;
}

/* FULLSCREEN MODE */
.layout-container.fullscreen .layout-header,
.layout-container.fullscreen .layout-sidebar {
  display: none !important;
}
.layout-container.fullscreen .layout-main {
  grid-column: 1/3 !important;
  width: 100vw;
  height: 100vh;
  padding: 0 !important;
}
.layout-container.fullscreen .content-wrapper {
  padding: 0 !important;
  margin: 5rem !important;
}

.fullscreen-video-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullscreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HEADER */
.layout-header {
  grid-column: 1/3;
  height: 70px;
  background: #2d3a40;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.12);
  z-index: 5;
}

/* HEADER LEFT */
.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logo img {
  height: 32px;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}
.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.header-nav a:hover {
  color: #965d49;
}

/* HEADER RIGHT */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* SIDEBAR */
.layout-sidebar {
  background: #1f2a2e;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  transition: width 0.25s;
}
.layout-sidebar.closed {
  width: 60px;
}

/* MAIN CONTENT */
.layout-main {
  background: #1f2a2e;
  overflow-y: auto;
  padding: 1.5rem;
}

.content-wrapper {
  padding: 1.5rem;
  background: #1f2a2e;
}

/* ESC TOOLTIP */
.fullscreen-esc-overlay {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  z-index: 99999;
  animation: escfadein 0.3s forwards ease-out;
}

@keyframes escfadein {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================
   UTILITIES
========================================== */
/* Margin */
.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

/* Padding */
.p-1 {
  padding: 0.25rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-3 {
  padding: 1rem;
}

/* Flexbox helpers */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

/* Width */
.w-100 {
  width: 100%;
}

/* Text */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

/* Display */
.hide {
  display: none !important;
}

.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background: #ed7e00;
  color: #ffffff;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 48px;
  font-weight: 600;
}
.btn-primary:hover {
  background: rgb(196.2, 104.3088607595, 0);
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 1rem;
  background: #965d49;
  color: #ffffff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-weight: 600;
}
.btn-secondary:hover {
  background: #ed7e00;
}
.btn-secondary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-links {
  width: 100%;
  padding: 1rem;
  background: none;
  color: #ffffff;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}
.btn-links:hover {
  color: #ed7e00;
}
.btn-links:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.15);
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

input, select, textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 6px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #965d49;
  box-shadow: 0 0 0 3px rgba(150, 93, 73, 0.25);
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.input-group {
  margin-bottom: 1rem;
}

/* ==========================================
   NAVIGATION MENU
========================================== */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-item:hover {
  background: rgb(157.150862069, 175.5862068966, 188.349137931);
}
.nav-item.active {
  background: rgb(67.6637931034, 86.3793103448, 99.3362068966);
  font-weight: 600;
}
.nav-item span {
  display: inline-block;
}

/* Plain button inside nav */
.nav-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  text-align: left;
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.nav-btn:hover {
  background: rgb(157.150862069, 175.5862068966, 188.349137931);
}

/* ICONS (Simple placeholders — you can replace with real SVGs) */
.icon-menu,
.icon-pos,
.icon-settings,
.icon-info {
  width: 18px;
  height: 18px;
  background: #2f3c45;
  border-radius: 3px;
}

/* =========================================
   TABLE LAYOUT – VIEWPORT STICKY
========================================= */
.table-layout {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER & FOOTER → Viewport Sticky */
.table-header,
.table-footer {
  position: sticky;
  z-index: 20;
  background-color: #2f3c45;
}

/* Header oben fixieren */
.table-header {
  top: 0;
}

/* Footer unten fixieren */
.table-footer {
  bottom: 0;
}

/* Scrollbarer Tabellenbereich */
.table-scroll {
  flex: 1;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}

/* Spaltenbreiten synchron halten */
.table-header table,
.table-scroll table,
.table-footer table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  /* -----------------------------------------
     RESPONSIVE: Card Layout ab max-width 768px
  ------------------------------------------*/
}
.table thead {
  background-color: #2f3c45;
  color: #ffffff;
  position: sticky;
  top: 0;
}
.table thead th {
  padding: 0.5rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}
.table tbody tr {
  background-color: #ffffff;
}
.table tbody tr:nth-child(even) {
  background-color: rgb(209.5974025974, 220.4545454545, 224.4025974026);
}
.table tbody tr:hover {
  background-color: rgb(133.4285714286, 162.5, 173.0714285714);
}
.table tbody tr.is-focused {
  background-color: rgb(255, 210.7405063291, 160.5) !important;
  box-shadow: inset 0 0 0 2px #ed7e00;
}
.table tbody tr.is-focused td {
  font-weight: 600;
}
.table tbody td {
  padding: 0.5rem 1rem;
  font-size: 14px;
  color: #000000;
  width: 100%;
}
.table tfoot {
  background-color: rgb(41.2662337662, 55.9090909091, 61.2337662338);
  position: sticky;
  bottom: 0;
}
.table tfoot td {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #ed7e00;
  font-size: 18px;
}
.table tfoot td:first-child {
  text-align: right;
}
@media (max-width: 1100px) {
  .table thead {
    display: none;
  }
  .table tbody, .table tr, .table td {
    display: block;
    width: 100%;
  }
  .table tr {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid rgb(148.6623376623, 174.0909090909, 183.3376623377);
    border-radius: 8px;
  }
  .table tr.is-focused {
    border-color: #ed7e00;
    box-shadow: 0 0 0 2px #ed7e00;
  }
  .table td {
    text-align: right;
    padding: 0.25rem 0;
    position: relative;
    /* Label vor dem Wert */
  }
  .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    font-weight: 600;
    color: #000000;
    text-align: left;
  }
}

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(circle at top, #202640 0, #0b0c10 55%, #050608 100%);
  color: #f5f5f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.notfound__card {
  position: relative;
  max-width: 600px;
  width: 100%;
  padding: 3rem 2.5rem 2.75rem;
  border-radius: 1.5rem;
  background: rgba(10, 12, 20, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.notfound__card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(102, 126, 234, 0.25), transparent), radial-gradient(circle at bottom right, rgba(118, 75, 162, 0.3), transparent);
  opacity: 0.9;
  z-index: -1;
}
.notfound__code {
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #a5b4fc, #c4b5fd, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 25px rgba(129, 140, 248, 0.6);
  margin-bottom: 0.25rem;
}
.notfound__title {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.notfound__text {
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e5e7eb;
  opacity: 0.92;
}
.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}
.notfound__button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.notfound__button--primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #f9fafb;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
}
.notfound__button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.8);
}
.notfound__button--primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.7);
}
.notfound__button--ghost {
  background: rgba(17, 24, 39, 0.85);
  color: #e5e7eb;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}
.notfound__button--ghost:hover {
  background: rgba(31, 41, 55, 0.95);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.8), 0 8px 24px rgba(15, 23, 42, 0.65);
  transform: translateY(-1px);
}
.notfound__button--ghost:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.8), 0 5px 14px rgba(15, 23, 42, 0.65);
}
.notfound__illustration {
  position: relative;
  height: 140px;
  margin: 0 auto;
  max-width: 260px;
}
.notfound__planet {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f9fafb, #c7d2fe, #6366f1);
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.55), 0 0 0 1px rgba(129, 140, 248, 0.4);
  animation: notfound-breathe 5s ease-in-out infinite;
}
.notfound__orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  pointer-events: none;
}
.notfound__orbit--one {
  width: 150px;
  height: 150px;
  animation: notfound-orbit 16s linear infinite;
}
.notfound__orbit--two {
  width: 190px;
  height: 190px;
  opacity: 0.7;
  animation: notfound-orbit 22s linear infinite reverse;
}
.notfound__ship {
  position: absolute;
  width: 22px;
  height: 34px;
  background: linear-gradient(160deg, #fdf2f8, #bfdbfe);
  border-radius: 12px 12px 4px 4px;
  top: 50%;
  left: 50%;
  transform-origin: -70px -20px;
  box-shadow: 0 8px 18px rgba(191, 219, 254, 0.6);
  animation: notfound-ship-orbit 14s linear infinite;
}
.notfound__ship::before, .notfound__ship::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.notfound__ship::before {
  bottom: -10px;
  width: 10px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0, #fde68a, transparent 70%);
  opacity: 0.9;
  filter: blur(1px);
}
.notfound__ship::after {
  bottom: -20px;
  width: 3px;
  height: 18px;
  background: linear-gradient(to bottom, rgba(251, 191, 36, 0.9), transparent);
  opacity: 0.9;
  filter: blur(0.5px);
}
@keyframes notfound-breathe {
  0%, 100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 18px 45px rgba(79, 70, 229, 0.55), 0 0 0 1px rgba(129, 140, 248, 0.4);
  }
  50% {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 22px 55px rgba(79, 70, 229, 0.75), 0 0 0 1px rgba(129, 140, 248, 0.6);
  }
}
@keyframes notfound-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes notfound-ship-orbit {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 600px) {
  .notfound__card {
    padding: 2.25rem 1.5rem 2rem;
  }
  .notfound__title {
    font-size: 1.4rem;
  }
  .notfound__text {
    font-size: 0.95rem;
  }
  .notfound__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .notfound__button {
    width: 100%;
    justify-content: center;
  }
}

.login-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: url("/images/login-bg.png") center/cover no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}

.login-overlay {
  width: 45%;
  min-width: 380px;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5%;
  padding: 2rem;
  border-radius: 10px;
}
@media (max-width: 900px) {
  .login-overlay {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    height: auto;
    border-radius: 6px;
  }
}

.login-box {
  width: 100%;
  max-width: 400px;
  color: #fff;
}
.login-box .title {
  font-size: 34px;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ffffff;
}
.login-box .subtitle {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}
.login-box .error-box {
  background: rgba(255, 120, 120, 0.2);
  border-left: 4px solid #ff4444;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  animation: fadeIn 0.3s ease;
}

.loader {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.redirect-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #1f2937, #111827);
  padding: 20px;
  color: #f9fafb;
  font-family: "Segoe UI", sans-serif;
}

.redirect-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: 40px 50px;
  border-radius: 16px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.redirect-card h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.6rem;
}
.redirect-card p {
  opacity: 0.8;
  font-size: 1rem;
}

/* Loader Animation */
.loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #60a5fa;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.tiles-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 4rem;
  color: white;
  text-align: center;
}

.tile {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 400px;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.tile h3 {
  margin-top: 0.2rem;
  color: #ed7e00;
  font-weight: 600;
}
.tile p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #ffffff;
}
.tile .tile-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.display-data {
  padding: 1.5rem;
}

.error {
  color: red;
  font-weight: bold;
}

.summary-boxes {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.summary-boxes .summary-box {
  flex: 1;
  min-width: 220px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  position: relative;
  color: #ffffff;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  text-align: center;
}
.summary-boxes .summary-box .label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.summary-boxes .summary-box .value {
  font-size: 2.4rem;
  font-weight: bold;
  color: #ffffff;
}
.summary-boxes .summary-box .currency {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: white;
}
