body{
    font-size: 10pt
}

.font-size{
    font-size: 10pt;
}

.content-view {
    display: grid;          
    place-items: center;
}

.tableS {
    display: flex;
    justify-content: center; 
    width: 100%; 
    margin-top: 20px; 
    flex-direction: column;
}

.viewCell {
    max-width: 150px;
    overflow-wrap: break-word;    
}
.searchField {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.dropdowns {
    padding: 5px;
    margin: 5px;
    border-color: #aaa;
}

.dropdownFilter {
    display: flex;
    gap: 15px;
}

.filter-button {
    padding: 10px 10px;
    font-size: 14px;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.filter-button:hover {
    background: #0056b3;
}

.reset-button {
    background: #dc3545;
}

.reset-button:hover {
    background: #c82333;
}

.data-table {
    max-width: 150px;
    width: 50%; 
    border-collapse: collapse; 
    margin: 0 auto; 
}

.data-table thead th {
    background-color: #f8f8f8;
    padding: 10px;
    text-align: left;
    font-size: 11pt;
    border-bottom: 1px solid #ddd;
    position: sticky; /* Setzt die Position des th-Elements als sticky */
    top: 0; /* Definiert die obere Position des th-Elements im sichtbaren Bereich */
    z-index: 100; /* Stellt sicher, dass th über den anderen gescrollten Inhalten liegt */
}


.data-table tbody td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    border:  1px solid #eee;
}

.data-table tr:nth-child(even) {
    background-color: #f2f2f2; 
}

.data-table td:first-child, .data-table th:first-child {
    display: none;
}


.data-table tr.even-row {
    background-color: #f2f2f2; /* Light gray for even rows */
}

.data-table tr.odd-row {
    background-color: #ffffff; /* White for odd rows */
}

.transparent-red {
    background-color: rgba(255, 0, 0, 0.87);
}

.statusFilter{
    margin: 10px;
}

.tableFormAll {
    width: 100%;
    margin-bottom: 20px;
    table-layout: fixed;
}

.tableFormAll td, .tableFormAll th {
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: 8px;
    max-width: 25%;
    /* Optionally, you can add other styles here */
    word-wrap: break-word; /* Ensures that content wraps within the max width */
}

.tableFormAll tr:nth-child(even) {
    background-color: #f2f2f2; 
}

.formbox {
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    width: calc(50% - 20px); /* Stellen Sie sicher, dass dies 2 Boxen pro Reihe ermöglicht */
    margin-bottom: 20px; /* Abstand zwischen den Reihen */
    margin-right: 20px; /* Rechter Abstand für jede Box */
}

.formbox-submit {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    margin: 20px auto;
    border-radius: 5px;
    width: 30%; /* Zentriert den Submit-Bereich und nutzt die volle Breite */
}

.form-row {
    display: flex;
    justify-content: flex-start; /* Aligns items to the start of the `.form-row` */
    width: 80%;                  /* Adjust the width as necessary */
    margin: 0 auto;              /* Centers the row within the `.form-main` */
 }
 

.form-main {
    display: flex;
    justify-content: center;  /* This will center the child elements horizontally */
    align-items: center;      /* This will center the child elements vertically */
    width: 100%;              /* Ensures it takes the full width */
    padding: 20px;
 }

.single-formbox-per-row .formbox {
    width: 98.5%; /* Stellt die Breite jeder .formbox auf 100% */
    margin-right: 0; /* Entfernt den rechten Margin */
}

.single-formbox-per-row .form-row {
    justify-content: center; /* Zentriert die Boxen, wenn nur eine pro Reihe */
}

/* Sorgt dafür, dass der letzte .formbox-Block keinen rechten Abstand hat */
.check {
    display: none;
}

/* Check if checkbox is checked to display 'True' and hide 'False' */
#doc_url:checked ~ .true {
    display: inline;
}

#doc_url:checked ~ .false {
    display: none;
}

/* Default display when unchecked */
#doc_url:not(:checked) ~ .false {
    display: inline;
}

#doc_url:not(:checked) ~ .true {
    display: none;
}

.tablesorter th {
    
    position: relative;
    cursor: pointer;
}
.tablesorter th:after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
}
.tablesorter th.headerSortUp:after {
    border-bottom: 5px solid #000;
}
.tablesorter th.headerSortDown:after {
    border-top: 5px solid #000;
}

.dropdown-container{
    padding: 10px;
}

.username{
    padding-right: 20px;
    padding-left: 20px;
}

.navigator{
    margin-bottom: 20px;
}

.center {
    align-items: center;
    justify-content: center;
    display: flex;
}



