/* Hose config part validator */
#hose-validator-wrapper{
    display: flex;
    flex-direction: column;
    width: 100% !important;
    background: #fefefe;
    height: auto;
    overflow: visible;
}
.hose-pn-dragdrop-wrapper{
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 15%;
    max-width: 30%;
    gap: 1rem;
    height: 100%;
    padding-top: 0.75rem;
}
.hose-pn-dragdrop-wrapper .add_to_cart_csv_message{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    width: 100%;
}
.hose-pn-dragdrop-wrapper .add_to_cart_csv_message p{
    margin: 0;
    color: #777;
    font-size: 12px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
    grid-column: 2;
    justify-self: center;
}
.hose-pn-dragdrop-wrapper .add_to_cart_csv_message a{
    align-self: end;
    grid-column: 3;
    justify-self: end;
}
.hose-pn-title-message_container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem 0 0 1.54rem;
    min-width: 68%;
    max-width: 68%;
    align-items: end;
}
.hose-pn-title-message_container h1{
    font-weight: bold;
    color: black;
}
.hose-pn-title-message_container h2{
    color: black;
    border-bottom: 1px solid #ddd;
    margin: 0;
}
.hose-pn-title-message_container p{
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    margin: 0;
}
.hose-pn-title-message_container a{
    color: blue;
}
.hose-pn-title-message{
    display: flex;
    align-items: center;
    gap: 0px;
    position: relative;
}
.hose-pn-title-message .info-icon{
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    position: relative;
    top: -8px;
    left: -5px;
}
.info-tooltip{
    display: none;
    position: absolute;
    top: -1.8rem;
    left: 15rem;
    background-color: #fff;
    color: #333;
    padding: 1rem;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #333;
    white-space: nowrap;
    z-index: 10;
}
.info-tooltip::after{
    content: "";
    position: absolute;
    top: -5px;
    left: 10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent;
}
.info-tooltip p{
    text-align: left;
    gap:0;
    padding: 0.1rem;
    margin: 0;
    font-size: 11px;
    line-height: 1.5px;
}
.hose-validator-box-left{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 20px 20px 20px;
    /*border-bottom: 1px solid #ddd;*/
}
.hose-pn-input-group{
    display: flex;
    flex-direction: column;
    min-width: 10%;
    max-width: 70%;
    height: 100%;
    flex: 1;
    margin: 0;
    gap: 1rem;
    position: relative;
}
.placeholder{
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    color: #909090;
    left: 10px;
    position: absolute;
    top: 20px;
    letter-spacing: 1px;
    pointer-events: none;
}
.button.btn-delete{
    padding: 10px;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
}
.quickorder-buttons-set button.quickorder-btn > span{background:#fff;border:1px solid #ccc;color:#777;line-height:32px;padding:0 12px}
.quickorder-buttons-set button.quickorder-btn:hover > span{background:#484747;border:1px solid #484747;color:#fff}

.hose-validator-box-left .hose-pn-input-group .customer-hose-input{
    min-height: 12rem !important;
    padding: 0 !important;
    resize: none !important;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: hidden;
    line-height: 18px;
}
.hose-pn-input-group.input-text{
    padding: 8px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}
.hose-validator-box-left.qo-spacer{
    display: flex;
    justify-content: center;
    align-items: center;
}
.hose-validator-box-left.qo-border, .hose-validator-box-left.qo-bordertext{
    padding: 5px;
}
.hose-pn-dragdrop{
    display: flex;
    justify-self: start;
    align-self: start;
    text-align: center;
    height: 12rem;
    width: 100%;
}

.hose-validator-box-right{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    width: 100%;
    overflow-y: visible;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    height: auto;
}
.qty-holder input{
    height: auto;
    width: 100%;
    font-size: 12px;
    box-sizing: border-box;
    padding: 2px 6px;
    text-align: center;
}
.pn_input_container input{
    height: auto;
    width: 100%;
    font-size: 14px !important;
    box-sizing: border-box;
    padding: 2px 6px !important;
    text-align: left;
}
.right-box-note{
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #555;
}
.hose-validator-table{
    min-height: 13.7rem;
    max-height: 31.5rem;
    width: 100%;
    border: 1.5px solid #888;
    border-collapse: collapse;
    table-layout: fixed;
    border-radius: 3px;
    overflow-y: auto;
}
.hose-validator-table::-webkit-scrollbar {
    display: block;
    width: 10px;
    border-radius: 50px;
}
.hose-validator-table::-webkit-scrollbar-track {
    background: transparent;
}
.hose-validator-table::-webkit-scrollbar-thumb {
    background-color: #929292;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-left: none;
}
.hose-validator-table::-webkit-scrollbar-track-piece:end {
    background: transparent;
    padding-bottom: 2rem;
}

.hose-validator-table::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 25px;
}
.hose-validator-table::-webkit-scrollbar-thumb:hover{
    background: #555;
}
#hose-pn-table thead tr th{
    position: sticky;
    top: 0;
}
#hose-pn-table thead th{
    position: sticky;
    top: 0;
}
#hose-pn-table tbody{
    width: 100%;
    overflow-y: auto;
    max-height: 18rem;
}
#hose-pn-table table{
    width: 100%;
    height: 100%;
    border-collapse: collapse;
}
#hose-pn-table th{
    padding: 6px 4px;
    border-bottom: 2px solid #e8e8e8;
    background: #eee;
    text-align: left;
    box-shadow: 0px 0px 2px #e8e8e8;
    font-size: 12px;
    font-weight: bold;
}
#hose-pn-table td{
    padding: 0px 4px;
    font-size: 14px;
    color: #777;
    font-weight: normal;
    line-height: 1;
}
#hose-pn-table table td{
    padding: 5px;
}
#hose-pn-table tbody tr {
    border-bottom: 2px solid #e8e8e8;
    height: 15px;
}
#hose-pn-table thead {
    top: 0;
    position: sticky;
    font-weight: 300;
    z-index: 1;
    color: rgba(0, 0, 0, 0.85);
}
#hose-pn-table tbody tr:hover {
    background: #e6f7ff;
}
#hose-pn-table tfoot {
    bottom: 0;
    position: sticky;
    z-index: 1;
    background-color: #fefefe;
}
#hose-pn-table tfoot td{
    padding: 10px 0;
}
#hose-pn-table td button{
    padding: 4px 8px;
    font-size: 12px;
    height: auto;
    width: auto;
    margin: 0 auto;
}
#email-rfq-node-btn span:hover{
    background-color: #fff;
}
#email-rfq-node-btn{
    padding: 0 !important;
}
.button.view_assembly{
    height: 1rem;
    padding: 0;
    align-self: start;
}
.view_assembly #outer-span{
    line-height: 20px;
    padding: 0.1rem 0.5rem;
    background-color: #3b3b3b;
}
.view_assembly #inner-span{
    background-color: #3b3b3b;
    color: #fff;
    font-size: 10px !important;
}
/*#hose-pn-table .btn-view{*/
/*    padding: 0 !important;*/
/*    height: 2.5rem;*/
/*    align-self: start;*/
/*    border: none;*/
/*    text-decoration: none;*/
/*    cursor: pointer;*/
/*    background-color: transparent;*/
/*    color: #333;*/
/*}*/
/*#hose-pn-table .btn-view span{*/
/*    font-size: 10px  !important;*/
/*    height: 100%;*/
/*    line-height: 15px;*/
/*    padding: 0 0.3rem;*/
/*}*/
.hose_detail_expand{
    border: hidden;
    background-color: #dfdfdf !important;
}
/*.hose-validator-box-right .btn-cart{*/
/*    bottom: 20px;*/
/*    right: 20px;*/
/*    color: white;*/
/*    padding: 10px 20px;*/
/*    border: none;*/
/*    font-size: 14px;*/
/*    cursor: pointer;*/
/*    border-radius: 5px;*/
/*    margin-top: 1rem;*/
/*    width: auto;*/
/*    align-self: flex-end;*/
/*}*/


