body {
    font-family: arial, sans-serif;
    font-size: 95%;
}

.Wt-auth-logged-in {
    text-align: right;
}

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

.Wt-auth-login legend {
    display: none;
}

.logoAlbachTrac {

    max-width: clamp(300px, 80%, 1000px);
    height: auto;
    margin: 0;
    padding-left: 0;
}

.contentsStack {
    /*display: flex;
    height: auto;*/
}

.machine-detail-page {
    overflow-y: auto;
}

.appMenuBox {
    margin: 20px;
}

.appUserManagement {
    text-align: left;
}

.wrap {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.disabled-date {
    color: #ccc;
    pointer-events: none;
}

.appUeberschrift {
    font-size: x-large;
    text-decoration: underline;he
    margin-left: 10px;
    margin-bottom: 10px;
}

.appGruppenManagement {
    text-align: left;
}

.imageAppMenu {
    width: 70px;
    text-align: left;
}

.beschreibungAppMenu {
    text-align: left;
}

.Wt-auth-icon {
    cursor: pointer;
    padding-left: 4px;
    padding-right: 4px;
}

.btn {
    background-color: #198754;
}

.machine-image-container {
    text-align: center;
    padding: 10px;
    background-color: #198754;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}

.machine-image-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #198754;
    --bs-btn-border-color: #0f5132;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0f5132;
    --bs-btn-hover-border-color: #198754;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0f5132;
    --bs-btn-active-border-color: #198754;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
}
.green-header-table th {
  background-color: #198754 !important;
  color: white !important;
}
input[readonly] {
    background-color: #f0f0f0;
    /* Light gray background */
    color: #888888;
    /* Dark gray text color */
    border: 1px solid #ccc;
    /* Lighter border */
}

.tabwidget {
    font-family: 'Nunito', sans-serif;
    margin-top: 10px;
}

.tabwidget .nav-tabs {
    background-color: transparent;
    border: none;
}

.tabwidget .nav-tabs li a {
    color: #222;
    background: transparent;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 15px 10px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
}

.tabwidget .nav-tabs li:last-child a {
    margin-right: 0;
}

.tabwidget .nav-tabs li a:hover,
.tabwidget .nav-tabs li.active a {
    color: #222;
    background: #fff;
    border: none;
}

.tabwidget .nav-tabs li.active a {
    color: #198754;
}

.tabwidget .nav-tabs li a:before,
.tabwidget .nav-tabs li a:after {
    content: "";
    background-color: #d1d1d1;
    height: 7px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}

.tabwidget .nav-tabs li a:after {
    background-color: #198754;
    height: 100%;
    opacity: 0;
}

.tabwidget .nav-tabs li.active a:before,
.tabwidget .nav-tabs li a:hover:before {
    height: 100%;
    opacity: 0;
}

.tabwidget .nav-tabs li.active a:after,
.tabwidget .nav-tabs li a:hover:after {
    height: 7px;
    opacity: 1;
}

.tabwidget .tab-content {
    color: #555;
    background: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;

}

.tabwidget .tab-content h3 {
    color: #222;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}

.btn-back {
    background: #004d2d;
    border: 1px solid #004d2d;
    border-radius: 6px;
    color: #fff;
    font-size: 20px;
    padding: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
}

.btn-back:hover {
    background: #105937;
}

.header-title {
    flex: 1;
        height: 10%;
}

.header-title h1 {
    margin: 0;
    font-size: 20px;
    color: rgb(0, 112, 51);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-header {
    width: 100%;
    margin: 0 auto;
    height: 10%;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-header>*:last-child {
    width: 50px;
}

.gps-title {
    text-align: center;
    width: 100%;
    padding: 3px 0;
    color: black;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
}

.gps-title h3 {
    font-size: 14px;
    margin: 0;
    padding: 2px 0;
}


.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th,
.data-table td {
    border: 1px solid rgb(0, 112, 51);
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: rgb(0, 112, 51);
    color: #fff;
}

.record {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}



.accordion-container {
    background-color: #fff;

    overflow-y: auto;
}

.accordion-item {
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.accordion-header {
    background-color: #f0f0f0;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #fff;
}

.accordion-header.expanded {
    background-color: #105937;
}

.accordion-header.expanded h3 {
    color: black;
}

.accordion-content {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;

}

.even-item .accordion-header {
    background-color: #d5e8d7;
}

.odd-item .accordion-header {
    background-color: #e4efe5;
}

.machinedaten-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.machinedaten-table th,
.machinedaten-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.machinedaten-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.machinedaten-table tr:nth-child(odd) {
    background-color: #ffffff;
}

.machinedaten-table tr:hover {
    background-color: #f1f1f1;
}

.machinedaten-label {
    font-weight: bold;
    text-align: right;
    background-color: #f2f2f2;
}

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

.tabwidget {
    font-family: 'Nunito', sans-serif;
    margin-top: 10px;
    width: 100%;
    display: block;
    margin-bottom: 5px;
}


.tabwidget .nav-tabs {
    background-color: transparent;
    border: none;
}

.tabwidget .nav-tabs li a {
    color: #222;
    background: transparent;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 15px 10px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
}

.tabwidget .nav-tabs li:last-child a {
    margin-right: 0;
}

.tabwidget .nav-tabs li a:hover,
.tabwidget .nav-tabs li.active a {
    color: #222;
    background: #fff;
    border: none;
}

.tabwidget .nav-tabs li.active a {
    /*color: #198754;*/
    color: #fff;
}

.tabwidget .nav-tabs li a:before,
.tabwidget .nav-tabs li a:after {
    content: "";
    background-color: #d1d1d1;
    height: 7px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}

.tabwidget .nav-tabs li a:after {
    background-color: #198754;
    height: 100%;
    opacity: 0;
}

.tabwidget .nav-tabs li.active a:before,
.tabwidget .nav-tabs li a:hover:before {
    height: 100%;
    opacity: 0;
}

.tabwidget .nav-tabs li.active a:after,
.tabwidget .nav-tabs li a:hover:after {
    height: 7px;
    opacity: 1;
}

.tabwidget .tab-content {
    color: #555;
    background: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;
    /* İkinci blok'tan eklenen kurallar: */
    border: 1px solid #198754;
    border-radius: 0 4px 4px 4px;
    margin-top: -1px;
}

.tabwidget .tab-content h3 {
    color: #222;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px 0;
}


.tabwidget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: 100%;
    border-bottom: 2px solid #198754;
}

.tabwidget ul li {
    margin: 0 2px;
}

.tabwidget ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    background-color: #19875488;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    transition: background-color 0.3s ease;
}

.tabwidget ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.tabwidget ul li a:hover {
    background-color: #0f5132;
}

.tabwidget ul li.active a,
.tabwidget ul li.wt-active a {
    background-color: #0f5132 !important;
}

.tabwidget ul li.active a::after,
.tabwidget ul li.wt-active a::after {
    background-color: #0f5132;
}

@media only screen and (max-width: 479px) {
    .tabwidget .nav-tabs li {
        width: 100%;
    }

    .tabwidget .nav-tabs li a {
        margin: 0 0 10px;
    }

    .tabwidget .tab-content h3 {
        font-size: 18px;
    }

    .form-check-input:checked {
        background-color: #198754;
        border-color: #212529;
    }
}

@media (max-width: 768px) {
    .screenshot-tab img {
        width: 100% !important;
        height: auto;
    }
}
.drop-zone {
  border: 2px dashed #aaa;
  border-radius: 10px;
  background-color: #fafafa;
  color: #888;
  text-align: center;
  padding: 40px;
  font-family: "Segoe UI", sans-serif;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
}

.drop-zone:hover {
  border-color: #007BFF;
  background-color: #f0f8ff;
}

.plus-icon {

  font-weight: bold;
  color: #aaa;
  transition: transform 0.3s ease, color 0.3s ease;
}

.drop-zone.drag-over .plus-icon {
  transform: scale(1.3) rotate(5deg);
  color: #28a745; /* green highlight */
}


.btn-filter {
    width: 100%;
    height: 40px;
    font-size: 0.85rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 6px 12px;
    box-sizing: border-box;
    cursor: pointer;
}

/* Buton türlerine özel renk */
.btn-wust {
    background-color: #ffc107;
    color: black;
    border: 1px solid #ffc107;
    border-radius: 4px;
}

.btn-fallbach {
    background-color: #66bb6a;
    color: black;
    border: 1px solid #66bb6a;
    border-radius: 4px;
}

.btn-wust:hover {
    background-color: #e0a800;
}

.btn-fallbach:hover {
    background-color: #4caf50;
}
.align-middle {
  display: flex;
  align-items: center;
}
.white-text-button {
  color: white !important;
}


.responsive-input input {
  font-size: 1rem;
  padding: 4px 6px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .responsive-input input {
    font-size: 0.5rem;
    padding: 2px 4px;
  }
}

@media (max-width: 480px) {
  .responsive-input input {
    font-size: 0.5rem;
    padding: 1px 3px;
  }
}
@media (max-width: 768px) {
    .tabwidget .nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .tabwidget .nav-tabs .nav-item {
        display: inline-block;
        min-width: 100px;
    }

    .tabwidget .nav-tabs li a {
        font-size: 10px;
        padding: 10px 5px;
    }

    .tabwidget .tab-content h3 {
        font-size: 14px;
    }
}


@media only screen and (max-width: 768px) {
    .machinedaten-table{
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        table-layout: fixed;
    }

    .machinedaten-table th,
    .machinedaten-table td{
        white-space: normal;
        word-wrap: break-word;
        word-break: break-all;
        font-size: 12px;
        padding: 8px;
    }

    .machinedaten-table{
        font-size: 12px;
    }

    .machinedaten-table th{
        font-size: 14px;
    }


}

@media only screen and (max-width: 768px) {
  .telemetrie-table {
    display: block;
    width: 100%;
    font-size: 12px;
  }

  .telemetrie-table table,
  .telemetrie-table tbody,
  .telemetrie-table tr,
  .telemetrie-table td {
    display: block;
    width: 100%;
  }

  .telemetrie-table tr {
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
  }

  .telemetrie-table td {
    text-align: left;
    padding: 4px 8px;
    word-break: break-word;
  }

  .telemetrie-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #198754;
    margin-bottom: 2px;
  }
}

.fixed-width-img {
    width: 800px !important;
    min-width: 800px !important;
    max-width: 800px !important;
}
@media only screen and (max-width: 768px) {
  .telemetrie-table {
    display: block;
    width: 100%;
    font-size: 12px;
  }

  .telemetrie-table table,
  .telemetrie-table tbody,
  .telemetrie-table tr,
  .telemetrie-table td {
    display: block;
    width: 100%;
  }

  .telemetrie-table tr {
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
  }

  .telemetrie-table td {
    text-align: left;
    padding: 4px 8px;
    word-break: break-word;
  }

  .telemetrie-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #198754;
    margin-bottom: 2px;
  }
}




.machine-tag-badge {
    background-color: #e0e0e0;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 0.8em;
    font-weight: bold;
    color: #333;
    margin-top: auto;
    margin-bottom: auto;
}

.even-itemfallbach .accordion-header {
    background-color: #66bb6a;
    color: white;
}

.odd-itemfallbach .accordion-header {
    background-color: #81c784;
    color: white;
}


.even-itemwust .accordion-header {
    background-color: #ffe082;
    color: black;
}

.odd-itemwust .accordion-header {
    background-color: #ffc107;
    color: black;
}

.even-item .accordion-header {
    background-color: #d5e8d7;
}

.odd-item .accordion-header {
    background-color: #e4efe5;
}

.map-container, .info-container {
    box-sizing: border-box;
}

.prozessdaten-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.button-container {
    margin-top: auto;
    text-align: left;
}
.pagination-controls {
    margin-top: 15px;
    text-align: center;
}
.pagination-controls .btn {
    margin: 0 5px;
}


.label-cell {
  padding-right: 30px;
}

.value-cell {
  padding-left: 10px;
}
.telemetrie-header {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 15px;
  color: #333;
}
.albach-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.albach-product {
  width: 300px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: white;
  padding: 1rem;
  transition: transform 0.3s ease;
}

.albach-product:hover {
  transform: scale(1.03);
}

.albach-product img {
  width: 100%;
  border-radius: 8px;
}

.albach-product a {
  text-decoration: none;
  color: #1f3f2c;
  font-weight: 500;
}

.albach-product a:hover {
  color: #2a6646;
}

.albach-header {
  text-align: center;
  margin: 2rem auto;

}

@media (max-width: 768px) {
  .d-flex.flex-row.h-100 {
    flex-direction: column !important;
  }

  .w-50 {
    width: 100% !important;
  }

  #albach-order-map-container-* {
    min-height: 300px !important;
  }
}
.responsive-date-row > .Wt-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .responsive-date-row > .Wt-container {
        flex-direction: column;
    }

    .responsive-date-row .Wt-lineedit,
    .responsive-date-row .Wt-pushbutton,
    .responsive-date-row .Wt-dateedit {
        width: 100% !important;
    }

    .responsive-date-row .Wt-text {
        width: 100% !important;
    }
}
.scrollable-table-wrapper {
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.footer {
    background-color: #198754;
    border-radius: 5px;
    color: white;
    padding: 5px;
    text-align: center;
}

.footer a{
    color: white;
    text-decoration: none;
}
