html{

    scrollbar-color: transparent transparent;
    user-select: none;
    height: 100vh;
    overflow: hidden;
}

.point{
    position: absolute;
    top: 80%;
    left: 60%;
}

h4{font-size: 14px;}


.point .label{
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background : #00000077;
    border: 1px solid #ffffff77;
    color: #ffffff;
    font-family: Helvetica, Arial, sans-serif;
    text-align: center; line-height: 40px;
    font-weight: 100;
    font-size: 14px;
    cursor: help;
    transform: scale(0.001, 0.001);
    transition: transform 0.3s;
}

.ti{
    display: block;
    width: 64px;
    height: 64px;
}

.point.visible .label{
    transform: scale(1, 1);
}
.point .text{
    position: absolute;
    top: 30px;
    left: -120px;
    width: 200px;
    padding: 20px;
    border-radius: 4px;
    background: #00000077;
    border: 1px solid #ffffff77;
    color: #ffffff;
    line-height: 1.3em;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 100;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.point:hover .text {
    opacity: 1;
}

#closeIconModale{
    position: absolute!important;
    top: -6px;
    right: 12px;
    left: auto;
    z-index: 999!important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
    border: 2px solid #f1544e;
    background: #f1544e80;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 36px;
    width: 36px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

#closeIconModale:hover{
    background: #f1544e95;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

#closeIconModale svg{
    margin: 6px;
    display: block;
}

#modaleProduct{
    position: fixed;
    top: 16em;
    right: 3%;
    width: min(400px, calc(100vw - 48px));
    max-height: 72vh;
    z-index: 99;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 0;
    border-radius: 28px;

    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 24px 60px rgba(2, 8, 23, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.16);

    color: #f8fafc;
    scrollbar-width: thin;
    scrollbar-color: rgba(191,219,254,0.55) transparent;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

#modaleProduct.show{
    opacity: 1;
    transform: translateY(0) scale(1);
}

#modaleProduct::-webkit-scrollbar{
    width: 8px;
}

#modaleProduct::-webkit-scrollbar-track{
    background: transparent;
}

#modaleProduct::-webkit-scrollbar-thumb{
    background: rgba(191, 219, 254, 0.55);
    border-radius: 999px;
}

/* subtle light overlay */
#modaleProduct::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.08) 100%);
}

/* top gradient bar */
#modaleProduct::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(9, 79, 164, 0.95) 0%, rgba(33, 127, 255, 0.85) 55%, rgba(143, 198, 255, 0.65) 100%);
    box-shadow: 0 0 22px rgba(33, 127, 255, 0.22);
}

/* ensure content is above effects */
#modaleProduct > *{
    position: relative;
    z-index: 1;
}

.divBuy{
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.12) 100%);
    align-self: center;
    justify-self: stretch;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
    min-width: 118px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.22);
    cursor: pointer;
    color: #ffffff;
}

.divBuy:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(2, 8, 23, 0.18);
    background: rgba(255,255,255,0.24);
    border-color: rgba(191,219,254,0.42);
}

.buyText{
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.14em;
    color: #ffffff!important;
    padding: 14px 16px;
    display: block;
    text-transform: uppercase;
}


#modaleProduct h4,
#modaleProduct h5,
#modaleProduct p,
#modaleProduct span{
    color: rgba(248, 250, 252, 0.88);
}

#modaleProduct h4,
#modaleProduct h5{
    margin: 0;
    line-height: 1.3;
}

