/* poppins-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 100;
    src: url('/build/assets/fonts/poppins-v22-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-100italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 100;
    src: url('/build/assets/fonts/poppins-v22-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    src: url('/build/assets/fonts/poppins-v22-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-200italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 200;
    src: url('/build/assets/fonts/poppins-v22-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('/build/assets/fonts/poppins-v22-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: url('/build/assets/fonts/poppins-v22-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/build/assets/fonts/poppins-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('/build/assets/fonts/poppins-v22-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('/build/assets/fonts/poppins-v22-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url('/build/assets/fonts/poppins-v22-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('/build/assets/fonts/poppins-v22-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-600italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('/build/assets/fonts/poppins-v22-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('/build/assets/fonts/poppins-v22-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('/build/assets/fonts/poppins-v22-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    src: url('/build/assets/fonts/poppins-v22-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-800italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 800;
    src: url('/build/assets/fonts/poppins-v22-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    src: url('/build/assets/fonts/poppins-v22-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 900;
    src: url('/build/assets/fonts/poppins-v22-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ========================= General Styles ======================================== */
body {
    background-image: url("/build/assets/img/bg3.jpeg");
    background-size: contain;
    font-family: 'Poppins', sans-serif;
}

.dashboard-wrapper{
    margin-top: 1rem !important;
    margin-bottom: 150px;
}

.logo-dashboard {
    width: 250px;
    margin: 20px 20px 10px 24px;
}

.login-dashboard i{
    color: #bb2d3b;
    font-size: 39px;
    position: absolute;
    bottom: 9px;
    right: 125px;
}

.btn-position-bottomright {
    position: absolute;
    bottom: 10px;
    right: 35px;
}

.uniform-btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 5px;
    margin: 0;

}

.client-border {
    border: 10px solid #bb2d3b;
}
/* ========================= Client Add Styles ======================================== */

.custom-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-top: 20px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.custom-toggle input:checked + .toggle-slider {
    background-color: #4CAF50;
}

.custom-toggle input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* ========================= Mobile-Specific Styles ======================================== */
@media (max-width: 768px) {
    .dashboard-sidebar {
        display: none;
    }
    .mobile-menu {
        display: block;
        position: absolute;
        left: 10px;
        top: 10px;
    }
    .topbar-admindashboard .logo-admindashboard {
        display: block;
        margin: 0 auto;
        text-align: center;
        position: relative;
    }
    .desktop-only {
        display: none !important;
    }
    .logo-admindashboard {
        height: auto;
        max-width: 180px;
    }
    .content-column {
        width: 100%;
        padding: 0 10px;
    }

    /* Align profile icon inside the mobile menu */
    .hamburger-menu .menu-item a i {
        color: #bb2d3b;
        font-size: 24px;
        margin-right: 10px;
        vertical-align: middle;
    }

    /* Make profile and logout button appear in one row */
    .hamburger-menu .menu-item {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-end;
    }

    .profile-picture {
        max-width: 50px !important;
    }

    /* ========================= Logo Box ======================================== */
    .logo-box {
        width: 50px;
        height: 50px;
        background-color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        margin: auto;
    }

    /* ========================= Documents Things ======================================== */
    .documents-countdown {
        margin-top: 50px;
        font-weight: bolder;
        font-size: 20px;
    }

}

/* Hamburger Menu */
.hamburger {
    cursor: pointer;
    font-size: 24px;
}

.hamburger-menu {
    display: none;
    background-color: #f8f9fa;
    position: absolute;
    top: 0;
    width: 100%;
    right: 0;
    z-index: 1000;
    padding: 10px;
}

.hamburger-menu.open {
    display: block;
}

