:root {
    --sidebar-width: 175px;
}

body .ui-commandlink:hover, body .ui-link:hover {
    text-decoration: none;
}

th input {
    width: 100%;
}

.autocomplete .ui-button{
    margin: 0;
}

.stockroom-sidebar {
    width: var(--sidebar-width);
    position: fixed;
    top: 40px;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--surface-ground);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stockroom-sidebar-links {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.stockroom-sidebar-link {
    gap: .5rem;
    margin-right: .5rem;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-color);
    transition: ease-in-out .2s;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.stockroom-sidebar-links a:visited {
    color: var(--primary-color);
}

.stockroom-sidebar-links a:hover {
    color: var(--primary-color-text);
    text-decoration: none;
    background-color: var(--primary-color);
}

.stockroom-body {
    margin: 1rem;
    margin-left: calc(var(--sidebar-width) + 1rem);
}

.dashboard-body {
    margin: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
}

.dashboard-panel > div {
    max-height: 300px;
    overflow-y: scroll;
}

.dashboard-quick-links {
    ul {
        margin: 0;
        padding: 0;
        list-style: none;
        li {
            margin-bottom: .5rem;
        }
    }
}

.stockroom-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    .ui-button {
        margin: 0;
    }
}

.total-price-footer {
    margin-right: 2rem;
    text-align: right;
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: .5rem;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.gap-1 {
    gap: 1rem;
}

.flex-1 {
    flex: 1;
}

.small-input {
    width: 8rem;
}

.user-icon {
    padding: .5rem;
    border: 1px solid var(--text-color);
    border-radius: 1rem;
    background-color: var(--primary-100);

}

.checkout-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--surface-border);
    border-radius: 5px;
    padding: 1rem;
    background-color: var(--surface-b);
}

.checkout-inputs-container {
    display: grid;
    grid-template-columns: 150px auto;
    gap: .5rem;
    align-items: center;
}

.checkout-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--surface-b);
    text-align: left;
    padding: 1.5rem;
    border: 1px solid var(--surface-c);
    flex: 1;
    align-self: stretch;
}

.checkout-info-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-info-details div {
    display: flex;
    flex-direction: column;
}

.checkout-info-details label {
    font-weight: bold;
}

.checkout-info span {
    align-content: center;
}

.list-search {
    text-align: left;
    display: flex;
    gap: 1rem;
    div {
        display: flex;
        flex-direction: column;
        align-self: end;
    }
}

.item-view-itemnumber {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.item-view-description {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
}

.item-view-row {
    border-bottom: 1px solid var(--surface-border);
    margin-bottom: .5rem;
    label {
        flex: 2;
        font-weight: bold;
    }
    div {
        flex: 1;
    }
}

.inventory-purchase-wrapper {
    margin: 2rem auto;
    padding: 2rem 3rem;
    background-color: var(--surface-b);
    border: 1px solid var(--surface-border);
    border-radius: 3px;
    width: 600px;
}