.parentLinkLi {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 0 24px 24px 24px;
    margin: 0 0 4px 0;
    border-radius: 0;
    box-shadow: none;
    align-items: center;
    background: transparent;
    border: 0;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.parentLinkLi:hover{
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.namePN {
    min-width: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0, 23, 70, 0.32);
}

.modalProductRow{
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: baseline;
    column-gap: 18px;
    min-width: 0;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.modalProductRow:last-child{
    border-bottom: 0;
}

.modalProductLabel{
    font-size: 11px;
    font-weight: 700;
    color: rgba(191, 219, 254, 0.92);
    line-height: 1.2;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.modalProductLabel::after{
    content: ":";
}

.modalProductValue{
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
}

.conditionPN {
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    width: fit-content;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.buyIcon{
    grid-area: 1 / 6 / 2 / 7;
    content: 'eb25';
}

.parentLinkLi:hover, #closeIconModale:hover{
    cursor: pointer;
}

.newEquipement{
    background: rgb(253, 149, 6);
    border: rgb(252, 120, 6) 2px solid;
}

.serviceable{
    background: rgb(34, 255, 6);
    border: rgb(47, 200, 38) 2px solid;
}

.asRemoved{
    background: rgb(251, 0, 108);
    border: rgb(208, 0, 96) 2px solid;
}

.overhauled{
    background: rgb(50, 171, 230);
    border: rgb(28, 121, 254) 2px solid;
}

.newSurplus{
    background: rgb(179, 179, 179);
    border: rgb(140, 140, 140);
}

.factoryNew{
    background: rgb(253, 141, 103);
    border: rgb(246, 105, 95) 2px solid;
}

.NoCondition{
    background: rgb(223, 223, 224);
    border: rgb(197, 197, 199) 2px solid;
    opacity: 0.5;
}

.webgl{
    width: 60em;
    /*border: #000 1px solid;*/
    margin-right: auto;
    margin-left: auto;
    left: 0; right: 0;
    position: relative;
    /*margin-top: -2.5em;*/
    /*margin-top: -1.9%;*/
    margin-top: -25px;
    /*margin-top: 100px; */
}

.loading-bar{
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(420px, 72vw);
    height: 10px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center left;
    transition: transform 0.35s ease-out;
    will-change: transform;
    z-index: 99998;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.loading-bar::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #38f9d7 100%);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.55);
}

.loading-bar.ended{
    transform-origin: center right;
    transition: transform 0.8s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

.loadingPercent {
    z-index: 99999;
    color: #ffffff;
    position: fixed;
    left: 50%;
    top: calc(50% - 112px);
    transform: translateX(-50%);
    transition: opacity 0.35s ease, transform 0.35s ease;
    background: rgba(15, 23, 42, 0.78);
    border-radius: 20px;
    min-width: 170px;
    padding: 18px 22px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loadingPercent .loading-label{
    display: block;
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 8px;
    letter-spacing: 0.18em;
}

.loadingPercent .loading-value{
    display: block;
    font-size: 32px;
    line-height: 1;
}

#divHelicoName{
    position: fixed;
    left: 3em;
    top: 11em;
    width: 340px;
    padding: 0;
    border-radius: 28px;
    display: none;
    z-index: 12;
    overflow: hidden;

    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);

    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 24px 60px rgba(2, 8, 23, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.16);

    color: #f8fafc;
    transition: width 0.28s ease, left 0.28s ease, top 0.28s ease, max-height 0.28s ease, border-radius 0.28s ease;
}

#divHelicoName.is-expanded{
    left: 5%;
    top: 7em;
    width: 90%;
    max-height: calc(100vh - 9em);
    overflow-y: auto;
    z-index: 999999;
}

#divHelicoName::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.08) 100%);
}

#divHelicoName::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(9, 79, 164, 0.95) 0%, rgba(33, 127, 255, 0.85) 55%, rgba(143, 198, 255, 0.65) 100%);
    box-shadow: 0 0 22px rgba(33, 127, 255, 0.22);
}

#divHelicoName > *{
    position: relative;
    z-index: 1;
}

#toggleHelicoDetails{
    position: sticky;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    background: rgba(255,255,255,0.13);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

#toggleHelicoDetails:hover{
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.34);
    transform: translateY(-1px);
}

#toggleHelicoDetails .collapse-icon{
    display: none;
}

#divHelicoName.is-expanded #toggleHelicoDetails .expand-icon{
    display: none;
}

#divHelicoName.is-expanded #toggleHelicoDetails .collapse-icon{
    display: block;
}

#divHelicoName h2{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    padding: 22px 24px 6px 24px;
    color: #ffffff;
    margin-top: -5vh;
}

#divHelicoName h3{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    padding: 0 24px 16px 24px;
    color: rgba(191, 219, 254, 0.92);
}

#divHelicoName p{
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
    padding: 4px 24px 4px 24px;
    color: rgba(248, 250, 252, 0.86);
}

