#orders-list .row,
#invoices-list .row,
#account-account > .row,
#account-edit > .row,
#account-password > .row,
#account-address > .row,
#account-login > .row {
    min-height: 80vh;
}
#account-login {
    margin-top: 1vh;
}
.small-header {
    font-size: 13px;
}
.delivery-cell__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.delivery-cell__arrow {
    position: relative;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}
.delivery-cell__arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #555;
}
/*Send Order Popup Modal*/
.custom-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
}
.custom-modal.is-visible {
    display: flex;
}
.custom-modal__dialog {
    position: relative;
    width: min(480px, 90vw);
    padding: 24px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}
.custom-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.custom-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}
/*Suggestion dropdown*/
.suggestion-dropdown {
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}
.dropdown-close-btn{
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #666;
}
.dropdown-close-btn:hover{
    color: #000;
}
.suggestion-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}
.suggestion-table__header-row {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}
.suggestion-table__header-cell {
    padding: 10px 12px;
    text-align: left;
    font-weight: bold;
    font-size: 12px;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
}
.suggestion-table__row {
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid #dee2e6;
}
.suggestion-table__row:hover {
    background-color: #e7f3ff;
}
.suggestion-table__cell {
    padding: 10px 12px;
    font-size: 13px;
    color: #212529;
    white-space: nowrap;
}
.suggestion-table__cell--price {
    font-weight: 500;
}
.suggestion-table__footer {
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    font-size: 12px;
    color: #6c757d;
}
.autocomplete-editor__input {
    width: 100%;
    height: 100%;
    padding: 3.35px;
    border: 2px solid #000000;
    outline: none;
    box-sizing: border-box;
}
.autocomplete-editor__container {
    position: relative;
}
.autocomplete-editor__suggestions {
    position: fixed;
    display: none;
    background-color: #fff;
    border: 2px solid #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
}
.delivery-editor__input {
    width: 100%;
    height: 100%;
    padding: 5px;
    border: 2px solid #000000;
    outline: none;
    box-sizing: border-box;
}
.delivery-editor__suggestions {
    position: fixed;
    display: none;
    background-color: #fff;
    border: 2px solid #000000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000;
}
.order-modal__success,
.rfq-modal__success{
    text-align: center;
    padding: 24px 16px;
}
.order-modal__success h3,
.rfq-modal__success h3{
    margin-bottom: 12px;
}
.btn-link.dropdown-toggle {
    text-decoration: none !important;
    border: none;
    padding: 0;
}
.btn-link.dropdown-toggle:hover,
.btn-link.dropdown-toggle:focus {
    text-decoration: none !important;
}
.btn-link.dropdown-toggle::after {
    display: none;
}
#addEmptyRowsBtn {
    margin-top: 10px;
    color: #000000;
}
#addEmptyRowsBtn:hover{
    color: #ffffff;
}
.del-row-btn {
    background-color: transparent;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0;
    transition: background-color ease-in-out;
}
.del-row-btn:hover {
    background-color: var(--primary-color);
    color: white;
    padding-left: 5px;
    padding-right: 5px;
}

/*DataTable style - in order and invoice pages*/
#orders-table,
#invoices-table{
    border-top: 1px solid rgb(178, 178, 178);
    border-left: 1px solid rgba(178, 178, 178, 0.5);
    border-right: 1px solid rgba(178, 178, 178, 0.45);
}
.dataTables_length{
    padding-bottom: 15px;
}
.table-responsive{
    border: 1px solid #b2b2b2;
    padding: 5px;
}

.total-quantity-badge {
    font-weight: 600;
    padding: 0 6px;
}

.login-box {
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 5%;
    border: 1px solid rgb(102, 102, 102);
    width: fit-content;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 7px 8px 13px 0 #ddd;
}
.divider-wrapper {
    display: flex;
    align-items: center;
    margin: 30px 0;
    text-align: center;
}
.divider-wrapper .line {
    flex: 1;
    height: 0.5px;
    background-color: #ddd;
}
.divider-wrapper span {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    background-color: #fff;
}

@media (max-width: 767.98px) {
    .login-box {
        width: 90%;
    }
}

@media (min-width: 767.98px) {
    .login-box {
        width: 550px;
    }
}