.table_row_btn_container{
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    max-width: 20px;
    max-height: 20px;
    width: 20px;
    height: 20px;
    margin: 0 0.5rem;
}
.table_row_btn_container img {
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.row_flash{
    animation: flash-bg 0.5s ease-out;
}
@keyframes flash-bg{
    0% {background-color: rgba(46,138,184,30);}
    100% {background-color: transparent;}
}

/*==============================================================================
==================== DRAG AND DROP==============================================
===============================================================================*/


#hose-drag-area{
    border: 2px dashed var(--color-primary);
    height: 100%;
    width: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

#hose-drag-area.active{
    border: 2px solid var(--color-white);
}

#hose-drag-area header{
    margin-bottom: 10px;
}

#hose-drag-area header p{
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: var(--color-primary);
    font-size: 15px;
}

#hose-drag-area.fileSelected header p{
    font-size: 15px;
    font-weight: 250;
}

#hose-drag-area span{
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 10px 0 15px 0;
}

#hose-drag-area label.button{
    font-family: "Poppins", sans-serif;
    padding: 10px 25px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    outline: none;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

#hose-drag-area label.button:hover{
    background: var(--color-primary-variant);
}

/* Responsive design for hose config validator */
@media (max-width: 768px) {
    .hose-pn-input-group {
        flex-direction: column;
    }

    .hose-validator-box-left, .hose-validator-box-right {
        padding: 10px;
    }

    .data-table th, .data-table td {
        font-size: 12px;
        padding: 8px;
    }

    .input-text, .button.btn-cart {
        font-size: 12px;
    }
}