@media (max-width: 768px){
    #divHelicoName{
        left: 16px;
        right: 16px;
        top: 96px;
        width: auto;
        border-radius: 22px;
    }

    #divHelicoName.is-expanded{
        left: 16px;
        right: 16px;
        top: 86px;
        width: auto;
        max-height: calc(100vh - 104px);
    }

    #divHelicoName h2{
        font-size: 20px;
        padding: 18px 60px 6px 18px;
    }

    #divHelicoName h3{
        padding: 0 18px 14px 18px;
    }

    #divHelicoName p{
        padding: 16px 18px 18px 18px;
    }

    .helico_media_grid{
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 36px);
        margin: 10px 18px 4px 18px;
    }

    .helico_media_grid img{
        height: 180px;
    }
}

footer{
    margin-top: -3em;
}

#infoModale{
    position: absolute;
    z-index: 9999;
    top: 85%;
    right: -10%;
    transform: translate(-50%, -50%);

    padding: 22px 26px;
    border-radius: 22px;
    display: none;

    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);

    color: #f8fafc;
    max-width: 420px;
}

#infoModale h4{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

#infoModale p{
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.85;
}

#closeModaleInfo{
    position: fixed;
    z-index: 99991;
    background: #FFF;
    border-radius: 10px;
    top: 38%;
    /*left: 60.6%;*/
    right: 32.5%;
    border: 0.5px #000 solid;
    display: none;
}

.parts_helico_div{
    padding: 10px 14px;
    margin: 0;
    background: rgb(0 23 70 / 54%);
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.11);
    border-radius: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
    box-sizing: border-box;
}

.parts_helico_div:hover{
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    box-shadow: inset 3px 0 0 rgba(96,165,250,0.85);
}

#modaleTitle{
    text-align: center;
    background: transparent;
    border-radius: 0;
    padding: 30px 54px 18px 24px;
    user-select: none;
    margin: 0;
    color: #ffffff;
    border: 0;
    box-shadow: none;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

@media (max-width: 768px){
    #modaleProduct{
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        width: auto;
        max-height: 56vh;
        border-radius: 22px;
    }

    #modaleTitle{
        padding: 26px 52px 16px 20px;
        font-size: 17px;
    }

    .parentLinkLi{
        grid-template-columns: minmax(0, 1fr);
        padding: 0 18px 18px 18px;
    }

    .modalProductRow{
        grid-template-columns: 96px minmax(0, 1fr);
        column-gap: 12px;
    }

    .modalProductLabel,
    .modalProductValue{
        font-size: 12px;
    }

    .divBuy{
        grid-column: 1 / 2;
        justify-self: stretch;
        min-width: 0;
    }
}

.div_helper_3d{
    flex: 3;
    text-align: center;
}

.div_helper_3d h4{
    font-weight: 900;
    font-size: 18px;
}


.div_helper_3d p{
    font-weight: 200;
    font-size: 15px;
}

.change_display_parts{
    position: relative;
    margin: 16px auto 12px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    padding: 2px;
    border-radius: 999px;

    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.18);

    width: fit-content;
}

.change_display_parts div{
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 32px;

    border-radius: 999px;
    transition: all 0.25s ease;
    cursor: pointer;
}

#display_inline_parts{
    background: rgba(255,255,255,0.25);
}

#display_grid_parts{
    background: transparent;
}

.change_display_parts div:hover{
    background: rgba(255,255,255,0.18);
}

.parts_container{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 10px 24px 24px 24px;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: rgba(15,23,42,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
    transition: opacity 0.24s ease, transform 0.24s ease, grid-template-columns 0.24s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.28) transparent;
}

.parts_container.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.14);
}

.parts_container.grid .parts_helico_div{
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 12px;
}

.parts_container.grid .part_identity,
.parts_container.grid .part_meta{
    grid-column: 1 / 3;
}

.parts_container.grid .part_identity{
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
}

.parts_container.grid .part_status{
    justify-self: end;
}

.parts_container.grid .part_meta{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.parts_container.is-switching{
    opacity: 0.72;
    transform: translateY(4px);
}

.parts_container::-webkit-scrollbar{
    width: 8px;
}

.parts_container::-webkit-scrollbar-track{
    background: transparent;
}

.parts_container::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,0.24);
    border-radius: 999px;
}

#text_helico_details p{text-align: justify;}
#display_grid_parts{cursor: pointer;}

.helico_media_grid{
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: calc(100% - 48px);
    margin: 10px 24px 4px 24px;
}

#divHelicoName.is-expanded .helico_media_grid{
    display: grid;
}

