body, .wrapper, .content-wrapper {
    background-color: #fdfdeb !important;
}

.main-header {
    background-color: #c40003 !important;
}

.main-sidebar {
    /* opacity: 0.8 !important; */
}

#rfid {
    -webkit-text-security: disc; /* Chrome, Safari */
    text-security: disc;         /* Firefox (régi), de nem szabványos */
}

#receipt_form .table-responsive {
    overflow: visible;
}

#receipt_form .article-suggestions,
#receipt_form .unit-suggestions,
#receipt_form .group-suggestions,
#receipt_form .supplier-suggestions {
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#receipt_form .article-selected-indicator,
#receipt_form .field-selected-indicator {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    display: none;
}

#receipt_form .article-selected-indicator.is-selected,
#receipt_form .field-selected-indicator.is-selected {
    display: inline-block;
}

#receipt_form .article-selected-indicator::before,
#receipt_form .field-selected-indicator::before {
    content: "\2713";
}

.compact-stock-table-wrapper {
    font-size: 0.84rem;
}

.compact-stock-table {
    margin-bottom: 0.4rem;
}

.compact-stock-table th,
.compact-stock-table td {
    padding: 0.22rem 0.38rem !important;
    vertical-align: middle;
    white-space: nowrap;
}

.compact-stock-table thead th {
    font-size: 0.74rem;
    font-weight: 600;
}

.compact-stock-table tbody td {
    font-size: 0.78rem;
}

.compact-stock-table .form-control {
    height: calc(1.2em + 0.34rem + 2px);
    padding: 0.1rem 0.28rem;
    font-size: 0.74rem;
    min-width: 78px;
}

.compact-stock-table-wrapper.table-size-large {
    font-size: 1rem;
}

.compact-stock-table-wrapper.table-size-large .compact-stock-table th,
.compact-stock-table-wrapper.table-size-large .compact-stock-table td {
    padding: 0.42rem 0.62rem !important;
}

.compact-stock-table-wrapper.table-size-large .compact-stock-table thead th {
    font-size: 0.88rem;
}

.compact-stock-table-wrapper.table-size-large .compact-stock-table tbody td {
    font-size: 0.93rem;
}

.compact-stock-table-wrapper.table-size-large .compact-stock-table .form-control {
    height: calc(1.55em + 0.42rem + 2px);
    padding: 0.22rem 0.42rem;
    font-size: 0.9rem;
    min-width: 108px;
}
