/* featured product list */
.admin-home-product-list .admin-list-item {
    background-color: var(--white);
    margin-bottom: 0;
}

/* product list and product log list */
.admin-list-item, .product-log-list-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
}

.product-list .admin-list-item {
    margin-bottom: 0.5rem;
}

.admin-list-item-row, .product-log-list-item-row {
    display: flex;
    align-items: center;
    width: 100%;
    column-gap: 0.5rem;
}

.admin-list-item-col, .product-log-list-item-col {
    text-overflow: ellipsis;
    white-space: nowrap;

    overflow: hidden;
}

.admin-list-item-col {
    display: flex;
    align-items: center;
}

/* add log form */
.add-log-form {
    display: flex;
}

.add-log-form-group {
    display: flex;
    width: 100%;
}

.add-log-form-input {
    margin-right: 0.25rem;
}

#add-log-amount {
    max-width: 9rem;
}

#add-log-location {
    max-width: 8rem;
}

/* single book page */
.comment-none {
    font-style: italic;
}

.admin-book-info-text {
    margin-bottom: 0.5rem;
    text-align: justify;
}

/* product log list */
.product-log-list-item {
    background-color: var(--bg-color);
}

.item-col-log-location {
    max-width: 12rem;
}

.item-col-log-time {
    max-width: 16rem;
}

.item-col-log-comment {
    white-space: normal;
    text-overflow: unset;
}

.item-col-plus {
    background-color: #028544;
}

.item-col-minus {
    background-color: #8c2626;
}

.product-log-list-item-col {
    margin-right: 1rem;
    text-align: left;
}

.item-col-log-delete {
    margin-left: auto;
    margin-right: 0;
}

.item-col-log-amount {
    padding: 0.5rem;
    color: var(--bg-color);
    min-width: 3rem;
    text-align: center;
}

.item-col-value-label {
    font-weight: bold;
}

/* product list */
.admin-list-item-left {
    margin-left: auto;
    display: flex;
}

.item-col-id {
    width: 3rem;
}

.item-col-img {
    height: 3rem;
    width: 3rem;
}

.item-col-img img {
    height: 100%;
    overflow: hidden;
    object-fit: contain;
}

.item-col-name {
    max-width: 20rem;
    font-weight: bold;
}

.item-col-author {
    margin-left: 0.5rem;
}

.item-col-public, .item-col-featured, .item-col-stock {
    font-size: 1.25rem;
    padding-right: 0.5rem;
}

.item-col-amount, .item-col-total {
    width: 5rem;
    font-size: 1.25rem;
    text-align: left;
    flex-shrink: 0;
}

.item-col-info {
    flex-shrink: 0;
}

.item-col-info .basic-button {
    margin: 0;
}

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

.product-page.hidden {
    display: none;
}

/* order list */
.order-list {
    margin-bottom: 1rem;
}

.order_month_divider {
    margin: 0.75rem 0;
    font-size: 1.5rem;
}

.item-col-number {
    font-weight: bold;
    min-width: 10rem;
    padding-right: 1rem;
}

.hour-span {
    color: var(--text-inactive);
}

.item-col-total {
    text-align: right;
    margin-right: 0.75rem;
}

.td-confirmation {
    font-weight: bold;
}

/* spans */
.public-margin-top {
    margin-top: 0.5rem;
}

.td-name {
    min-width: 10rem;
}

.public-td {
    padding-top: 0.5rem;
}

.green {
    color: var(--green);
}

.featured {
    color: var(--featured-yellow);
}

.red {
    color: var(--red);
}

.optional-span {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--text-inactive);
}

.discount-span {
    color: var(--text-inactive);
}