.helico_media_grid figure{
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(15, 23, 42, 0.18);
}

.helico_media_grid img{
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.helico_aircraft_info{
    display: none;
    width: calc(100% - 48px);
    margin: 12px 24px 6px 24px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgb(42 57 91 / 56%) 100%);
    box-sizing: border-box;
}

#divHelicoName.is-expanded .helico_aircraft_info{
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
}

.helico_info_intro span{
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(191, 219, 254, 0.92);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.helico_info_intro h4{
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
}

#divHelicoName .helico_info_intro p{
    padding: 0;
    color: rgba(248, 250, 252, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

.helico_info_grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.helico_info_grid div{
    padding: 10px;
    border-radius: 8px;
    background: rgba(15,23,42,0.18);
    min-width: 0;
}

.helico_info_grid b{
    display: block;
    margin-bottom: 5px;
    color: rgba(191, 219, 254, 0.92);
    font-size: 10px;
    text-transform: uppercase;
}

.helico_info_grid span{
    display: block;
    color: rgba(248,250,252,0.9);
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.parts_search_toolbar{
    display: none;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: center;
    width: calc(100% - 48px);
    margin: 12px 24px 8px 24px;
}

#divHelicoName.is-expanded .parts_search_toolbar{
    display: grid;
}

.parts_search_toolbar label{
    color: rgba(191,219,254,0.82);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.parts_search_input{
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid rgba(0, 190, 105, 0.28);
    border-radius: 8px;
    background: rgba(15,23,42,0.24);
    color: rgba(191,219,254,0.82);
}

.parts_search_input input{
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: rgba(248,250,252,0.92);
    font-size: 13px;
}

.parts_search_input input::placeholder{
    color: rgba(203,213,225,0.58);
}

#partsSearchCount{
    color: rgba(248,250,252,0.72);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.part_identity{
    display: grid;
    grid-template-columns: minmax(92px, 0.5fr) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    min-width: 0;
    width: 100%;
}

.part_number{
    color: rgba(191, 219, 254, 0.94);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    overflow-wrap: break-word;
    word-break: normal;
}

.part_name{
    color: rgba(248,250,252,0.92);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: normal;
}

.part_status,
.part_life{
    display: none;
}

.part_meta{
    display: none;
}

#divHelicoName.is-expanded .parts_helico_div{
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) 64px 92px minmax(360px, 1.7fr);
    gap: 14px;
    min-height: 0;
    padding: 10px 14px;
    align-items: center;
}

#divHelicoName.is-expanded .part_life,
#divHelicoName.is-expanded .part_status{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

#divHelicoName.is-expanded .part_life{
    color: rgba(248,250,252,0.82);
    font-size: 11px;
    font-weight: 700;
}

#divHelicoName.is-expanded .part_status{
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 4px 10px;
    border: 1px solid rgba(0, 190, 105, 0.72);
    border-radius: 5px;
    color: #00c875;
    background: rgba(0, 190, 105, 0.41);
    box-shadow: inset 0 0 0 1px rgba(0, 190, 105, 0.14);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

#divHelicoName.is-expanded .parts_helico_div[data-condition="AR"] .part_status{
    border-color: rgba(235, 44, 111, 0.72);
    color: #f43f7f;
    background: rgba(235, 44, 111, 0.14);
    box-shadow: inset 0 0 0 1px rgba(235, 44, 111, 0.14);
}

#divHelicoName.is-expanded .parts_helico_div[data-condition="OH"] .part_status{
    border-color: rgba(37, 99, 235, 0.72);
    color: #60a5fa;
    background: rgba(37, 99, 235, 0.16);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

#divHelicoName.is-expanded .parts_helico_div[data-condition="NE"] .part_status{
    border-color: rgba(249, 115, 22, 0.72);
    color: #fb923c;
    background: rgba(249, 115, 22, 0.16);
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.14);
}

#divHelicoName.is-expanded .parts_helico_div[data-condition="NA"] .part_status{
    border-color: rgba(148, 163, 184, 0.52);
    color: rgba(203, 213, 225, 0.86);
    background: rgba(148, 163, 184, 0.10);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.10);
}

#divHelicoName.is-expanded .part_meta{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

#divHelicoName.is-expanded .part_meta_item{
    display: block;
    min-width: 0;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

