#title {
    text-align: center;
    margin-top: 2rem;
    font-size: 2rem;
    margin-bottom: 2rem;
}

#client-sales-history-block {
    margin-top: 2rem;
}

#client-sales-history-table {
    text-align: center;
    border: 1px solid black;
}

#client-sales-history-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.visibility-hidden {
    visibility: hidden !important;
}

#sale-detail {
    position: relative;
    z-index: 3000;
}

#sale-detail-window-content {
    width: 70vw;
}

#not-active-sale {
    color: red
}

#sale-detail-window-data-block-1 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 2rem;
}

#sale-detail-cahier {
    width: 33%;
}

#sale-detail-window-payment-method {
    width: 27%;
}

#sale-detail-window-result-sum {
    width: 25%;
}

#sale-detail-window-data-block-2 {
    display: flex;
    width: 100%;
    margin-bottom: 2rem;
}

#sale-detail-window-client-name, #sale-detail-window-client-email, #sale-detail-window-client-phone {
    width: 33%;
    margin-right: 1rem;
}

#sale-detail-window-discount {
    width: 20%;
}

#sale-detail-window-header {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-top: 1rem;
}

.sale_is_not_active {
    color: red;
    text-decoration: line-through;
}

.price-income, .price-spending, .total-price-income,
.sale-detail-operation-price-without-discount, .sale-detail-operation-price {
    padding-right: 1rem !important;
}
.sale-detail-operation-characteristic {
    position: absolute;
    border: 2px solid black;
    border-radius: 1rem;
    padding: 1rem;
    background-color: white;
    top: -5rem;
    right: 0;
    transform: translateX(100%);
    overflow: scroll;
    max-height: 5.5rem;
    max-width: 15rem;
    min-height: 5.5rem;
    min-width: 15rem;
    z-index: 1000;
}

.sale-detail-operation-name {
    cursor: pointer;
}

.hover-grey:hover {
    background-color: rgba(120, 120, 120, 0.5);
}

#shop-select {
    margin-bottom: 0.5rem;
}

#job-title-select {
    margin-bottom: 1rem;
}

#shops-options {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

#client-form-error {
    color: red;
    text-align: center;
    margin-top: 2rem;
}

.margin-bottom-1-rem {
    margin-bottom: 1rem;
}

.unsort-icon {
    height: 1.2rem;
    margin-left: 0.5rem;
    fill: grey;
}

.staff-table-th {
    cursor: pointer;
}

.from-more-less-icon, .from-less-more-icon {
    margin-left: 0.5rem;
    fill: #5656f7;
}

.client-table-header-cell {
    display: flex;
    align-items: center;
}

#update-submit-button-block, #submit-button-block {
    margin-top: 2rem;
}

#message {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
}

.shop-checkbox {
    margin-right: 0.5rem;
    cursor: pointer;
}

.shop-checkbox-label {
    margin-right: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: no-wrap;
}

#modal-windows {
    position: relative;
    z-index: 2000;
}

.no-active-previous-next-page-button {
    cursor: no-drop;
}

#previous-pagination-button, #next-pagination-button {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

#shop-with-empty-staff, #shop-with-empty-goods, #shop-with-empty-search-goods {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
}

#cashiers-select {
    max-height: 50vh;
    overflow: scroll;
    padding-right: 2rem;
    padding-left: 2rem;
}

.error-message {
    margin-top: 0.5rem;
    color: red;
}

.margin-top-2rem {
    margin-top: 2rem;
}

.label-good-type {
    cursor: pointer;
}

#empty-shop-pull {
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
}

.active-shop-button, .active-job-title-button {
    border-color: blue !important;
    border-width: 2px !important;
    color: blue !important;
    font-weight: 700 !important;
}

.shop-button-selection {
    font-size: 1rem;
    border: 1px solid grey;
    margin-right: 1rem;
    padding: 0.5rem 2rem;
    margin-bottom: 1rem;
}

#select-type {
    cursor: pointer;
}

.type-option {
    cursor: pointer;
}

.type {
    margin-right: 2rem;
    cursor: pointer;
}

#input-staff-window {
    z-index: 2000;
}

#close-input-staff-window-button, #close-input-good-window-button {
    cursor: pointer;
}

