body {
    background-color: #f8f9fa;
    color: #343a40;
    font-family: 'Roboto', sans-serif;
}

.bg-ej-paborjad {
    background-color: #ffc107 !important;
    /* Gul */
}

.bg-paborjad {
    background-color: #0d6efd !important;
    /* Blå */
}

.bg-vantar-delar {
    background-color: #dc3545 !important;
    /* Röd */
}

.bg-klar {
    background-color: #198754 !important;
    /* Grön */
}

.custom-form-check-input {
    width: 25px;
    height: 25px;
    margin-top: 0.01rem;
    /* Justera denna för att vertikalt centrera */
    margin-left: .3em;
    ;
}

.form-check-label {
    margin-left: 0.5rem;
    /* Justera denna för att skapa lite avstånd mellan checkboxen och texten */

    font-size: 13pt;
    font-weight: bold;
}

.info-boxes {
    padding: 1em;
}

#notification-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #4ea840;
    width: 60px;
    height: 60px;
    padding: 15px;
    border-radius: 30px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.1);
    /* Ensure it's on top of other content */
}

#notification-dropdown {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 500px;
    /* Adjust the width as necessary */
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 600px;
    /* Optional: set a max height */
}

#notification-dropdown.show {
    display: block;
}

.model-image {
    max-width: 200px;
    max-height: 200px;
}

.content-area-modell{
    padding:1em;
}


.add-to-button{
    width: 15em;
    height: 3em !important;
}

.delete-btn{
    width: 15em;
    height: 3em !important;
}

.save-btn{
    width: 15em;
    height: 3em !important;
}




.notification-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.notification-item:last-child {
    border-bottom: none;
}

.bg-primary {
    background-color: #4ea840 !important;
}

/* Anpassat CSS */
body {
    font-family: 'Roboto', sans-serif;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-left: 1em;
}

.navbar-brand img {
    height: 32px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #000;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #007bff;
}

.dropdown-menu .dropdown-header {
    font-size: 0.9em;
    font-weight: bold;
    color: #343a40;
}

.dropdown-item {
    font-size: 0.9em;
}