#divHelicoName.is-expanded .part_meta_item small{
    display: block;
    margin-bottom: 3px;
    color: rgba(191,219,254,0.62);
    font-size: 10px;
    text-transform: uppercase;
}

#divHelicoName.is-expanded .part_meta_item strong{
    display: block;
    color: rgba(248,250,252,0.84);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    overflow-wrap: anywhere;
}

#divHelicoName.is-expanded .parts_container{
    max-height: 42vh;
}

#divHelicoName.is-expanded .parts_container.grid{
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

#divHelicoName.is-expanded .parts_container.grid .parts_helico_div{
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 12px;
}

#divHelicoName.is-expanded .parts_container.grid .part_identity,
#divHelicoName.is-expanded .parts_container.grid .part_meta{
    grid-column: 1 / 3;
}

#divHelicoName.is-expanded .parts_container.grid .part_status{
    justify-self: end;
}

#divHelicoName.is-expanded .parts_container.grid .part_meta{
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px){
    .helico_media_grid{
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 36px);
        margin: 10px 18px 4px 18px;
    }

    .helico_media_grid img{
        height: 180px;
    }

    #divHelicoName.is-expanded .helico_aircraft_info{
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 36px);
        margin: 12px 18px 6px 18px;
    }

    .helico_info_grid{
        grid-template-columns: minmax(0, 1fr);
    }

    #divHelicoName.is-expanded .parts_search_toolbar{
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 36px);
        margin: 12px 18px 8px 18px;
    }

    #partsSearchCount{
        white-space: normal;
    }

    #divHelicoName.is-expanded .part_meta{
        grid-template-columns: minmax(0, 1fr);
    }

    #divHelicoName.is-expanded .parts_helico_div{
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    #divHelicoName.is-expanded .part_identity{
        grid-template-columns: minmax(0, 1fr);
        gap: 3px;
    }

    #divHelicoName.is-expanded .parts_container.grid .part_identity,
    #divHelicoName.is-expanded .parts_container.grid .part_meta{
        grid-column: auto;
    }

    #divHelicoName.is-expanded .parts_container.grid{
        grid-template-columns: minmax(0, 1fr);
    }
}

.positions_camera_model_buttons{
    position: relative;
    top: 8.5vh;
    z-index: 12;
    width: fit-content;
    margin: auto;
    display: flex;
    gap: 10px;
    align-items: center;

    padding: 10px;
    border-radius: 999px;

    background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);

    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 18px 44px rgba(2, 8, 23, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.16);

    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.positions_camera_model_buttons.is-loaded{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.positions_camera_model_buttons::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 42%, rgba(255,255,255,0.1) 100%);
    opacity: 0.75;
}

.ec120_missing_part{
    position: fixed;
    right: 1%;
    bottom: 32px;
    z-index: 45;
    display: grid;
    gap: 10px;
    justify-items: end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.ec120_missing_part.is-loaded{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.ec120_missing_part_button{
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 14px;
    padding: 12px 16px;
    min-width: 170px;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.58) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.28), inset 0 1px 0 rgba(255,255,255,0.14);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.ec120_missing_part_button:hover{
    transform: translateY(-1px);
    border-color: rgba(191,219,254,0.46);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.66) 100%);
}

.ec120_missing_part_button span,
.ec120_missing_part_button strong{
    display: block;
}

.ec120_missing_part_button span{
    color: rgba(191, 219, 254, 0.92);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ec120_missing_part_button strong{
    margin-top: 4px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.1;
}

.ec120_request_dialog{
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 8, 23, 0.50);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.ec120_request_dialog.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.ec120_request_panel{
    position: relative;
    width: min(620px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    padding: 30px;
    color: #f8fafc;
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 28px 80px rgba(2, 8, 23, 0.38), inset 0 1px 0 rgba(255,255,255,0.16);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.24s ease;
}

.ec120_request_dialog.is-open .ec120_request_panel{
    transform: translateY(0) scale(1);
}

.ec120_request_panel::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.03) 42%, rgba(255,255,255,0.08) 100%);
}

.ec120_request_panel::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, rgba(9, 79, 164, 0.95) 0%, rgba(33, 127, 255, 0.85) 55%, rgba(143, 198, 255, 0.65) 100%);
    box-shadow: 0 0 22px rgba(33, 127, 255, 0.22);
}

.ec120_request_panel > *{
    position: relative;
    z-index: 1;
}