/* ========================= Desktop-Specific Styles ======================================== */
@media (min-width: 769px) {
    .dashboard-sidebar {
        display: block;
    }
    .mobile-menu {
        display: none;
    }
    .desktop-only {
        display: flex;
    }
    .logo-dashboard {
        width: 250px;
        margin: 20px 20px 10px 24px;
    }
    .content-column {
        width: auto;
    }

    /* Desktop-specific styling for the profile icon */
    .login-dashboard i {
        color: #bb2d3b;
        font-size: 39px;
        position: absolute;
        bottom: 9px;
        right: 125px;
    }


    .profile-picture {
        max-width: 100px;
    }

    /* ========================= Logo Box ======================================== */
    .logo-box {
        width: 100px;
        height: 100px;
        background-color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-box img {
        max-width: 100%;
        max-height: 100%;
        margin: auto;
    }
    /* ========================= Documents Things ======================================== */
    .documents-countdown {
        margin-top: 80px;
        font-weight: bolder;
        font-size: 30px;
    }

}

/* Hamburger Menu */
.hamburger {
    cursor: pointer;
    font-size: 24px;
}

.hamburger-menu {
    display: none;
    background-color: #f8f9fa;
    position: absolute;
    top: 60px;
    width: 100%;
    right: 0;
    z-index: 1000;
    padding: 10px;
}

.hamburger-menu.open {
    display: block;
}

.menu-item {
    padding: 10px 0;
}


/* ========================= Sidebar Styles ======================================== */
.dashboard-sidebar{
    padding-left: 36px;
}

.card-header-bg {
    color: whitesmoke;
    background-color: #101827;
    text-decoration: none;
}
.card-header-bg:hover {
    color: whitesmoke;
}

.return-bg {
    color: whitesmoke;
    text-decoration: none;
}

.return-bg a:hover{
    color: whitesmoke;
    text-decoration: none;
}

.card-header-bg button{
    color: whitesmoke;
    text-decoration: none;
}

.card-header-bg button:hover{
    color: #bb2d3b;
    text-decoration: none;
}


/* ========================= Footer Styles ======================================== */
.footer-dashboard {
    width: 100%;
    margin: 150px 0 0 0;
    background-color: dimgrey;
    color: whitesmoke;
    padding: 10px;
    position: sticky;
    bottom: 0;
    text-decoration: none;
    z-index: 10;
}
.footer-dashboard a {
    color: whitesmoke;
    text-decoration: none;
}
.footer-dashboard a:hover {
    color: #dc3545;
    text-decoration: none;
}


/* ========================= Profile Styles ======================================== */


.delivery-profile-picture {
    max-width: 50px !important;
}


/* ========================= Sortable Styles ======================================== */
.sortable-link {
    text-decoration: none;
    color: black;
}

.sortable-link a{
    text-decoration: none;
    color: black;
}


/* ========================= Pagination Styles ======================================== */
.page-item.active .page-link{
    background-color: #101827;
    color: #ffffff;
}

.page-item .page-link{
    color: #101827;
}

#perPage {
    width: auto;
    display: inline-block;
}


/* ========================= Client Content Grid ======================================== */
.content-client {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 30px;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.content-client:after {
    content: '';
    width: 100%;
}

.client-box {
    height: 200px; /* Adjust the height as needed */
    background-color: lightgrey; /* For visibility */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .content-client {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}





/* ========================= Dots ======================================== */
.dot {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: inline-block;
}

.news-dot {
    min-width: 10px;
    width: 10px;
    max-width: 10px;
    min-height: 10px;
    height: 10px;
    max-height: 10px;
    display: inline-block;
}

.paid-thumbs {
    font-weight: bolder;
    font-size: 30px;
    vertical-align: center;
}

/* ========================= Accordion Styles ======================================== */
.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #fff;
    border-color: #ddd;
}


/* ========================= Validation Styles ======================================== */
.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}


/* ========================= Form Special Things ======================================== */
.error-border {
    border: 2px solid red;
}

.select2-container--default .select2-selection--multiple {
    height: auto; /* Adjust height as needed */
    min-height: 38px; /* Matches form input heights */
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    color: #495057; /* Text color */
    padding: 0 10px; /* Adjust padding as needed */
    margin-top: 0.3rem; /* Proper alignment with the top of the select box */
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #e3342f; /* Cross icon color for deleting tag */
}


.log-size {
    max-width: 1800px !important;
}

.modal-backdrop {
    z-index: 2040 !important;
}
.modal {
    z-index: 3050 !important;
}

.modal-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    max-height: 100vh;
    overflow-y: auto;
    max-width: 800px;
}

.modal-body {
    overflow-y: auto;
    max-height: 70vh;
}

/* ========================= Multileg Deliveries same BG ======================================== */
/* Group background and border styles */
.group-background {
    background-color: #f0f8ff; /* Light background for grouped rows */
}

