.display_list_capa_div{
    height: 100vh;
    width: 100%;
    margin-bottom: 6vh;
    overflow: hidden;
    scrollbar-color: #001746b5 transparent;
    position: relative;
    min-height: 420px;
}

.title_style {
    font-size: 1.5vw !important;
    font-weight: 900 !important;
    margin: 14px auto 5px;
}

.fw_text_style {
    font-weight: 200 !important;
    font-size: 0.9vw;
    margin: 1vh 2vh;
}

.display_list_capa{
    height: 100vh;
    overflow-y: auto;
    width: 100%;
    margin: 0;
    position: relative;
    box-shadow: 0px 0px 0px 0px #b0b0b0;
    border-radius: 10px;
    padding: 0px 10px 10px 10Px;
}

.capa-list-content{
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease-out;
}

.capa-list-content.is-ready{
    opacity: 1;
    visibility: visible;
}

.capa-list-loader{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    z-index: 3;
    transition: opacity .25s ease-out, visibility .25s ease-out;
}

.capa-list-loader.is-hidden{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.capa-list-loader__spinner{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #d9e3f4;
    border-top-color: #5f6df2;
    animation: capaLoaderSpin .8s linear infinite;
}

.capa-list-loader__text{
    color: #334155;
    font-size: 1rem;
    font-weight: 600;
}

@keyframes capaLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.display_title_capa{
    margin: 2vh 10%;
}

.display_title_capa p{
    margin: 1vw 20%;
    text-align: justify;
}

.search_bar_capa_list,
.fw_text_style,
.capa-category-filter{
    user-select: none;
}

.search_bar_capa_list{
    width: 100%;
    margin: 2vw 1vw 2vw -1vh;
    text-align: center;
}

.search_bar_capa_list input{
    width: 40%;
    border: none;
    border-radius: 30px;
    height: 5vh;
    box-shadow: 0px 0px 6px -2px #3D3D3D;
    padding: 10px 20px;
    opacity: 1;
    background: #fff;
    z-index: 99;
    position: relative;
}

.search_bar_capa_list svg{
    margin-top: -5px;
    margin-left: -44px;
    z-index: 99;
    position: relative;
}

.capa-category-filter{
    margin-top: 10px;
    padding: 0 4px;
}

.capa-filter-title{
    font-size: 1.1rem;
    margin: 0 0 12px;
}

.capa-category-option{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    cursor: pointer;
}

.capa-category-option input{
    margin: 0;
    cursor: pointer;
}

#capaTable{
    width: 100%;
}

table {
    border-spacing: 0 1vh;
    border-collapse: separate;
}

.mro_quote_request_button {
    border: 2px solid #6161f0;
    background: #d0cff3;
    border-radius: 10px;
    height: inherit;
    color: #6161f0;
    transition: background .5s ease-out, color .5s ease-out;
}

.mro_quote_request_button_null{
    border: 2px solid #969696;
    background: #e1e1e1;
    border-radius: 10px;
    height: inherit;
    color: #777777;
    cursor: not-allowed;
    transition: background .5s ease-out, color .5s ease-out;
}

.mro_quote_request_button:hover{
    background: #bdbbff;
}

#capaTable{
    width: 100%;
}

.modal-dialog{top: 26%;}

.modal-content{
    background: transparent !important;
    box-shadow: none;
    border: none;
}

.send_request_button{
    display: inline-flex;
    margin-top: 1.5rem;
    cursor: pointer;
    user-select: none;
    color: rgb(102, 204, 153);
    border-width: 2px;
    padding: 10px 15px;
    border-style: solid;
    border-color: rgb(102, 204, 153);
    border-image: initial;
    background: rgba(102, 204, 153, 0);
    border-radius: 10px;
    transition: background 0.5s ease-out, color 0.5s ease-out;
}

.send_request_button:hover{
    background: rgb(102, 204, 153);
}

.close_red_button{
    display: inline-flex;
    margin-top: 1.5rem;
    cursor: pointer;
    user-select: none;
    color: #ff4141;
    border-width: 2px;
    padding: 10px 15px;
    border-style: solid;
    border-color: #ff4141;
    border-image: initial;
    background: #fff;
    border-radius: 10px;
    margin-left: 35%;
    transition: background 0.5s ease-out, color 0.5s ease-out;
}
.close_red_button:hover{
    background: #ff4141;
    color: #fff;
}
.modal-header .close{margin-top: 0!important;}