.card {
    margin-top: 80px;
    border-radius: 1em;
    width: 100% !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' linecap='round' linejoin='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


.register-div{
    width: 40em;
    margin: 0 auto;
    margin-top: 10em;
    background-color: white;
    padding: 3em;
    border-radius: 2em;
    box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
}

.btn-show-sales {
    height: 2.5em;
    width: 5em;
    padding:.6em
}


.login-div{
    width: 30em;
    margin: 0 auto;
    margin-top: 10em;
    background-color: white;
    padding:3em;
    border-radius: 2em;
    box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
}
.remove-table-td{
    display:inline-flex;
    width: 100%;
}

.btn-delete-data-veichle{
    height: 20px;
    width: 20px;
    font-size: 10pt !important;
    color:white;
    background-color: #dc3545;
    border:none;
    
}
.model-info-box
{
    border-radius: 1em !important;
    padding: 2em;
    margin-top: 2em;
    box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
    height: 5em;
    font-size: 10pt;
}
.search-bar-customers{
    padding:3em;
    border-radius: 1em;
    box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
}

.customer-info{
    font-size: 13pt; 
    width:20em !important;
}
.search-bar-customers-input{
    height: 3em !important;
    font-size: 12pt !important;
}

.table-customers-search{
    font-size: 12pt !important;

}

.customer-search-table-div{
     /* box-shadow: 0 4px 20px -6px #222; Lägger till en subtil skugga */
    padding:2em !important;
    border-radius: 0em !important;
}
.button-show-customer{
    width: 80px;
    height: 40px;
    padding-top: 8px;
}
.navbar-brand {
    color: #007bff;
}

.nav-item {
    margin-right: 30px;
    font-size: 12pt; /* Justerar avståndet mellan nav-item */
}

.dropdown-menu {
    box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */
}

.dropdown-menu .dropdown-item {
    color: #343a40;
}

.dropdown-divider {
    background-color: #007bff;
}

.container {
    margin-top: 20px;
    padding: .8em;
}

.card {
    background-color: #ffffff;
    border: none;
    box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */
    margin-bottom: 20px;
    max-width: 120em;


}

.btn{
    /* box-shadow: 0 4px 6px -6px #222; Lägger till en subtil skugga */
    border-radius: 0em !important;
    height: 3em;
}

.select2-container {
    width: 100%;
}

.select2-selection {
    height: 2.5em !important;

}

label {
    color: #343a40;
    font-weight: bold;
    margin-bottom: .5em;
}

.form-control {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #343a40;
    height: 38px;
    font-size: 0.9rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
}

.form-group {
    margin-top: 2em;
}

.form-control:focus {
    background-color: #f8f9fa;
    border-color: #80bdff;
    color: #343a40;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    
}
.attention-text {
    font-family: 'Roboto', sans-serif;
    font-size: 10pt;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.attention-icon {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 5px;
}

.attention-icon i {
    font-size: 10pt;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.content-space
{
    width: auto;
    
    margin: 0 auto;
    padding: 2em;
    margin-top: 5em;
    
}

.search-form-div{
    padding: 2em; 
    border-radius: 1em;
}


.clickable-row {
    cursor: pointer;
}
.clickable-row a {
    display: block;
    text-decoration: none;
    color: inherit;
}


.edit-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background-color: #3498db;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn-delete {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background-color: #771212;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.btn-delete:hover{
    background-color: #9b3b23;
    transform: scale(1.1);
}


.edit-btn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

.edit-btn:active {
    transform: scale(1.05);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.tall-cell {
    height: 3em; /* Ändra detta värde efter behov */
}

.search-button-customer{
    width: 10em; 
    height:3em; 
    font-size:12pt !important;
}

.show-on-mobile{
    display: hidden;
}
    /* CSS som bara gäller för mobilskärmar och surfplattor */
@media screen and (max-width: 768px) {
    .navbar {
        background-color: #ffffff; /* Bakgrundsfärg */
        box-shadow: 0 4px 20px -6px #222;
        height: 6em; /* Höjd på navbaren */
        font-size: 10pt;
        width: 100%; /* Täcker hela bredden av skärmen */
        z-index: 9999;
    }

    .always_front{
        z-index: 99999;
    }
    .table{
        width: 100% !important;
    }

    
    .login-div{
        width: auto;
        margin: 0 auto;
        margin-top: 10%;
        background-color: white;
        padding:3em;
        border-radius: 2em;
        box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
    }

    .navbar-brand,
    .nav-item {
    margin-right: 0; /* Tar bort högermarginalen mellan navigeringslänkarna */
    font-size: 12pt; /* Storlek på navigeringslänkarna */
    padding: 0.5em 1em; /* Utrymme runt navigeringslänkarna */
    }
    .search-bar-customers{
        padding:2em;
        border-radius: 1em;
        box-shadow: 0 4px 20px -6px #222; /* Lägger till en subtil skugga */
        
    }

    .search-bar-customers-input{
        height: 3em !important;
        font-size: 12pt !important;
    }

    .table-customers-search{
        font-size: 10pt !important;
        
    }

    .customer-search-table-div{
        /* box-shadow: 0 4px 20px -6px #222; Lägger till en subtil skugga */
        padding:0em !important;
        border-radius: 0em !important;
        width: auto;
        overflow: hidden;
    }
    .button-show-customer{
        width: 50px;
        height: 40px;

        font-size: 9pt;
    }
    .navbar-brand {
        color: #007bff;
    }

    .nav-item {
        background-color: #f8f9fa;
        color:#000;
        width: 100%;
        font-size: 15pt; /* Justerar avståndet mellan nav-item */ 
        
    }

    .dropdown-menu {
        box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */

    }

    .dropdown-menu .dropdown-item {
        color: #000
    }

    .dropdown-divider {
        background-color: #007bff;
    }

    .container {
        margin-top: 20px;
        padding: .2em;
    }

    .card {
        background-color: #ffffff;
        border: none;
        box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */
        margin-bottom: 20px;
        max-width: 120em;


    }

    .btn{
        box-shadow: 0 4px 6px -6px #222; /* Lägger till en subtil skugga */
    }

    label {
        color: #343a40;
    }

    .form-control {
        background-color: #f8f9fa;
        border: 1px solid #ced4da;
        color: #343a40;
        height: 38px;
        font-size: 0.9rem;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
    }

    .form-control:focus {
        background-color: #f8f9fa;
        border-color: #80bdff;
        color: #343a40;
    }

    .btn-primary {
        background-color: #007bff;
        border-color: #007bff;
        
    }

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .content-space
    {
        width: auto;
        padding: 0em;
        margin-top: 7em;
    }

    .tall-cell {
        height: 3em; /* Ändra detta värde efter behov */
    }
    .hide-on-mobile {
        display: none; /* Göm dessa kolumner på mobila enheter */
    }

    h1 {
        font-size: 17pt !important;
    }

    .search-button-customer{
        width: auto; 
        height:3em; 
        font-size:12pt !important;
    }

    .btn-show-sales {
        height: 2.5em;
    }
}

