html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.header,
.topbar {
    width: 100%;
}

.topbar .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

/* Боковое меню */


.flex-column{
  font-size: 13px;
}
/* Боковое меню */

 

 
/* Хлебные крошки */
.navbar-brand {
    font-size: 24px;
    font-weight: 700;
}
.breadcrumb{
  margin-top: 10px;
  font-size: 14px;
}
/* Хлебные крошки */



/* Кнопка новый чек в разделе продажи */
.buttonblox {
  margin-bottom: 20px;
}
/* Кнопка новый чек в разделе продажи */

/*  */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.nav-link {
    color: #0d6efd;
    border-radius: 8px;
    margin-bottom: 4px;

    transition: .2s;
}

.nav-link:hover {
    background: #f1f5ff;
}

.nav-link.active {
    background: #e7f1ff;
    color: #0d6efd !important;

    font-weight: 600;

    border-left: 4px solid #0d6efd;
}

.bg-orange {
    background-color: #fd7e14 !important;
    color: #fff;
}

.bg-purple {
    background-color: #6f42c1 !important;
    color: #fff;
}

.topbar {
    background: linear-gradient(
        90deg,
        #1e3a8a,
        #2563eb
    );
}
.dropdown img {
    object-fit: cover;
}

.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    border: 0;
    border-radius: 12px;
}

.dropdown-item {
    padding: 10px 15px;
}

/* Стараницв входа */
/* ПК */
@media (min-width: 769px) {
    .sidebar {
        display: block;
    }
}

/* Телефон */
@media (max-width: 768px) {

    .sidebar {
        position: fixed;
        top: 0;
        left: -260px;
        width: 260px;
        height: 100vh;
        background: #fff;
        z-index: 1050;
        transition: left .3s ease;
        overflow-y: auto;
        display: block;
    }

    .sidebar.show {
        left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

@media (max-width: 768px) {

    h2 {
        font-size: 1.8rem;
    }

    .card-body h3 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 10px;
    }

    #cont {
        padding-left: 10px;
        padding-right: 10px;
    }

}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }
}

#overlay {
    display: none;
    z-index: 1040;
}



@media (max-width: 768px) {
    #overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.4);
        z-index: 1040;
    }

    #overlay.show {
        display: block;
    }
}

@media (max-width: 768px) {

    .dropdown .text-end {
        display: none;
    }

}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {

    .btn-group .btn {
        padding: 4px 8px;
        font-size: 14px;
    }

}

@media (max-width: 768px) {

    .breadcrumb {
        display: none;
    }

}

@media (max-width: 768px) {

    .navbar-brand {
        font-size: 2rem;
    }

}

@media (max-width: 768px) {
    .content {
        padding-top: 10px;
    }
}

/*Мидел окно*/
#scannerModal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.85);

    z-index: 99999;

    justify-content: center;

    align-items: center;

}

.scanner-content {

    width: 95%;

    max-width: 500px;

    background: #fff;

    border-radius: 16px;

    overflow: hidden;

}

.scanner-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 20px;

    background: #0d6efd;

    color: #fff;

    font-size: 18px;

}

.scanner-header button {

    border: 0;

    background: transparent;

    color: #fff;

    font-size: 24px;

}

#reader {

    min-height: 300px;

}

.scanner-footer {

    padding: 12px;

    text-align: center;

    color: #666;

}
/*Мидел окно*/