.modal-header {
    background: #fff;
    border-radius: 15px 15px 5px 5px;
}
.modal-body, .modal-header{box-shadow: 0px 0px 12px -2px #3D3D3D;}

.capa-row {
    display: grid;
    grid-template-rows: repeat(5, 0.5fr);
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 0px #3D3D3D;
    margin: 1.5rem 5px;
    padding: 1.5rem 0.2rem 1.5rem 1rem;
    border: 0.5px solid #dfdfdf;
    transition: box-shadow .5s ease-out;
}

.display_inline_repair{
    background: #f4f4f4;
    border-radius: 10px;
    padding: 10px 5px;
    margin-right: 10px;
    display: inline-flex;
    height: 100%;
    grid-area: 1 / 4 / 6 / 13;
}

.align_items_center{
    align-items: center;
}

/* Each column */
.display_inline_repair > div{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title_repair_div{
    flex: 1;
    font-weight: 600;
    font-size: 1.3rem;
    opacity: 0.7;
    display: flex;
    align-items: flex-start;
}

.infos_repair_div{
    flex: 3;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.pn_repair_div{
    grid-area: 1/1/1/4;
    margin: 5px 0px !important;
    font-size: 1vw !important;
    font-weight: 900 !important;
    font-style: italic !important;
    color: #66CC99;
}

.desc_repair_div{
    grid-area: 2 / 1 / 4 / 4;
    height: 100%;
}

.mro_repair_div{
    grid-area: 4 / 1 / 5 / 4;
    height: 100%;
}

.altPn_repair_div{
    grid-area: 5 / 1 / 6 / 4;
    height: 100%;
}

.available_services_div{
    align-items: center;
    font-weight: 500;
}

.capa-row:hover{
    box-shadow: 0px 0px 6px -2px #3D3D3D;
}

#capaTable thead th{
    position: sticky;
    top: 0;
    z-index: 5;
    background: #ffffff;
    padding-top: 1vh;
    padding-bottom: 1vh;
    box-shadow: 2px 4px 5px -3px #b4b4b4;
}

/* Optional: small separation under sticky header */
#capaTable thead{
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

/* RFQ modal */
#requestQuoteModal .modal-title { font-weight: 700; }
#requestQuoteModal .small { opacity: 0.75; }
#requestQuoteModal .form-group label { font-weight: 600; }

.form-control{
    border-radius: 10px;
    width: 50%;
    margin: 0 25%;
}

/* Search options */
.capa-category-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 2px 2px 2px 7px;
    border-radius: 8px;
    background: #eaf0f8;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0px 0px 7px -2px #5161d3cc;
    transition: background .25s ease-out, border-color .25s ease-out, box-shadow .25s ease-out;
}

.capa-category-card:hover{
    box-shadow: 0px 0px 2px -2px #5161d3cc;
}

.capa-category-card input{
    display: none;
}

.capa-category-card__label{
    flex: 1;
    color: #334155;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.capa-category-card__count{
    min-width: 48px;
    height: 26px;
    padding: 0 12px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #5f6df2;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.capa-category-card.is-active{
    background: #dfe7f2;
    border-color: rgb(84 101 220);
}

.capa-category-card:not(.is-active){
    background: #f4f7fb;
    opacity: 0.72;
}

.capa-category-card:not(.is-active) .capa-category-card__count{
    background: #b8c1d6;
}

.actions_repair_mor_div{flex:1.6!important;}

.header_banner_repair {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../../img/repair/Part145-banner.webp);
}

.carousel-inner{margin-bottom: 30px;}

.download-all-list{
    margin-bottom: 15px;
    background: #eef4fc;
    border-radius: 10px;
    padding: 6px 7px;
    height: 38px;
    color: #3D3D3D;
    user-select: none;
    cursor: pointer;
}

.download-all-list a{
    padding: 5px 6px;
    border-radius: 6px;
    text-decoration: none;
    background: #fff;
    position: absolute;
    color: #3D3D3D!important;
}