  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-size: 1.6vh;              
      font-family: 'Open Sans', sans-serif;  
    }

    body.dashboard-bgr {
      position: relative;
      min-height: 100vh;
    }
  
    body.dashboard-bgr::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("images/bgr1.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-color: #ffffff;
        opacity: 0.6;
        z-index: -1;
    }

  h1 {
    font-size: 5vh;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
    position: absolute;
    top: 4vh;
  }
  
  h2 {
    text-align: center;
    color: rgb(255, 165, 60);
    margin-bottom: 2vh;
    font: bold 3vh/1.4 'Open Sans', arial, sans-serif;
  }

  h3 {
    font-size: 2vh;
  }

  h4 {
    font-size: 1.8vh;
    line-height: 1.4 !important;
  }

  img.logo-image {
    width: 8vw; 
    position: fixed;
    left: 2vw;
    top: 3vh;
    transition: opacity 0.3s ease;
  }

  img.logo-image:hover {
    opacity: 0.85; 
  }

  .icon {
    display: flex;
    align-items: center;
    margin-right: 0.5vw;
  }

  canvas.signature-box {
    width: 25vw;
    border: 3px solid rgb(255, 165, 60);
    border-radius: 1vh;
    aspect-ratio: 1.618 / 1;
  }

  /*-------------------------------------------------------------------------------------------------------------*/
  /*                                                 Dashboard                                                   */
  /*-------------------------------------------------------------------------------------------------------------*/

  .dashboard-table {
    width: 85vw;
    margin: 10vh 7.5vw;
    border-collapse: separate;
    border-spacing: 1vw;
    text-align: center;
    display: table-cell;
  }

  .dashboard-table td {
    width: 19.9vw;
    height: 25vh;
    background-color: rgb(239, 135, 14);
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.3s;
    text-align: center;
  }

  .dashboard-table td:hover {
    transform: scale(1.08);
    background-image: linear-gradient(135deg, rgb(239, 135, 14) 10%, rgb(255, 200, 100) 80%);
  }

  .dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
    color: white;
  }

  .dashboard-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1vw;
    overflow: hidden;
    white-space: wrap;
  }

  .dashboard-icon {
    height: 6vh;
    transition: filter 0.3s ease;
  }


  .dashboard-table td .dashboard-icon {
    filter: brightness(1);
  }


  .dashboard-table td:hover .dashboard-icon {
    filter: brightness(0) invert(1);
  }

  .dashboard-title {
    font-size: 2vh;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1vh;
    transition: color 0.3s, background-color 0.3s;
    padding: 0.5vh 1vw;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4vh;
    line-height: 4vh;
  }

  .dashboard-table td:hover .dashboard-title {
    color: rgb(239, 135, 14);
    background-color: white;
  }

  /* ===========================
   Marktplatz – Grundlayout
   =========================== */

/* ===========================
   DE: Marktplatz – Grundlayout
   =========================== */

.mp-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: #0F172A;
}

/* DE: Hero – moderner Split mit viel Luft */

.mp-hero-right {
    display: flex;
    justify-content: flex-end;
}


/* Modern hero layout – veľké vzdušné bloky */
.mp-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    padding: 40px 0 20px;
    align-items: center;
}

.mp-hero-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mp-hero-title-wrapper {
    max-width: 560px;
}

.mp-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    text-transform: none;          /* ruší staré uppercase zo štýlov */
    line-height: 1.1;
}

.mp-hero-title {
    position: static;
    top: auto;
    margin: 0 0 8px;
    text-transform: none;
    letter-spacing: 0;
}

.mp-hero-subtitle {
    font-size: 18px;
    color: #4B5563;
    max-width: 540px;
    margin-top: 4px;
}

.mp-hero-badge {
    background: #DBEAFE;
    color: #1D4ED8;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    width: fit-content;
}

@media (max-width: 720px) {
    .mp-hero-title {
        font-size: 26px;
    }
}

.mp-hero-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4B5563;
}

.mp-hero-points {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 13px;
    color: #374151;
}
.mp-hero-points li + li {
    margin-top: 4px;
}


.mp-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
}

.mp-hero-hint {
    font-size: 13px;
    color: #6B7280;
}

.mp-hero-points {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 14px;
    color: #374151;
}
.mp-hero-points li + li {
    margin-top: 4px;
}

/* Buttons */

.mp-btn-primary,
.mp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.mp-btn-primary {
    background: #0EA5E9;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
}
.mp-btn-primary:hover {
    background: #0284C7;
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.5);
    transform: translateY(-1px);
}

.mp-btn-secondary {
    background: #FFFFFF;
    color: #0F172A;
    border: 1px solid #D1D5DB;
}
.mp-btn-secondary:hover {
    background: #F9FAFB;
}

.mp-btn-full {
    width: 100%;
}

/* Sektionen & Service-Karten */

.mp-service-footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
}

.mp-service-hint {
    font-size: 12px;
    color: #9CA3AF;
}

/* DE: Sektion unter dem Hero */

.mp-section {
    margin-top: 24px;
}

