.plugin-thales #download-3d-modal .clr-light.icon-bg{
    margin-left: 55px;
}
.plugin-thales .canvas-row {
    width: 100% !important;
    /* height: 100% !important; */
    cursor: pointer;
}
.plugin-thales .snap-canvas{
    width: 100% !important;
    height: 100% !important;
}
.plugin-thales .three_d_iframe{
    /* height: 100% !important; */
    cursor: pointer;
}

.plugin-thales .part-download-container .canvas-main-btn {
    width: 100% !important;
    padding: 8px 0;
}
.plugin-thales .part-download-container .s-btn-medium i{
    margin: 0;
}
.plugin-thales.part_view_responsive .part-container h2,
.plugin-thales.part_view_responsive #model-3d-holder h2{
    font-style: normal;
}

.plugin-thales .plugin-center-modal#download-modal {
    top: 25vh !important;
}


/* Only apply centering styles when showing manufacturer disclaimer
.lean-modal.plugin-center-modal .modal-download-manufacturer-disclaimer.view-active {
    display: block !important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
} */

/* Default state - hidden */
.modal-download-manufacturer-disclaimer {
    display: none;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Responsive height adjustments for different screen sizes */
@media (max-height: 700px) {
    .modal-download-manufacturer-disclaimer {
        max-height: 95vh;
    }
}

@media (max-height: 500px) {
    .modal-download-manufacturer-disclaimer {
        max-height: 98vh;
    }
}

@media (max-width: 480px) {
    .modal-download-manufacturer-disclaimer {
        max-height: 95vh;
    }
    
    /* Stack buttons vertically on very small screens */
    .modal-download-manufacturer-disclaimer .disclaimer-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-download-manufacturer-disclaimer .disclaimer-buttons .s-btn-medium {
        width: 100%;
        margin: 0;
    }
}

/* General modal visibility */
.modal-view.view-active {
    display: block !important;
}

@media (min-height: 600px) {
    #download-modal .modal-view-download .modal-title{
        padding-top: 20px;
        line-height: 24px;
    }
    #download-modal .modal-view-download ul li .s-btn-modal{
        margin: 6px auto;
    }
}
@media (max-height: 700px) {
    #download-modal .modal-view-download{
        max-height: unset;
    }
    .plugin-thales .part_view_responsive {
        padding-top: calc((100vh - 560px)/2);
    }
    .plugin-thales #leads-modal-new{
        width: 650px;
        height: calc(100% - 15%);
        min-height: 535px;
    }
    .plugin-thales .d-flex-c-b {
        flex-direction: initial !important;  
    }
    .plugin-thales .part-container{
        width: auto;
    }
    .plugin-thales .img-div{
        width: auto;
    }
    .plugin-thales #leads-collection-section{
        width: 85%;
    }
    .plugin-thales #leads-collection-section > .form-section{
        overflow-y: auto;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 20px;
    }
    .plugin-thales .modal-small#download-modal{
        top: 5vh !important;
    }
    .plugin-thales .plugin-center-modal#download-modal {
        top: 25vh !important;
    }
    .plugin-thales .modal-small#download-modal-static{
        top: 25vh !important;
    }
    .plugin-thales .modal-small#download-3d-modal{
        top: 25vh !important;
    }
    .plugin-thales .modal-view-download{
        max-height: 90vh;
    }
    /* .plugin-thales #leads-collection-section.gemalto-form .form-field label{
        display: none;
    } */
    .plugin-thales #leads-collection-section .form-field label{
        font-size: 11px;
        line-height: 16px;
    }   
    .plugin-thales #leads-collection-section .form-field .text-field{
        padding: 5px 10px;
        height: 30px;
        font-size: 11px;
    }   
    .plugin-thales #leads-collection-section .modal-heading{
        font-size: 25px;
        line-height: 25px;
    }
    .plugin-thales #leads-collection-section .info-section{
        padding: 5px 10px;
    }
    .plugin-thales #leads-collection-section .info-desc{
        font-size: 11px;
        line-height: 20px;
    }
}
@media (max-height: 599px) {
    #download-modal .modal-view-download{
        max-height: 90vh;
    }
}