.delivery-group-start {
    border-top: 2px solid #007bff; /* Top border for the start of a group */
}

.delivery-group-end {
    border-bottom: 2px solid #007bff; /* Bottom border for the end of a group */
}

/* General styling for table header links */
th a {
    text-decoration: none; /* Remove underline */
    color: black; /* Set link color to black */
    display: flex; /* Align text and icons horizontally */
    align-items: center; /* Center align icons with text */
    gap: 4px; /* Add spacing between text and icons */
}

/* Inactive sorting icons */
th a i {
    color: #ccc; /* Gray color for inactive icons */
}

/* Active sorting icon styling */
th a i.active-sort {
    color: black; /* Highlight active sort icon in black */
    font-weight: bold;
}

/* ========================= CSS for Invoices ======================================== */

/* A4 Paper Layout */
.a4-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.a4-page {
    width: 210mm;
    height: 297mm;
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 20mm;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    background-image: url("/build/assets/img/invoice/Rechnungstemplate2.png");
    background-size: cover;
    font-size: 10px;
}


/* Table Styling for Invoice */
.a4-page  .table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.a4-page .table th,
.a4-page .table td {
    padding: 10px;
    text-align: left;
}

.a4-page .table th {
    background-color: #31d2f2;
    font-weight: bold;

}


    /* File Rows Background */
.a4-page .file-row {
    background-color: #f9f9f9;
}

/* Buttons */
.uniform-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
}

.table-preview {
    background-color: #31d2f2;
    color: white;
    font-size: 10px;
}

.address-section {
    font-size: 10px; /* Adjust the font size */
    line-height: 1.4; /* Adjust the line height for better readability */
}

.company-address {
    display: inline-block;
    max-width: 300px;
    text-align: left;
    padding-right: 7px;
}

.customer-address {
    display: inline-block;
    max-width: 300px;
    text-align: left;
}

.invoice-info {
    display: inline-block;
    max-width: 300px;
    text-align: left;
}

/* ========================= CSS for Super-Client ======================================== */

.alphabet-filter a.active {
    background: rgb(240,44,44);
    background: linear-gradient(135deg, rgba(240,44,44,1) 25%, rgba(255,115,116,1) 50%, rgba(223,15,15,1) 75%);
    color: whitesmoke;
    font-weight: bold;
    text-decoration: none;
}
.alphabet-filter a {
    margin-right: 5px;
}




/* ========================= Search Sort Paginate ======================================== */
.fbr {
    background: rgb(240,44,44);
    background: linear-gradient(135deg, rgba(240,44,44,1) 25%, rgba(255,115,116,1) 50%, rgba(223,15,15,1) 75%);
    color: whitesmoke;
}
.fbr:hover {
    background: rgb(240,44,44);
    background: linear-gradient(135deg, rgba(223,15,15,1) 25%, rgba(255,115,116,1) 50%, rgba(240,44,44,1) 75%);
    color: whitesmoke;
}

/* ========================= CSS for change bootstrap colors ======================================== */
.form-check-input:checked {
    background-color: #dc3545 !important;  /* Remove semicolon before !important */
    border-color: #dc3545 !important;
}
input.form-check-input:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
input[type="checkbox"]:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #dc3545;
}
input[type="radio"]:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #dc3545;
}
select {
    background-color: white; /* Default background */
    border-color: #dc3545; /* Border color */
    color: black; /* Text color */
}

select option {
    background-color: white; /* Default option background */
    color: black;
}

/* Override selected option background */
select option:checked,
select option:focus,
select option:hover,
select option:active {
    background-color: #dc3545 !important;
    color: white !important;
}

.form-select:focus,
.form-select:active,
.form-select:hover,
.form-select:checked{
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}



.dashboard-wrapper .row {
    display: flex;
    flex-wrap: nowrap;
}

.dashboard-sidebar {
    transition: all 0.3s ease;
    overflow-y: auto;
}

.sidebar-toggle {
    width: 20px;
    color: whitesmoke;
    background-color: #101827;
    border-radius: 15px;
    border: whitesmoke 1px solid;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    text-align: center;
    margin-left: 5px;
}

.sidebar-collapsed {
    margin-left: -425px; /* oder deine tatsächliche Sidebar-Breite */
}




