.mw-inventory-count-login {
    background: var(--light_grey);
}

#mw-inventory-login-form h3 {
    border-top: unset;
    padding-top: unset;
}

.mw-inventory-login-container {
    padding: 1em;
    min-height: 100vh;
}

.inventory-form {
    padding: 1em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.inventory-form label {
    font-weight: 500;
    margin-bottom: 6px;
}

.inventory-form input[type="password"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.inventory-form h3 {
    margin-bottom: 12px;
    text-align: center;
}

#mw-inventory-login-error {
    margin-top: 8px;
    font-size: 0.95rem;
    color:red;
    display:none;
}
.mw-inventory-count-page {
    background: var(--light_grey);
}
.mw-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: row;
    padding: 1em;
}

.mw-logo {
    text-align: center;
}

.mw-logo img {
    max-height: 40px;
}

#quantity-error {
    display: none;
}

/* Table Styles */
.mw-card {
    border: 1px solid var(--light_grey);
    border-radius: 12px;
    padding: 1em;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px -4px rgb(0 0 0 / 34%);
    background: #fff;
}

.mw-card.valid, .mw-card.total-valid, .mw-card.total-valid.reviewed{
    background: var(--light_green);
    border: 1px solid var(--light_green);
}

.mw-card.valid.no-spot, .mw-card.no-spot.valid, .mw-card.total-valid.no-spot, .mw-card.total-valid.reviewed.no-spot{
    display: none !important;
}

.mw-card.invalid, .mw-card.invalid.total-invalid {
    background: var(--light_red);
    border: 1px solid var(--red_color);
}

.mw-card.reviewed, .mw-card.total-invalid, .mw-card.total-invalid.reviewed {
    background: linear-gradient(360deg, var(--light_red), var(--light_green));
    border: 1px solid var(--light_grey);
}

.mw-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1em;
}

.mw-card-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
    content: flex-end;
    text-align: end;
    line-height: 1.2;
    margin-bottom: .2em;
}

.mw-card-bin-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.mw-card-sku-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.mw-card-bin-value {
    font-weight: bold;
    font-size: 24px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.mw-card-quantity {
    margin-top: 1em;
}

.mw-card-image {
    margin-right: 1em;
}

.mw-card-confirm {
    display: none;
}

.mw-inventory-count-table {
    padding: 0 1em;
}

.mw-table-container h3 {
    text-align: center;
    font-family: var(--title_font);
    padding-top: 1em;
    border-top: 1px solid #ececec;
}

.inventory-form-container {
    padding: 1em;
}

.mw-inventory-form-title, .mw-inventory-form-email {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.mw-inventory-form-header h3 {
    margin-bottom: 0 !important;
    font-family: var(--title_font);
    padding-top: unset;
    border-top: unset;
}

.mw-inventory-submit-error {
    color: red;
    font-size: 12px;
    display: none;
}

.mw-card-confirm button, .mw-card-add-to-spot-scount button {
    width: 100%;
    margin-top: 16px;
    background: var(--red_color);
    border-radius: 8px;
    color: #fff;
    font-family: var(--title_font);
    font-size: 18px;
}

.mw-card-add-to-spot-scount button:active,
.mw-card-add-to-spot-scount button:focus {
    box-shadow: none;
    background-color: var(--red_color);
}

.mw-card-container {
    display: flex;
    flex-direction: row;
}

.mw-card-content-container {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    align-items: flex-end;
    line-height: 1.4;
}

.mw-card-remove {
    position: absolute;
    z-index: 2;
    padding: 4px 7px;
    background: #ffffffbf;
    border-radius: 50px;
}

.mw-card-remove a {
    /* color: var(--red_color); */
    text-decoration: none;
}

.mw-card-remove a::before {
    font-size: 18px;
    line-height: 18px;
    content: '\e604';
    font-family: 'luma-icons';
}

.mw-card-image-container {
    width: 40%;
}

.mw-card-sku-value {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.mw-card.reviewed {
    background: linear-gradient(360deg, var(--light_red), var(--light_green));
    border: 1px solid var(--light_grey);
}

.mw-search-wrap {
    border: 1px solid #c2c2c2;
    margin-top: 20px;
}

.mw-search-results {
    padding-top: 20px;
}

.mw-search-cont {
    position: relative;
    margin-top: 10px;
}

.inventory-remove-item-container {
    padding: 1em;
    position: sticky;
    top: 0;
    background: var(--light_grey);
    z-index: 1;
    margin: 0px -16px;
    border-bottom: 1px solid #ececec;
}

.inventory-remove-item-container a {
    color: var(--primary_color);
}

.inventory-add-item-container {
    padding: 1em;
}

#add-spot-item button {
    font-family: var(--title_font);
    font-size: 18px !important;
    font-weight: 600;
    color: var(--body_bg);
    background: var(--secondary_color);
    transition: var(--site_transition);
    border: none;
    border-radius: 15px;
    width: 100%;
}

#spot-count-continue button {
    font-family: var(--title_font);
    font-size: 18px !important;
    font-weight: 600;
    color: var(--body_bg);
    background: var(--secondary_color);
    transition: var(--site_transition);
    border: none;
    border-radius: 15px;
    width: 100%;
}

#spot-count-continue.disabled button {
    display: none;
}

#mw-inventory-notes {
    border-radius: 8px;
    font-family: var(--body_font);
    font-size: 16px;
    line-height: 1.42857143;
    padding: 9px;
}

.loading-mask .loader > img {
    width: 150px !important;
    height: 100px !important;
}

.mw-message.success {
    background: #88fb885c;
    color: green;
    font-size: 12px;
    padding: 8px;
    margin-top: 7px;
    border-radius: 4px;
    text-align: center;
}

.mw-message.error {
    background: #ffc1c08a;
    color: #c80000;
    font-size: 12px;
    padding: 8px;
    margin-top: 7px;
    border-radius: 4px;
    text-align: center;
}

.mw-remove-popup button.action.primary {
    background-color: var(--primary_color) !important;
}

.mw-remove-popup button.action-secondary {
    font-family: var(--title_font);
    font-size: 18px !important;
    font-weight: 600;
}

.mw-remove-popup .modal-footer {
    justify-content: center;
}

.mw-card-filter {
    padding-bottom: 10px;
    padding-left: 5px;
}

#mw-scroll-to-bottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--green_color);
    color: #fff;
    font-size: 22px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1;
}

#mw-scroll-to-bottom:hover {
    background: #1a4226;
}