/*TABLET*/
@media (max-width: 1024px) {
    .plugin-thales .snap_icon_container{
        right: 25px !important;
        bottom: 25px !important;
    }
    .plugin-thales .part-download-container .canvas-main-btn {
        width: 100% !important;
        padding: 8px 0;
        text-align: center;
    }
}
/*TABLET 2*/
@media (max-width: 900px) {
    .plugin-thales.part_view_responsive{
        padding-top: 0;
        margin-top: -2px;
    }
    .plugin-thales .box-dimensions{
        width: 250px !important;
    }
    .plugin-thales .part-container{
        width: 100% !important;
        height: 406px !important;
    }
    .plugin-thales .part-download-container{
        margin: 0;
        padding: 0;
    }
    .plugin-thales .part-download-container .canvas-main-btn {
        width: 100% !important;
        padding: 8px 0;
        text-align: center;
        font-size: 12px;
    }
    .plugin-thales .part-download-container .canvas-main-btn h2{
        font-size: 12px;
    }
    .plugin-thales #leads-modal-new{
        min-height: 300px;
        max-width: 95%;
    }
    .plugin-thales .img-div img{
        height: 100%;
    }
    .plugin-thales #leads-collection-section{
        overflow: hidden;
    }
    .plugin-thales .leads-collection-section-logo{
        margin-top: -15px;
    }
    .plugin-thales #download-3d-modal .clr-light.icon-bg{
        margin-left: 54px;
    }
    .plugin-thales #leads-collection-section > .form-section{
        height: 74vh;
        overflow-y: auto;
    }
}

/*PHONE*/
@media (max-width: 768px) {
    .plugin-thales.part_view_responsive{
        margin: 0 auto !important;
    }
    .plugin-thales .d-flex-c-b {
        flex-direction: column !important;  
    }
    .plugin-thales .box-dimensions {
        max-width: 400px !important;
        width: 95% !important;
        height: auto !important;
    }
    .plugin-thales .part-container{
        height: 350px !important;
    }
    .plugin-thales .part-download-container{
        padding: 10px 0 !important;
    }
    .plugin-thales .part-download-container .canvas-main-btn, .plugin-thales .part-download-container .canvas-main-btn h2{
        font-size: 14px !important;
    }
    .plugin-thales .snap_icon_container{
        position: relative;
        right: unset !important;
        bottom: 5px !important;
    }
    .plugin-thales .img-div{
        display: none;
    }
    .plugin-thales #leads-collection-section{
        width: 100%;
    }
    .plugin-thales #leads-collection-section > .form-section{
        padding: 10px;
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .plugin-thales .d-flex-c-b {
        flex-direction: column !important;  
    }
}

@media (max-height: 500px) {
    .plugin-thales #leads-collection-section > .form-section{
        height: 50vh;
    }
}

@media (max-height: 375px) {
    .plugin-thales #leads-collection-section > .form-section{
        height: 59vh;
    }
}

/* BASE COLOR STYLE */
.base-foreground-FFFFFF .s-btn.orange,
.base-foreground-FFFFFF .s-btn-icon.orange i,
.base-foreground-FFFFFF .submit-btn,
.base-foreground-FFFFFF .modal-status.bigger.newdesign{
    color: #ffffff;
}
.base-background-3CC2D2 .s-btn.orange,
.base-background-3CC2D2 .s-btn-icon.orange i,
.base-background-3CC2D2 .submit-btn{
    background: #3CC2D2 !important;
    border-color: #3CC2D2 !important;
    box-shadow: none !important;
}
.base-background-3CC2D2 .s-btn.outl-blue{
    border-color: #3CC2D2 !important;
    color: #3CC2D2 !important;
}
.base-background-3CC2D2 .s-btn.outl-blue:hover{
    background-color: #3CC2D2 !important;
}
.base-foreground-FFFFFF .s-btn.outl-blue:hover{
    color: #ffffff !important;
}
.base-background-3CC2D2 .modal-details-3d .fa-download{
    color: #3CC2D2 !important;
}
.base-background-3CC2D2 .modal-status.bigger.newdesign{
    background: #3CC2D2 !important;
}