.mp-section-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
}

.mp-section-header p {
    font-size: 15px;
    color: #6B7280;
}

/* DE: Service-Grid – 4 Spalten, Cards 250px */

/* GRID – modern spacing */
.mp-service-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 12px;
}

/* Karta */
.mp-service-card-link {
    width: 260px;
    text-decoration: none;
    color: inherit;
}

.mp-service-card {
    background: #FFFFFF;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid #E5E7EB;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.06);
    transition: all .2s ease;
}

.mp-service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 32px rgba(0,0,0,0.12),
        0 0 0 1px rgba(59,130,246,0.2);
    border-color: #93C5FD;
}

.mp-service-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.mp-service-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #0F172A;
}

.mp-service-subtitle {
    margin: 4px 0 10px;
    color: #6B7280;
}

body.mp-body {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 40%, #E0F2FE 100%);
}

.mp-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.mp-tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #4B5563;
}
.mp-tag-primary {
    background: #DBEAFE;
    color: #1D4ED8;
}

@media (max-width: 1100px) {
    .mp-service-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
    .mp-service-card {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .mp-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .mp-hero-right {
        justify-content: flex-start;
    }
}

/* ===========================
   Schritte / Progressbar
   =========================== */

.mp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    margin-top: 8px;
}

.mp-topbar-left,
.mp-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-topbar-link {
    font-size: 13px;
    color: #4B5563;
    text-decoration: none;
}
.mp-topbar-link:hover {
    text-decoration: underline;
}

.mp-topbar-step {
    font-size: 13px;
    color: #6B7280;
}

.mp-topbar-label {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F3F4F6;
}

.mp-progress {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: #E5E7EB;
    overflow: hidden;
    margin-bottom: 20px;
}

.mp-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0EA5E9, #22C55E);
    transition: width 0.25s ease-out;
}

.mp-progress-bar-step1 { width: 33%; }
.mp-progress-bar-step2 { width: 66%; }
.mp-progress-bar-step3 { width: 100%; }

/* ===========================
   Layout zwei Spalten
   =========================== */

/* DE: Zweispaltiges Layout – Inhalt oben ausrichten */
.mp-layout-two-cols {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px;
    align-items: flex-start;  /* WICHTIG: keine vertikale Mittelausrichtung */
}


.mp-layout-stack-mobile {
    align-items: flex-start;
}

.mp-col-main {}
.mp-col-side {}

@media (max-width: 900px) {
    .mp-hero {
        grid-template-columns: minmax(0, 1fr);
    }
    .mp-layout-two-cols,
    .mp-layout-two-cols.mp-layout-stack-mobile {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ===========================
   DE: Vollbild-Loading-Overlay
   =========================== */

.mp-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: none;                 /* standardmäßig versteckt */
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.mp-loader-overlay.is-active {
    display: flex;
}

.mp-loader-box {
    background: #0B1120;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 260px;
}

.mp-loader-spinner {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 3px solid rgba(148, 163, 184, 0.4);
    border-top-color: #38BDF8;
    animation: mp-spin 0.8s linear infinite;
}

.mp-loader-text {
    margin: 0;
    font-size: 14px;
    color: #E5E7EB;
    text-align: center;
}

/* DE: einfache Spin-Animation */
@keyframes mp-spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===========================
   Formular-Styles
   =========================== */

.mp-form-card,
.mp-upload-card,
.mp-summary-card {
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 20px 20px 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
}

/* DE: Formular-Karte – kompakter, klare vertikale Struktur */
.mp-form-card {
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
}

/* DE: Titel + Untertitel im Formular */
.mp-form-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.mp-form-subtitle {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
}

/* DE: Formular selbst – gleichmäßige Abstände, nichts hängt unten */
.mp-form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* DE: Grundabstand pro Zeile */
.mp-form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* DE: Zeile mit PLZ + Gebiet nebeneinander */
.mp-form-row-inline {
    flex-direction: row;
    gap: 16px;
}

.mp-form-row-inline .mp-form-field {
    flex: 1 1 0;
}

/* DE: Textarea etwas kompakter, damit der Abstand optisch passt */
.mp-textarea {
    min-height: 120px;
    resize: none;
}

/* DE: Label + Hilfetext */
.mp-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.mp-field-hint {
    font-size: 12px;
    color: #9CA3AF;
}



.mp-summary-card-highlight {
    border-color: #0EA5E9;
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.18);
}


.mp-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.mp-input,
.mp-textarea {
    border-radius: 10px;
    border: 1px solid #D1D5DB;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #FFFFFF;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mp-input:focus,
.mp-textarea:focus {
    border-color: #0EA5E9;
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.3);
}


.mp-field-hint {
    margin-top: 4px;
    font-size: 12px;
    color: #9CA3AF;
}

/* DE: Aktionen im Formular – Button links, Text darunter */
.mp-form-actions {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.mp-form-actions-right {
    align-items: flex-end;
}

.mp-form-actions-column {
    margin-top: 16px;
}

.mp-legal-text {
    font-size: 11px;
    color: #9CA3AF;
    line-height: 1.4;
    margin-top: 20px;
}

/* ===========================
   Seitenleisten / Chips
   =========================== */

/* DE: Seitenkarten im Formular-Schritt */
.mp-side-card {
    border-radius: 14px;
    padding: 14px 14px 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    margin-bottom: 14px;
}


.mp-side-card-soft {
    background: #EFF6FF;
    border-color: #DBEAFE;
}

.mp-side-title {
    margin: 0 0 8px;
    font-size: 15px;
    color: #000;
}
.mp-side-subtitle {
    margin: 0 0 6px;
    font-size: 14px;
}

.mp-side-list {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
    color: #4B5563;
}
.mp-side-list li + li {
    margin-top: 4px;
}

.mp-chip-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mp-chip {
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
}

/* ===========================
   Zusammenfassungen
   =========================== */

.mp-summary-box {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 12px 12px 10px;
    background: #F9FAFB;
    margin-bottom: 16px;
}

.mp-summary-title {
    margin: 0 0 4px;
    font-size: 15px;
    color: #111827;
}

.mp-summary-meta {
    margin: 0 0 6px;
    font-size: 12px;
    color: #4B5563;
}

.mp-summary-text {
    margin: 0;
    font-size: 13px;
    color: #374151;
}

.mp-summary-subtitle {
    margin: 8px 0 4px;
    font-size: 14px;
}

/* Pill / Badge */

.mp-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    background: #E5E7EB;
    color: #374151;
}

.mp-pill-required {
    background: #FEE2E2;
    color: #B91C1C;
}

.mp-pill-optional {
    background: #ECFDF5;
    color: #166534;
}

.mp-badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 11px;
}