.ec120_request_close{
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid #f1544e;
    background: #f1544e80;
    color: #ffffff;
    cursor: pointer;
}

.ec120_request_header{
    padding-right: 46px;
    margin-bottom: 22px;
}

.ec120_request_header span{
    display: block;
    color: rgba(191, 219, 254, 0.92);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ec120_request_header h3{
    margin: 7px 0 8px 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.ec120_request_header p{
    margin: 0;
    max-width: 520px;
    color: rgba(248, 250, 252, 0.82);
    font-size: 13px;
    line-height: 1.55;
}

.ec120_request_form{
    display: grid;
    gap: 16px;
}

.ec120_request_form_wrap{
    transition: opacity 0.34s ease, transform 0.34s ease, max-height 0.42s ease;
    opacity: 1;
    transform: translateY(0);
    max-height: 780px;
    overflow: hidden;
}

.ec120_request_panel.is-success .ec120_request_form_wrap{
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
    pointer-events: none;
}

.ec120_request_panel.is-sending .ec120_request_form_wrap{
    opacity: 0.62;
    pointer-events: none;
}

.ec120_request_grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ec120_request_form label{
    display: grid;
    gap: 7px;
    margin: 0;
}

.ec120_request_form label span{
    color: rgba(191, 219, 254, 0.92);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ec120_request_form input,
.ec120_request_form textarea{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    background: rgba(0, 23, 70, 0.32);
    color: #ffffff;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 13px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ec120_request_form textarea{
    resize: vertical;
    min-height: 118px;
    line-height: 1.45;
}

.ec120_request_form input:focus,
.ec120_request_form textarea:focus{
    border-color: rgba(143, 198, 255, 0.72);
    background: rgba(0, 23, 70, 0.44);
    box-shadow: 0 0 0 3px rgba(33, 127, 255, 0.16);
}

.ec120_request_form input::placeholder,
.ec120_request_form textarea::placeholder{
    color: rgba(248, 250, 252, 0.42);
}

.ec120_request_form small{
    color: #fecaca;
    font-size: 11px;
    font-weight: 700;
}

.ec120_request_submit{
    justify-self: end;
    min-width: 190px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    padding: 13px 18px;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(33, 127, 255, 0.88) 0%, rgba(9, 79, 164, 0.86) 100%);
    box-shadow: 0 16px 34px rgba(2, 8, 23, 0.22);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ec120_request_submit:disabled{
    cursor: progress;
    opacity: 0.72;
}

.ec120_request_ajax_error{
    display: none;
    margin: -4px 0 0 0;
    border-radius: 10px;
    padding: 10px 12px;
    color: #fecaca;
    background: rgba(127, 29, 29, 0.58);
    border: 1px solid rgba(254, 202, 202, 0.30);
    font-size: 12px;
    font-weight: 800;
}

.ec120_request_panel.has-error .ec120_request_ajax_error{
    display: block;
}

.ec120_request_success_state{
    display: grid;
    justify-items: center;
    gap: 16px;
    max-height: 0;
    opacity: 0;
    transform: translateY(12px);
    overflow: hidden;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.36s ease 0.18s, transform 0.36s ease 0.18s, max-height 0.42s ease;
}

.ec120_request_panel.is-success .ec120_request_success_state{
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ec120_request_success_icon{
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(22, 101, 52, 0.62);
    border: 1px solid rgba(187, 247, 208, 0.34);
    box-shadow: 0 16px 38px rgba(2, 8, 23, 0.22);
}

.ec120_request_success_state p{
    max-width: 420px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.ec120_request_feedback{
    margin: 0;
    border-radius: 10px;
    padding: 10px 12px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 28px rgba(2, 8, 23, 0.20);
}

.ec120_request_feedback.is-success{
    background: rgba(22, 101, 52, 0.78);
    border: 1px solid rgba(187, 247, 208, 0.34);
}

.ec120_request_feedback.is-error{
    margin-bottom: 16px;
    background: rgba(127, 29, 29, 0.78);
    border: 1px solid rgba(254, 202, 202, 0.34);
}

 #cockpit_div, #global_view, #cabin_div, #tailRotor_div{
    position: relative;
    z-index: 1;
    min-width: 132px;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    text-align: center;

    background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.72) 100%);
    border: 1px solid rgba(255,255,255,0.62);

    font-weight: 600;
    font-size: 14px;
    color: #1f2937;

    box-shadow:
        0 10px 24px rgba(15,23,42,0.10),
        inset 0 1px 0 rgba(255,255,255,0.72);

    transition:
        transform 0.28s cubic-bezier(.22,1,.36,1),
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        color 0.28s ease,
        opacity 0.28s ease;

    opacity: 0;
    animation: abCameraPillIn 0.75s cubic-bezier(.22,1,.36,1) forwards;
}

#global_view{ animation-delay: 0.06s; }
#cockpit_div{ animation-delay: 0.14s; }
#cabin_div{ animation-delay: 0.22s; }
#tailRotor_div{ animation-delay: 0.30s; }

#cockpit_div::before, #global_view::before, #cabin_div::before, #tailRotor_div::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.02));
}

#cockpit_div:hover,
#global_view:hover,
#cabin_div:hover,
#tailRotor_div:hover{
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 100%);
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 14px 28px rgba(15,23,42,0.14),
        0 0 0 1px rgba(255,255,255,0.25),
        0 0 22px rgba(9, 79, 164, 0.10);
}

