.container {
    font-family: "Assistant", sans-serif im !important;
}

h3 {
    letter-spacing: normal;
    font-size: 25px;
    font-weight: 700;
    margin: 0;
}

h6 {
    letter-spacing: normal;
    color: gray;
}

table,
th {
    text-align: right;
}

.panel>.table-bordered tr>th:first-child,
.panel>.table-bordered tr>td:first-child {
    border-right: 0;
}

.panel>.table-bordered tr>th:last-child,
.panel>.table-bordered tr>td:last-child {
    border-left: 0;
}

table thead tr {
    background-color: #313131;
    color: white;
}

th {
    font-weight: 400 !important;
}

button.btn {
    padding: 10px;
    border-radius: 0;
    letter-spacing: normal;
    font-weight: 600;
    font-size: 14px;
}

.pagination-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pagination-container button {
    padding: 6px 10px 10px 10px;
    background: var(--primaryColor);
    color: white;
    font-size: 18px;
}

button.disabled {
    opacity: 0.3;
    cursor: unset;
}

.pagination-container span {
    margin: 0 20px;
}

#searchorder {
    width: 240px;
    outline: none;
    padding-right: 5px;
    border-bottom: 1px solid black;
}

#personalOrders {
    position: relative;
    transition: width 1s ease-in-out;
    width: 100%;
}

.search-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: left;
    margin-bottom: 10px;
    height: 20px;
}

.login-screen-container h4 {
    letter-spacing: normal;
    font-size: 28px;
    font-weight: bold;
}

.login-screen-container p {
    letter-spacing: 0;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #444;
}

#history-orders-section {
    width: 100%;
    display: inline-block;
    transition: width 1s ease-in-out;
}

#engravings-section {
    display: none;
}

.summary-table caption {
    display: none;
}

.tablenew {
    white-space: nowrap;
    width: 1%;
    overflow: auto;
}

.myUl {
    list-style: revert;
    margin-right: 10px;
}

.imgTd {
    display: flex;
    overflow-x: auto;
    align-items: center;
}

.myimg {
    margin: 0 10px;
    width: 70px;
    height: 70px;
}

.clickImg {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    object-fit: contain;
}

#history-orders-section.collapsed {
    width: 48%;
    margin-left: 2%;
}

#history-orders-section.collapsed~#engravings-section {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

#back-engravings {
    display: inline-block;
    font-size: 50px;
    line-height: 56px;
    cursor: pointer;
}

.logout-employee {
    margin-right: 8px;
    font-weight: bold;
    color: white;
    background: rebeccapurple;
    padding: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* pinpad popup */

.util-show {
    display: block !important;
}

.util-hide {
    display: none !important;
}

.pinpad-dialog__overlay {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000000000000;
}

.pinpad-dialog {
    position: relative;
    right: calc(50% - 300px);
    z-index: 100000000000000;
    background: #fff;
    border: 1px solid #ccc;
    width: 600px;
    top: 50%;
    transform: translateY(-50%);
}

.pinpad-dialog__button-close {
    position: absolute;
    z-index: 9;
    left: -20px;
    top: -20px;
    background: rgba(194, 71, 71, 0.9);
    text-align: center;
    border-radius: 50%;
    width: 30px;
    font-size: 20px;
    height: 30px;
    cursor: pointer;
    color: #fff;
}

.pinpad-dialog__button-close:hover {
    background: rgba(194, 71, 71, 1);
}

.pinpad-dialog__button-close>i {
    margin: 0px;
    padding: 0px;
}

.pinpad-dialog__cancel-button {
    padding: 10px 12px;
    background: #313131;
    color: #fff;
    cursor: pointer;
    text-align: center;
}

.pinpad-dialog__header {
    background-color: rgba(170, 170, 170, 1);
    padding: 10px;
}

.pinpad-dialog__header h3 {
    font-size: 20px;
    color: #fff;
    margin: 0px;
}

.pinpad-dialog__content {
    margin: 30px 20px;
}

.pinpad-dialog__form {
    display: grid;
    grid-template-columns: 1fr 25%;
    align-items: end;
    gap: 20px;
}

.pinpad-dialog__form .pinpad-dialog__button-submit {
    border-radius: 8px;
    padding: 6px;
}



@media (max-width: 768px) {
    #history-orders-section.collapsed {
        display: none;
    }

    #history-orders-section.collapsed~#engravings-section {
        width: 100%;
        display: block;
    }

    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        overflow-x: scroll;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive>.table {
        margin-bottom: 0;
    }

    .table-responsive>.table>thead>tr>th,
    .table-responsive>.table>tbody>tr>th,
    .table-responsive>.table>tfoot>tr>th,
    .table-responsive>.table>thead>tr>td,
    .table-responsive>.table>tbody>tr>td,
    .table-responsive>.table>tfoot>tr>td {
        white-space: nowrap;
    }

    .pinpad-dialog {
        right: 2%;
        width: 96%;
    }
}