.base-background-36A .s-btn.orange,
.base-background-36A .s-btn-icon.orange i,
.base-background-36A .submit-btn{
    background: #36A !important;
    border-color: #36A !important;
    box-shadow: none !important;
}
.base-background-36A .s-btn.orange:hover,
.base-background-36A .s-btn-icon.orange i:hover,
.base-background-36A .submit-btn:hover{
    background: #F00 !important;
    border-color: #F00 !important;
    box-shadow: none !important;
}
.base-background-36A .s-btn.outl-blue{
    border-color: #36A !important;
    color: #36A !important;
}
.base-background-36A .s-btn.outl-blue:hover{
    background-color: #F00 !important;
    border-color: #F00 !important;
    box-shadow: none !important;
}
.base-background-36A .modal-details-3d .fa-download{
    color: #36A !important;
}
.base-background-36A .modal-status.bigger.newdesign{
    background: #36A !important;
}

.base-background-003D71 .s-btn.orange,
.base-background-003D71 .amphenol_btn,
.base-background-003D71 .s-btn-icon.orange i,
.base-background-003D71 .submit-btn{
    background: #003D71 ;
    border-color: #003D71 ;
    box-shadow: none ;
    color: white;
}
.base-background-003D71 .s-btn.outl-blue{
    border-color: #003D71 !important;
    color: #003D71 !important;
}
.base-background-003D71 .s-btn.outl-blue:hover{
    background-color: #003D71 !important;
}
.base-background-003D71 .amphenol-agree{
    background: #003D71 ;
    border-color: #003D71 ;
    box-shadow: none ;
    color: white;
}
.base-foreground-FFFFFF .s-btn.outl-blue:hover{
    color: #ffffff ;
}
.base-background-003D71 .modal-details-3d .fa-download{
    color: #003D71 !important;
}
.base-background-003D71 .modal-status.bigger.newdesign{
    background: #003D71 !important;
}
/* Samtec button styles */
.base-background-FF761A .samtec-agree {
    background: #f70;
    border-color: #f70;
    box-shadow: none;
    color: white;
}

.base-background-FF761A .s-btn.orange,
.base-background-FF761A .s-btn-icon.orange i,
.base-background-FF761A .submit-btn {
    background: #f70 !important;
    border-color: #f70 !important;
    box-shadow: none !important;
}

.base-background-FF761A .s-btn.outl-blue {
    border-color: #f70 !important;
    color: #f70 !important;
}

.base-background-FF761A .s-btn.outl-blue:hover {
    background-color: #f70 !important;
}

.base-background-FF761A .modal-details-3d .fa-download {
    color: #f70 !important;
}

.base-background-FF761A .modal-status.bigger.newdesign {
    background: #f70 !important;
}

/* Hover states */
.base-background-FF761A .samtec-agree:hover {
    background: #ffffff !important;
    color: #f70 !important;
}

.base-foreground-FFFFFF .s-btn.outl-blue:hover {
    color: #ffffff !important;
}
/* END BASE COLOR STYLE */

/* GEMALTO STYLE */
#leads-collection-section.gemalto-form{
    text-align: center;
}
#leads-collection-section.gemalto-form img{
    vertical-align: middle;
    border-style: none;
}
#leads-collection-section.gemalto-form .leads-collection-section-logo img{
    width: 150px;
}
#leads-collection-section.gemalto-form .leads-collection-section-logo span{
    padding: 0 3px;
    font-size: 26px;
    vertical-align: middle;
    margin-left: 6px;
}
#leads-collection-section.gemalto-form .modal-heading{
    margin: 10px 0;
    font-size: 24px;
    justify-content: center;
}
#leads-collection-section.gemalto-form .form-field{
    margin-bottom: 5px;
}
#leads-collection-section.gemalto-form .form-field label{
    margin: 0;
    text-align: left;
    margin-bottom: 5px;
}
#leads-collection-section.gemalto-form .form-field .text-field{
    margin: 0;
    width: 100%;
}
#leads-collection-section.gemalto-form .sbs-layout{
    width: 100%;
    justify-content: flex-start;
}
#leads-collection-section.gemalto-form .sbs-layout .form-field{
    width: 50%;
}
#leads-collection-section.gemalto-form .submit-div{
    width: 100%;
}
#leads-collection-section.gemalto-form .submit-btn{
    width: 100%;
    font-size: 14px;
    margin-top: 10px;
}
#leads-collection-section.gemalto-form .info-section{
    margin-top: 0;
    width: auto;
}
#leads-collection-section.gemalto-form .info-section .info-heading{
    text-align: left;
}
#leads-collection-section.gemalto-form .pr20{
    padding-right: 20px;
}
/* END GEMALTO STYLE */