.update-client-button {
    fill: blue;
    cursor: pointer;
}

.update-client-button:hover {
    fill: #5656f7;
}

.discount-price {
    color: #06ab06 !important;
}

.delete-client-button {
    fill: red;
    cursor: pointer;
}

.delete-client-button:hover {
    fill: #c20000;
}

.active-client-button {
    fill: #016e01;
    cursor: pointer;
}

.active-client-button:hover {
    fill: #059f05;
}

#generate-new-password {
    color: blue;
    cursor: pointer;
    font-size: 0.9rem;
}

.job-title-option {
    cursor: pointer;
}

#delete-staff-template {
    position: relative;
    z-index: 2000;
}

#successful-create-new-staff, #successful-update-staff, #successful-delete-staff,
#successful-create-new-good, #successful-update-good, #successful-delete-good, #successful-activated-good {
    position: relative;
    z-index: 2000;
}

.top-left-top-right-border-radius-0-5-rem {
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

#clients-block {
    padding-bottom: 3rem;
}

.password {
    filter: blur(3px);
}

.password:hover {
    filter: unset;
}

.border-radius-top-0_5rem {
    border-radius: 0.5rem 0.5rem 0 0;
}

.edit-staff-button {
    width: 1.5rem;
    height: 1.5rem;
    fill: rgb(79,70,229);
    cursor: pointer;
}

.edit-staff-button:hover {
    fill: rgb(99,102,241)
}

.delete-staff-button {
    width: 1.5rem;
    height: 1.5rem;
    fill: #ba1200;
    cursor: pointer;
}

.delete-staff-button:hover {
    fill: #ff230a;
}

.shop-staff-header {
    display: flex;
    align-items: center;
}

.arrow-down-icon, .arrow-up-icon {
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    margin-left: 2rem;
}

#add-to-all-shops {
    display: flex;
    justify-content: right;
}


#header-main-content {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: space-between;
}

#header-main-content-staff {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: right;
}

#client-to-search {
    padding-left: 2rem;
    padding-right: 2rem;
    width: 250px;
}

#go-search-icon {
    fill: inherit;
}

#go-search:hover {
    fill: rgb(99,102,241);
}


#successful-notification, #error-notification {
    z-index: 2000;
    position: relative;
}

#add-new-client-window-content, #update-client-window-content {
    max-width: 70vw;
    overflow-x: scroll;
}


@media (max-width: 700px) {
    #header-main-content {
        flex-direction: column;
        align-items: flex-end;
    }

    #search-form-block {
        margin-bottom: 1rem;
        width: 100%;
    }

    #client-to-search {
        width: 100%;
    }

    #client-table-block {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #message {
        font-size: 1rem;
        width: 100vw;
        margin-left: 0;
    }

    #add-new-client-window-content, #update-client-window-content {
        width: 100%;
        max-width: unset;
    }

    #sale-detail-window-content {
        width: 100%;
        overflow-x: scroll;
    }

    #sale-detail-window-data-block-1 {
        flex-direction: column-reverse;
    }

    #sale-detail-cahier {
        width: 100%;
        margin-bottom: 1rem;
    }

    #sale-detail-window-payment-method {
        width: 100%;
        margin-bottom: 1rem;
    }

    #sale-detail-window-result-sum {
        width: 100%;
        margin-bottom: 1rem;
    }

    #sale-detail-window-data-block-2 {
        display: flex;
        width: 100%;
        flex-direction: column-reverse;
    }

    #sale-detail-window-client-name, #sale-detail-window-client-email, #sale-detail-window-client-phone {
        width: 100%;
        margin-bottom: 1rem;
    }

    #sale-detail-window-discount {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (min-width: 700px) and (max-width: 900px) {
    #add-new-client-window-content {
        max-width: 75vw;
    }

    #update-client-window-content {
        max-width: 100vw;
    }

    #sale-detail-window-content, #add-income-sale-window-content, #add-spending-sale-window-content {
        width: 95vw;
    }
}

@media (min-width: 900px) and (max-width: 1200px) {
    #add-new-client-window-content {
        max-width: 65vw;
    }

    #update-client-window-content {
        max-width: 90vw;
    }

    #sale-detail-window-content, #add-income-sale-window-content, #add-spending-sale-window-content {
        width: 80vw;
    }
}