/* ===========================
   Foto-Empfehlungen & Upload
   =========================== */

.mp-photo-guide-title {
    margin: 0 0 8px;
    font-size: 16px;
}

.mp-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin-bottom: 8px;
}

.mp-photo-card {
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 10px 11px;
    background: #FFFFFF;
}

.mp-photo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.mp-photo-card-title {
    margin: 0;
    font-size: 14px;
}

.mp-photo-card-text {
    margin: 0 0 6px;
    font-size: 13px;
    color: #4B5563;
}

.mp-photo-card-field {
    margin: 0;
    font-size: 11px;
    color: #9CA3AF;
}

.mp-photo-note {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6B7280;
}

/* Upload-Fläche */

.mp-upload-title {
    margin: 0 0 4px;
    font-size: 16px;
}
.mp-upload-subtitle {
    margin: 0 0 12px;
    font-size: 13px;
    color: #6B7280;
}

.mp-upload-form {
    margin-top: 4px;
}

.mp-upload-area {
    position: relative;
    border-radius: 14px;
    border: 1px dashed #CBD5F5;
    background: #F9FAFB;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
}

.mp-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.mp-upload-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.mp-upload-main {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.mp-upload-hint {
    margin: 2px 0 0;
    font-size: 12px;
    color: #9CA3AF;
}

/* ===========================
   Preisbox & Firmenliste
   =========================== */

.mp-price-box {
    margin: 10px 0 14px;
}

.mp-price-range {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ECFEFF;
    color: #0F172A;
}

.mp-price-min,
.mp-price-max {
    font-size: 20px;
    font-weight: 700;
}

.mp-price-separator {
    font-size: 18px;
    font-weight: 600;
}

.mp-price-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #6B7280;
}

.mp-photo-uploaded {
    margin-top: 10px;
}

.mp-photo-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.mp-photo-list-item {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    padding: 4px 0;
    border-bottom: 1px dashed #E5E7EB;
}
.mp-photo-list-item:last-child {
    border-bottom: none;
}

.mp-photo-name {
    font-weight: 500;
}
.mp-photo-path {
    color: #9CA3AF;
}

.mp-company-list {
    margin-top: 10px;
}

.mp-company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.mp-company-table th,
.mp-company-table td {
    padding: 6px 6px;
    border-bottom: 1px solid #E5E7EB;
    text-align: left;
}

.mp-company-table th {
    font-weight: 600;
    color: #4B5563;
    background: #F9FAFB;
}

.mp-company-name {
    font-weight: 500;
}

/* ===========================
   Steps im Hero (rechte Karte)
   =========================== */
/* DE: Dark-Card im Hero rechts */

.mp-hero-card {
    width: 100%;
    border-radius: 16px;
    padding: 22px 24px;
    background: #111827;
    box-shadow:
        0 20px 45px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.05);
}