#cockpit_div.is-active,
#global_view.is-active,
#cabin_div.is-active,
#tailRotor_div.is-active{
    background: linear-gradient(180deg, rgba(9, 79, 164, 0.96) 0%, rgba(7, 61, 128, 0.96) 100%);
    border-color: rgba(79, 140, 218, 0.55);
    color: #ffffff;
    box-shadow:
        0 16px 34px rgba(9, 79, 164, 0.24),
        0 0 0 1px rgba(255,255,255,0.10),
        0 0 26px rgba(33, 127, 255, 0.20);
    overflow: hidden;
    border-bottom: none;
}

#cockpit_div.is-active:hover,
#global_view.is-active:hover,
#cabin_div.is-active:hover,
#tailRotor_div.is-active:hover{
    transform: translateY(-1px) scale(1.01);
    box-shadow:
        0 18px 38px rgba(9, 79, 164, 0.28),
        0 0 0 1px rgba(255,255,255,0.12),
        0 0 30px rgba(33, 127, 255, 0.24);
}

#cockpit_div::after,
#global_view::after,
#cabin_div::after,
#tailRotor_div::after{
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.0));
    transform: scaleX(0.2);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.28s cubic-bezier(.22,1,.36,1), opacity 0.28s ease, background 0.28s ease;
}

#cockpit_div.is-active::after,
#global_view.is-active::after,
#cabin_div.is-active::after,
#tailRotor_div.is-active::after{
    opacity: 1;
    transform: scaleX(1);
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.98) 50%, rgba(255,255,255,0.18) 100%);
    box-shadow: 0 0 14px rgba(255,255,255,0.18);
    margin-bottom: -7px;
    width: 100%;
    margin-left: -13%;
}

#canvas{margin-top: -80px;}

#cockpit_div h3, #global_view h3, #cabin_div h3, #tailRotor_div h3{
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.aerobay-helicopter-promo{
    display: none!important;
}

@keyframes abCameraPillIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 768px){
    .positions_camera_model_buttons{
        gap: 8px;
        padding: 8px;
        top: 7.5vh;
        max-width: calc(100vw - 24px);
        overflow-x: auto;
    }

    #cockpit_div, #global_view, #cabin_div, #tailRotor_div{
        min-width: 104px;
        padding: 9px 14px;
    }

    #cockpit_div h3, #global_view h3, #cabin_div h3, #tailRotor_div h3{
        font-size: 12px;
    }

    .parts_container{
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        margin: 10px 16px 18px 16px;
        max-height: 190px;
        border-radius: 18px;
    }

    .parts_container.grid{
        grid-template-columns: minmax(0, 1fr);
    }

    .ec120_missing_part{
        right: 16px;
        bottom: 18px;
    }

    .ec120_missing_part_button{
        min-width: 148px;
        padding: 11px 14px;
    }

    .ec120_request_dialog{
        align-items: flex-end;
        padding: 14px;
    }

    .ec120_request_panel{
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 22px;
        padding: 24px 18px 18px 18px;
    }

    .ec120_request_grid{
        grid-template-columns: minmax(0, 1fr);
    }

    .ec120_request_submit{
        justify-self: stretch;
        min-width: 0;
    }
}