.center-text{
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.dot {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    justify-content: center;
    display: flex;
}

.red {
    background-color: red;
}

.green {
    background-color: green;
}

.yellow {
    background-color: rgb(236, 236, 17);
}

.grey {
    background-color: grey;
}

.yellow {
    background-color: rgb(235, 235, 23);
}

.font-red{
    color: red;
}

.font-green{
    color: green;
}

.active{
    font-size: 15px;
}


.switch-pos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.searchField {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.search-field-style {
    padding: 8px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

.search-field-style:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.dropdownFilter {
    display: flex;
    gap: 15px;
}

.filter-button {
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.filter-button:hover {
    background: #0056b3;
}

.reset-button {
    background: #dc3545;
}

.reset-button:hover {
    background: #c82333;
}

/* Gemeinsame Basis-Styles für das Icon */
.tooltip-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #ecb636;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin: 5px;
}

/* Gemeinsame Tooltip-Text-Styles */
.tooltip-text, .tooltip-text-long , .tooltip-text-normal{
    font-size: 12px;
    visibility: hidden;
    background-color: black;
    color: #f5e6c2;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-text-long {
    width: 200px; /* Increased width for long text */
}

.tooltip-text-normal {
    width: 130px; /* Increased width for long text */
}


/* Spezifischer Style für Tooltip nach rechts */
.tooltip-right .tooltip-text {
    top: 50%;
    left: 100%;
    margin-left: 10px;
    transform: translateY(-50%);
}

/* Spezifischer Style für Tooltip nach unten */
.tooltip-bottom .tooltip-text {
    top: 100%;
    left: 50%;
    margin-top: 10px;
    transform: translateX(-50%);
}

/* Anzeigen des Tooltips beim Hover */
.tooltip-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}



.driver-count {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
 
.container-with-explaination {
    display: flex; /* Aktiviert Flexbox für den Container */
    flex-direction: row; /* Standardwert, ordnet Kinder nebeneinander von links nach rechts an */
    justify-content: flex-start; /* Startet die Anordnung am linken Rand des Containers */
    align-items: center; /* Zentriert die Elemente vertikal */
}

.logs-changes{
    list-style-type: none;
    border: #000;
}

.active-inactive-buttons{
    margin: 20px;
}

/* Activated Deactivated users switch */

.switch-pos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eeb01c; /* Set default color to yellow */
    transition: .4s;
    border-radius: 25px;

}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 2.5px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f0cb76; /* Change to gray when checked */
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3; /* Optional: Focus state with a blue outline, adjust color as needed */
}

input:checked + .slider:before {
    transform: translateX(25px); /* Move knob to the right when checked */
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Centering text vertically relative to the switch */
.switch-pos a {
    display: inline-block; /* Makes <a> behave like inline-block elements */
    vertical-align: middle; /* Aligns vertically with the switch */
    margin: 0 5px; /* Optional: adds horizontal spacing */
}

.tooltip-icon {
    display: inline-block; /* Keep the tooltip icon inline */
    vertical-align: middle; /* Align it vertically to match other inline elements */
    margin-left: 10px; /* Space after the active drivers text */
}



.filter-style {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin: 20px auto;
    padding: 15px;
    height: auto;
    width: 70%;
    background: linear-gradient(135deg, #f5e6c2, #f5e6c2);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.reset-filter{
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    height: 32px;
    margin-top: 40px;
    padding-bottom: 0%;
    position: relative;
    text-align: center;
    color: #838282;
    margin-left: 3px;
}

.filter-action{
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    height: 30px;
    margin-top: 29px;
    padding-bottom: 0%;
    position: relative;
    text-align: center;
    color: #707070;
}

.search-field-style {
    padding: 8px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

.search-field-style:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}


/* Custom CSS to center the navbar brand */
.navbar-nav {
    width: 100%;
    justify-content: center; /* Centers the navigation items */
}

.navbar-brand-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center; /* Centers vertically in taller navbars */
    font-size: 1.25rem;
    text-decoration: none;
    color: #000;


}

.navbar-brand-centered:hover, .navbar-brand-centered:focus {
    text-decoration: none; /* Removes underline on hover and focus */
}

@media (min-width: 992px) { /* Adjusting for large screens */
    .navbar-expand-lg .navbar-nav {
        justify-content: flex-start; /* Re-aligns nav items to start in large screens */
    }
}

#loading {
    display: none;
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #eeb01c; /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    pointer-events:all;
    /* Centering styles */
    position: fixed; /* Or 'absolute' if you only want to center it within a specific container */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* This adjusts the position of the loader to be centered exactly */
    z-index: 9999; /* Ensures it's on top of other content */
}

  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden-row {
    display: none;
  }

/* CSS für die horizontale Listendarstellung */
.details-nav ul {
    display: flex; /* Enables Flexbox */
    justify-content: center; /* Centers the list items horizontally */
    align-items: center; /* Aligns the list items vertically */
    list-style-type: none; /* Removes bullet points */
    padding: 0;
    margin: 0; /* Removes default margin */
    width: 100%; /* Takes full width of the parent */
    background-color: #f8f9fa; /* Ensures the background fills the ul */
    overflow: hidden;
    text-align: center; /* Ensures text within the a tags is centered, if needed */
}


.details-nav li {
    display: inline-block; /* Switch to 'block' if you want each item to take the full width of the ul */
    margin: 0;
}

.details-nav li a {
    display: block;
    color: rgb(0, 0, 0); /* Ensures text color is black, adjust as needed */
    text-align: center;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 10px;
    width: 100%; /* Optional, if you want links to fill the li */
}

.details-nav li a:hover {
    background-color: #f3f3f3;
}



.details-nav {
    display: flex; /* Enables Flexbox */
    justify-content: center; /* Centers children horizontally within the container */
    align-items: center; /* Centers children vertically within the container */
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 10px;
    width: 200px;
    margin: auto; /* Centers the .details-nav within its parent element */
}


.content-center{
    width: 100%;
    justify-content: center;
}

.disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.return-button{
    margin: 20px;
}

/* Style for the main content */
.main-content {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Modal styling */
.popup {
    display: none;
    position: fixed;
    z-index: 1000; /* Ensure it's above other content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 1000px;
    max-width: 90%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}



/* Flex container to align elements */
.spacebetween {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spacearound {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.return-btn{
  margin: 20px;
  border:none;
  background:#f8f9fa;
  color:#000;width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transition:background-color .3s
}

.return-btn:hover{ 
    background:#e9ecef; 
}