.mp-hero-card-title {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.mp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-step {
    display: flex;
    gap: 10px;
}

.mp-step-number {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 999px;
    background: #22C55E;
    color: #022C22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.mp-step-body h3 {
    margin: 0 0 2px;
    font-size: 14px;
    color: #F9FAFB;
}
.mp-step-body p {
    margin: 0;
    font-size: 13px;
    color: #9CA3AF;
}


/* DE: Überschriften in Schritt 2 neutral einfärben (kein Orange) */
.mp-form-card .mp-form-title,
.mp-form-card .mp-summary-title,
.mp-photo-guide-title,
.mp-upload-card .mp-upload-title {
    color: #111827 !important;
}

.mp-upload-card .mp-upload-subtitle,
.mp-summary-meta,
.mp-summary-text {
    color: #4B5563;
}

/* DE: Upload-Karte kompakt ausrichten */
.mp-upload-card {
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 10px;          /* Abstand Titel / Text / Formular */
}

/* DE: Upload-Formular – Elemente untereinander, nichts springt nach unten */
.mp-upload-form {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* DE: Upload-Fläche soll sauber im Card-Layout bleiben */
.mp-upload-area {
    width: 100%;
    min-height: 120px;
    border-radius: 14px;
    border: 1px dashed #CBD5F5;
    background: #F9FAFB;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* DE: Datei-Input bleibt unsichtbar, aber füllt die Fläche */
.mp-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* DE: Button unter Upload-Area links ausrichten, nicht "rausspringen" */
.mp-upload-form .mp-form-actions-right {
    align-items: flex-start;
    margin-top: 4px;
}

/* DE: Zweispaltiges Layout – Inhalt oben ausrichten */
.mp-layout-two-cols {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 24px;
    align-items: flex-start;
}



  /*--------------------------------- */
  /*              logout              */    
  /*--------------------------------- */    

  ul.logout, ul.backwards {
    list-style: none;
    display: flex;
    width: auto;
    text-align: center;
    position: fixed;
    top: 3vh;
    right: 1vw;
    z-index: 100;
    background-color: rgb(239, 135, 14);
    padding: 1vh 1.5vw;
    border-radius: 2vh;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
  }

  ul.backwards {
    padding: 1vh 1vw;
  }

  ul.logout:hover, ul.backwards:hover {
    transform: scale(1.08);
    background-color: rgb(255, 160, 70);
  }

  a.logout, a.backwards {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    font: bold 18px/1.4 'Open Sans', arial, sans-serif;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  a.logout:hover, a.backwards:hover {
    color: white;
  }

  .logout-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/logout.svg') no-repeat center;
    background-size: cover;
    transition: filter 0.3s ease; 
  }

  .backwards-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/images/back.svg') no-repeat center;
    background-size: cover;
    transition: filter 0.3s ease; 
  }


  ul.logout:hover .logout-icon, ul.backwards:hover .backwards-icon {
    filter: brightness(0) saturate(100%) invert(100%) grayscale(0);
  }

  /*--------------------------------- */
  /*          corner-buttons          */    
  /*--------------------------------- */    

  ul.corner-button {
    list-style: none;
    width: auto;
    text-align: center;
    position: fixed;
    top: 3vh;
    right: 1vw;
    z-index: 100;
  }

  ul.corner-button li {
    background-color: rgb(239, 135, 14);
    padding: 0.5vh 0.5vw;
    border-radius: 2vh;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
    margin-bottom: 1vh;
    cursor: pointer;
  }

  ul.corner-button li:hover {
    transform: scale(1.08);
    background-color: rgb(239, 135, 14);
  }

  button.corner-button {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    font: bold 18px/1.4 'Open Sans', arial, sans-serif;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
  }

  button.corner-button:hover {
    color: white;
  }

  .corner-button-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    transition: filter 0.3s ease;
    margin-right: 0.2vw;
    transition: filter 0.3s ease; 
  }

  ul.corner-button li:hover button {
    cursor: pointer;
  }

  ul.corner-button button {
    font-size: 1.8vh;
  }

  li.corner-button:hover .corner-button-icon {
    filter: brightness(0) saturate(100%) invert(100%) grayscale(0);
  }

  .menu-content2 {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  
  .menu-content2.open {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
  }
  
  #menu-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .menu-content2.open + #menu-arrow {
    transform: rotate(180deg);
  }

  /*-------------------------------------------------------------------------------------------------------------*/
  /*                                                  Loader                                                     */
  /*-------------------------------------------------------------------------------------------------------------*/

  #loading-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #germany-mask-container {
    position: relative;
    width: 300px;
    height: 350px;
    clip-path: url(#germany-clip);
    -webkit-clip-path: url(#germany-clip);
  }
  
  /* Čiastôčka */
  .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite alternate;
  }
  
  @keyframes float {
    to {
      transform: translate(var(--x), var(--y));
      opacity: 1;
    }
  }
    
  .loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #loading-text {
    font-family: sans-serif;
    font-size: 2vh;
    color: rgb(120, 120, 120);
    margin-top: 4vh;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
  }


  /*-------------------------------------------------------------------------------------------------------------*/
  /*                                                  Center                                                     */
  /*-------------------------------------------------------------------------------------------------------------*/

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

  div.center-elements {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  /*-------------------------------------------------------------------------------------------------------------*/
  /*                                                EKD - Input                                                  */
  /*-------------------------------------------------------------------------------------------------------------*/

  input.ekd-input {
    background-color: rgb(239, 135, 14, 0.5);
    border-radius: 8px;
    height: 3vh;
    border: none;
    position: absolute;
    color: #000;
    font-size: 1.4vh;
    font-family: 'Open Sans', sans-serif;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    transition: background-color 0.5s ease, border-color 0.5s ease;
  }

  input.ekd-input:focus {
    outline: none;
    border: 2px solid rgb(255, 165, 60);
    box-shadow: 0 0 5px rgba(239, 135, 14, 0.8);
  }

  input.ekd-input:hover {
    background-color: rgba(239, 135, 14, 0.7);
    border-color: rgb(255, 165, 60);
  }

  input[type="time"] {
    padding: 1vh;
    font-size: 1.6vh;
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: rgb(255, 165, 60);
    border: 2px solid rgba(239, 135, 14, 0.7);
    border-radius: 1vh;
    outline: none;
    transition: border-color 0.5s, background-color 0.5s;
    text-align: center;
    width: 100px; /* nastavíš explicitne, 8ch niekedy nestačí */
    box-sizing: border-box; /* zabezpečí, že padding nezväčší input */
    appearance: none; /* pre niektoré prehliadače */
  }
  
  /* Zrušiť natívnu "clock" ikonu na Edge/Chrome */
  input[type="time"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
  }
  
  input[type="time"]:focus {
    border-color: rgba(239, 135, 14, 0.4);
    background-color: rgba(239, 135, 14, 0.7);
  }
  


  /*-------------------------------------------------------------------------------------------------------------*/
  /*                                                Containers                                                   */
  /*-------------------------------------------------------------------------------------------------------------*/

  .standard-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 35px;
    border: 3px solid rgb(255, 165, 60);
    border-radius: 12px;
    max-height: 96vh;           
    overflow: hidden;           
    display: flex;
    flex-direction: column;
  }

  div.empty {
    width: 100%;
  }