/*==============================================================================
==================== Quickview Icon ==============================================
===============================================================================*/

a.qview-icon{position:absolute;right:0;top:0;background-color:#08c;color:#fff;padding:10px;z-index:9;border-radius:0 5px;opacity:0;visibility:hidden;transition:0.1s all;font-size:12px;line-height:1.4}
a.qview-icon span{margin-left:2px}
a.qview-icon:hover span{text-decoration:underline}
a.qview-icon:hover{opacity:0.9 !important;text-decoration:none;color:#fff}
.item-area:hover a.qview-icon{opacity:1;visibility:visible}
a.qviewlink.qview-icon{position:static;padding:0;visibility:visible;opacity:1;color:#08c;background-color:transparent;font-size:17px;display:inline-block;height:30px;width:30px;border:1px solid #08c;border-radius:5px;text-align:center}
a.qviewlink.qview-icon:hover{color:#08c; cursor: pointer}

/*==============================================================================
==================== TextArea Autofill ==============================================
===============================================================================*/

.customer_hose_autofill_container{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-content: start;
    justify-content: start;
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    border: 1.5px solid #888;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
    max-height: 20.3rem;
    overflow-y: auto;
}
#autofill-table{
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}
#autofill-table p{
    font-size: 12px;
    font-style: italic;
}
#autofill-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}
#autofill-table tbody tr:hover {
    background: #e6f7ff;
    color: black;
}
.autofill-active-row {
    background: #e6f7ff;
    color: black;
}
.customer_hose_autofill_container::-webkit-scrollbar {
    display: block;
    width: 10px;
    border-radius: 50px;
}
.customer_hose_autofill_container::-webkit-scrollbar-track {
    background: transparent;
}
.customer_hose_autofill_container::-webkit-scrollbar-thumb {
    background-color: #929292;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-left: none;
}
.customer_hose_autofill_container::-webkit-scrollbar-track-piece:end {
    background: transparent;
    padding-bottom: 2rem;
}

.customer_hose_autofill_container::-webkit-scrollbar-track-piece:start {
    background: transparent;
    margin-top: 10px;
}
.customer_hose_autofill_container::-webkit-scrollbar-thumb:hover{
    background: #555;
}
.customer_hose_autofill_container h1{
    margin-bottom: 0 !important;
    padding-left: 1rem;
    font-size: 14px;
}

/*==============================================================================
==================== LOADING SPINNER ==============================================
===============================================================================*/

.spinner_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    display: block;
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*==============================================================================
==================== MEDIA QUERIES (MEDIUM DEVICES) ============================
===============================================================================*/

@media screen and (max-width: 1024px){

}

/*==============================================================================
==================== MEDIA QUERIES (SMALL DEVICES) ============================
===============================================================================*/

@media screen and (max-width: 768px){

}