/*------------------------------------------------------------------------------------------------------------*/
/*                                                 Buttons                                                     */
/*-------------------------------------------------------------------------------------------------------------*/

.btn-arrow {
  padding: 0;
  border: none;
  background: transparent;
  margin: 0 0.5vw;
}

.btn {
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-danger {
  background: #d9534f;
  color: white;
}

.btn-danger:hover {
  background: #c9302c;
}

.btn-cancel {
  background: #5a6268;
  color: white;
}

.btn-cancel:hover {
  background: #444b50;
}
    
.button {
  background: none;
  border: 2px solid rgb(255, 165, 60);
  border-radius: 10px;
  font: 18px/1.4 'Open Sans', arial, sans-serif;
  color: rgb(239, 135, 14);
  padding: 1vh 2vw;
  transition: background-color 1.2s ease, color 1.2s ease;
  cursor: pointer;
  width: auto;
}

.button:hover {
  background-color: rgb(239, 135, 14);
  color: #ffffff;
}

.button-image {
  border: none; 
  background-color: transparent; 
  cursor: pointer; 
  padding: 10px;
  transition: background-color 0.5s ease;
  position: relative;
  border-radius: 8px;
}

.button-icon {
  width: 2.5vw;
  height: 2.5vh;
  transition: transform 0.5s ease, opacity 0.5s ease; 
  opacity: 0.8; 
}

.button-icon:hover {
  transform: scale(1.1); 
  opacity: 1; 
}

.btn-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.left-btn {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

.right-btn {
  display: flex;
  justify-content: flex-end;
}

.a-btn, .delete-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.delete-button {
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1.4vh;
  font-weight: bold;
  cursor: pointer;
  padding: 1.2vh 1vw;
  transition: background-color 0.3s ease, transform 0.3s;
  display: flex;
  align-items: center;
}

.delete-button:hover {
  background-color: #c9302c;
  transform: scale(1.1);
}


.delete-button .icon svg {
  fill: white;
  margin-right: 0.5vw;
  vertical-align: middle;
}

.delete-button .text,
.create-button .text {
  vertical-align: middle;
}

.text {
  display: flex;
  align-items: center; 
}

.create-button {
  background-color: rgb(255, 165, 60);
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s ease;
  padding: 1.2vh 1vw;
  display: flex;
  align-items: center;
}

.create-button:hover {
  transform: scale(1.1);
  background-color: rgb(239, 135, 14);
}

.message {
  width: auto;
  margin-top: 1vh;
  width: auto;
  display: flex; 
  justify-content: center;
}

.transparent-btn {
  background-color: transparent;
  border: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
  color: white;
}


/*-------------------------------------------------------------------------------------------------------------*/
/*                                                 Toggle switch                                               */
/*-------------------------------------------------------------------------------------------------------------*/

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  width: 100%; 
}

.toggle-label {
  color: #666;
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 3vw;
  height: 2.1vh;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  width: 3vw;
  height: 2.1vh;
  background-color: #ccc;
  border-radius: 15px;
  transition: background-color 0.3s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 1.65vh;
  height: 1.65vh;
  left: 5px;
  bottom: 50%;
  transform: translateY(50%);
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s, background-color 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgb(80, 230, 80); 
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translate(1.65vw, 50%);
  background-color: white;
}

.toggle-switch input:checked ~ .toggle-label {
  color: black;
}

.toggle-container2 {
  display: flex;
  align-items: center;
  font-family: Arial, sans-serif;
  user-select: none;
  justify-content: center; 
  width: 100%;
}

.toggle-label2 {
  margin: 0 10px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.toggle-switch2 {
  position: relative;
  width: 3vw;
  height: 2.1vh;
  background: #ddd;
  border-radius: 15px;
  cursor: pointer;
}

.toggle-switch2 input {
  display: none;
}

.toggle-slider2 {
  position: absolute;
  top: 50%;
  left: 5px;
  width: 1.6vh;
  height: 1.6vh;
  background: white;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-switch2[data-state="nein"] {
  background: rgb(255, 165, 60);
}
.toggle-switch2[data-state="neutral"] {
  background: #bbb;
}
.toggle-switch2[data-state="ja"] {
  background: rgb(80, 230, 80);
}

.toggle-switch2[data-state="neutral"] .toggle-slider2 {
  left: 50%;
  transform: translate(-50%, -50%);
}

.toggle-switch2[data-state="ja"] .toggle-slider2 {
  left: 2vw;
}


/*-------------------------------------------------------------------------------------------------------------*/
/*                                                    Table                                                    */
/*-------------------------------------------------------------------------------------------------------------*/

.table-wrapper {
  max-width: 94vw;
  overflow-x: scroll;
}

.table-database {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 2vh 0;
  font-size: 0.9em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Table headers */
.table-database th {
  background-color: rgb(255, 165, 60);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  position: sticky;
  z-index: 10;
}

.table-database thead {
  background-color: rgb(255, 165, 60);
}

/* Table cells */
.table-database td {
  text-align: left;
  padding: 1vh;
  line-height: 1.4;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s;
}

/* Striped rows */
.table-database tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.table-database tbody tr {
  transition: background-color 0.3s ease;
}

/* Hover effect for rows */
.table-database tbody tr:hover {
  background-color: rgb(255, 165, 60, 0.2);
}

td.sub-th {
  background-color: rgb(255, 165, 60, 0.75);
  color: white;
  font-size: 1.8vh;
  font-weight: bold;
}

.svg-icon {
  width: 1.2vw; 
  height: 2.5vh;
  fill: rgb(255, 165, 60); 
  transition: fill 0.3s ease, transform 0.2s; 
  cursor: pointer;
}

.svg-icon:hover {
  fill: rgb(239, 135, 14); 
  transform: scale(1.08);
}

.description-photo {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  text-align: left;
  padding: 10px;
}

/* Icon */
.show-image {
  width: 1vw; 
  height: 2vh;
  fill: rgb(255, 165, 60);
  transition: fill 0.3s ease, transform 0.2s;
  cursor: pointer;
  margin-left: 0.5vw;
  display: inline-block;
  vertical-align: middle; /* Zarovnanie ikony k textu */
}

/* Hover efekt na ikone */
.show-image:hover {
  transform: scale(1.08);
}

/* Náhľad obrázka */
.image-preview {
  display: none;
  position: absolute;
  bottom: 100%; /* Upravilo sa, aby bol správne umiestnený */
  width: auto;
  height: 40vh;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(250, 200, 150);
  padding: 0.3vh;
  z-index: 500;
}

.show-image:hover + .image-preview {
    display: block;
}


.edit-table {
  width: 100%; 
  border-collapse: collapse;
  margin-bottom: 2vh;
}

.edit-table td {
  padding: 10px 15px;
  border: 1px solid #ccc; 
  vertical-align: middle;
}

.edit-table td.profil, .edit-table td.profil2 {
  background-color: rgba(255, 165, 60, 0.1); 
  font-weight: bold;
}

.edit-table input.myInput, input.myInput {
  width: 100%;
  padding: 8px; 
  border: 1px solid #ccc;
  border-radius: 4px; 
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s;
}

.edit-table input.myInput:focus, input.myInput {
  border-color: rgb(255, 165, 60); 
  outline: none; 
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.edit-table textarea.myTextarea {
  width: 100%; 
  padding: 8px; 
  border: 1px solid #ccc; 
  border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s;
  min-height: 80px;
  resize: vertical;
  font-family: inherit; 
  resize: none;
}

.edit-table textarea.myTextarea:focus {
  border-color: rgb(255, 165, 60);
  outline: none;
}


.edit-table .textbox {
  position: relative;
}

.standard-container {
  overflow-x: scroll;
  overflow-y: visible;
  margin-left: 2vw;
  margin-right: 2vw;
  padding: 3vh 2vw
}

.scroll-left {
  overflow-x: scroll;
  overflow-y: visible;
  height: 100vh;
}


/*-------------------------------------------------------------------------------------------------------------*/
/*                                                  Select                                                     */
/*-------------------------------------------------------------------------------------------------------------*/
  

.select-vob {
  width: 100%; 
  padding: 0.8vh 0.5vw;
  font-size: 1.6vh;
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(255, 165, 60, 0.5);
  border-radius: 1vh;
  border: 2px solid transparent;  
  color: #000;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.5s ease, border-color 0.5s ease;
  display: flex;
  height: 100%;
  box-sizing: border-box;
}

.select-vob:hover {
  background-color: rgba(239, 135, 14, 0.7);
  border-color: rgb(255, 165, 60);
}

.select-vob:focus {
  outline: none;
  border: 2px solid rgb(255, 165, 60); 
  box-shadow: 0 0 5px rgba(239, 135, 14, 0.8);
}


/*-------------------------------------------------------------------------------------------------------------*/
/*                                                    Modal                                                    */
/*-------------------------------------------------------------------------------------------------------------*/

.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 300px;
}

/* Button Container */
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.modal-buttons button {
margin: 10px;
padding: 10px 20px;
border: none;
cursor: pointer;
}

form {
  display: flex;
  justify-content: center;
  align-items: center;     
  height: 100vh;          
}


.modal2 {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);

  display: flex;
  justify-content: center;
  align-items: center;

  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease;
}

.modal2.show2 {
  visibility: visible;
  opacity: 1;
}


.modal-content2 {
  position: relative;
  background-color: #fff;
  padding: 3vh 3vw;
  border: 1px solid rgb(255, 165, 60);
  width: 40vw;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* pozícia tlačidla vpravo hore */
.close-button2 {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: rgb(255, 165, 60);
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .modal-content2 {
      width: 90vw;
  }
}

/*-------------------------------------------------------------------------------------------------------------*/
/*                                                 Photo-gallery                                               */
/*-------------------------------------------------------------------------------------------------------------*/


.photo-gallery {
  display: flex;
  overflow-x: auto;
  gap: 0.5vw;  
  padding: 1vh 0;
  margin: 0;
  justify-content: flex-start;
  max-width: 20vw;
}

.img-gallery {
  width: 6vw;
  height: 6vw;
  object-fit: cover;  
  border-radius: 0.8vh;  
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.img-gallery:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.photo-item {
  position: relative;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 1.5vh;
  right: 1vw;
  font-size: 4vh;
  color: white;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  font-size: 4vh;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
}

.left {
  left: 1vw;
  font-weight: bold;
}

.right {
  right: 1vw;
  font-weight: bold;
}


.delete-btn {
  position: absolute;
  top: 0.5vh;
  right: 0.25vw;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10; 
}

.delete-btn img {
  width: 1.2vw;
  height: 1.2vw;
}


.modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  z-index: 1000; 
  justify-content: center;
  align-items: center;
  padding: 1vw;
}

.modal-content {
  position: relative;
  background-color: white;
  padding: 2vw;
  border-radius: 1vh;
  width: auto;  
  height: auto; 
  text-align: center;
  z-index: 1001;
}

.modal .btn {
  margin: 1vh;
  padding: 1vh 1vw;
  cursor: pointer;
}

.btn-confirm {
  background-color: red;
  color: white;
}

.btn-cancel {
  background-color: gray;
  color: white;
}

.close-btn2 {
  position: absolute;
  top: 1vh;
  right: 0.5vw;
  font-size: 2vh;
  color: black;
  cursor: pointer;
  z-index: 1010;
}


/*-------------------------------------------------------------------------------------------------------------*/
/*                                          Upload - drag and drop                                             */
/*-------------------------------------------------------------------------------------------------------------*/


.upload-area {
  width: 100%;
  height: 10vh;
  border: 2px dashed rgb(255, 165, 60);
  border-radius: 1vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ccc;
  font-weight: normal;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  padding: 1vh 1vw;
  overflow: hidden;
  overflow-y: scroll;
  min-width: 15vw;
}

.upload-area input[type="file"] {
  display: none;
}

.upload-area::before {
  content: "Foto hochladen";
  color: #ccc;
  font-size: 1.6vh;
  pointer-events: none;
}


.upload-area.dragging {
  border-color: #000;
  color: #000;
}


#file-list, .file-list {
  margin-top: 1vh;
  width: 100%;
  text-align: left;
}

.file-item {
  background-color: #f0f0f0;
  margin: 0.5vh 0;
  padding: 0.5vh 0.25vw;
  border-radius: 0.5vh;
}


/*-------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------- Mobile version-----------------------------------------------*/
/*-------------------------------------------------------------------------------------------------------------*/

@media (max-width:1100px) and (orientation: portrait) {

  * {
    font-size: 2vh;
  }

  html, body {
    height: 100%;
    min-height: -webkit-fill-available; 
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  body.dashboard-bgr {
    overflow-y: auto;
  }

  body.dashboard-bgr::before {
    height: 100vh;
    min-height: 100vh;
  }

  img.logo-image {
    width: 30vw; 
    left: 4vw;
    top: 2vh;
  }

  input.ekd-input {
    height: 5vh;
    font-size: 2vh;
    padding-left: 1vw;
    padding-right: 1vw;
  }

  .button {
    font-size: 2vh;
  }

  .dashboard-table {
    width: 96vw;
    margin: 10vh 5vw;
    border-spacing: 2vw;
  }

  .dashboard-table td {
    width: 47vw;
    height: 20vh;
  }

  .dashboard-title {
    font-size: 1.8vh;
  }

  ul.logout, ul.backwards {
    top: 1vh;
    right: 4vw;
    padding: 1vh 1.5vw;
    border-radius: 2vh;
  }

  ul.backwards {
    padding: 1vh 1vw;
  }

  a.logout, a.backwards {
    color: white;
    font: bold 1.8vh/1.4 'Open Sans', arial, sans-serif;
    padding: 10px 15px;
  }

  .logout-icon {
    width: 2vh;
    height: 2vh;
  }

  .backwards-icon {
    width: 2vh;
    height: 2vh;
  }

  .svg-icon {
    width: 5vw; 
    height: 5vh;
  }

  thead {
    background-color: rgb(255, 165, 60);
  }

  .standard-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2vh 4vw !important;
    border-radius: 12px;
    max-height: 74vh;
    margin-top: -6vh;
    border: 3px solid rgb(255, 165, 60);
    min-width: 96vw;
  }

  h3 {
    font-size: 2.5vh;
  }

  table.edit-table {
    max-width: 100%;
  }
  
  .edit-table input.myInput, input.myInput {
    padding: 1vh 2vw;
    font-size: 2vh;
    line-height: 2vh;
    letter-spacing: 0;
  }

  .edit-table td {
    padding: 1.5vh 2vw;
  }
  
  .edit-table textarea.myTextarea {
    min-height: 220px;
  }

  .toggle-container {
    gap: 10px;
    font-size: 2vh;
  }
  
  .toggle-switch {
    width: 12vw;
    height: 2.5vh;
  }
  
  .toggle-slider {
    width: 100%;
    height: 100%;
    border-radius: 2vh;
  }
  
  .toggle-slider::before {
    height: 2vh;
    width: 2vh;
    left: 0.5vw;
  }

  .toggle-switch input:checked + .toggle-slider::before {
    transform: translate(7.0vw, 50%);
    background-color: white;
  }
  
  .toggle-switch2 {
    width: 15vw;
    height: 2.5vh;
    border-radius: 1.5vh;
  }
  
  .toggle-switch2 input {
    display: none;
  }
  
  .toggle-slider2 {
    position: absolute;
    top: 50%;
    left: 5px;
    width: 2vh;
    height: 2vh;
    background: white;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .toggle-switch2[data-state="nein"] {
    background: rgb(255, 165, 60);
  }
  .toggle-switch2[data-state="neutral"] {
    background: #bbb;
  }
  .toggle-switch2[data-state="ja"] {
    background: rgb(80, 230, 80);
  }
  
  .toggle-switch2[data-state="neutral"] .toggle-slider2 {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .toggle-switch2[data-state="ja"] .toggle-slider2 {
    left: 10.4vw;
  }

  .toggle-label2 {
    font-size: 2vh;
  }

  .select-vob {
    font-size: 2vh;
    padding: 0.8vh 2vw;
  }

  input[type="time"] {
    font-size: 2vh;
  }

  canvas.signature-box {
    width: 80vw;
  }

  .dashboard-content {
    padding: 2vw;
  }

  .create-button {
    padding: 1.2vh 3vw;
  }

  .icon {
    margin-right: 2vw !important;
  }

  .button {
    padding: 2vh 2vw;
    font-size: 2.2vh;
    font-weight: bold;
    border: 4px solid rgb(255, 165, 60);
  }

  td.sub-th {
    font-size: 2.2vh;
    padding-left: 2vw;
  }

  input[type="time"] {
    width: auto;
  }

  .show-image {
    width: 4vw; 
    height: 2vh;
    fill: rgb(255, 165, 60);
    transition: fill 0.3s ease, transform 0.2s;
    cursor: pointer;
    margin-left: 0.5vw;
    display: inline-block;
    vertical-align: middle; /* Zarovnanie ikony k textu */
  }

  .img-gallery {
    width: 10vh;
    height: 10vh;
  }

  .close-btn {
    top: 2vh;
    right: 3vw;
    font-weight: bold;
  }
  
  .nav-btn {
    font-size: 5vh;
    font-weight: bold;
  }
  
  .left {
    left: 3vw;
    font-weight: bold;
  }
  
  .right {
    right: 3vw;
    font-weight: bold;
  }

  .lightbox-img {
    max-width: 75%;
    max-height: 75%;
  }

  .delete-btn img {
    width: 5vw;
    height: 5vw;
  }

  .modal-content {
    min-width: 90vw;
    padding: 3vh 4vw;
    border-radius: 1vh;
    white-space: wrap;
  }

  .modal-content p, .btn-confirm, .btn-cancel {
    font-size: 2.2vh;
  }

  .btn-confirm, .btn-cancel {
    padding: 1vh 4vw !important;
  }

  .close-btn2 {
    top: 0;
    right: 2vw;
    font-size: 3vh;
  }

}