/* Inline product single block widget entry layout */
.pickaboo-emi-widget {
    margin: 20px 0;
    font-size: 14px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pickaboo-emi-widget a {
    color: #0066cc;
    text-decoration: none;
    margin-left: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.pickaboo-emi-widget a .dashicons {
    font-size: 16px;
    margin-left: 4px;
}

/* Base Full Screen Overlay Container with Center Alignment */
.emi-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999999;
    display: flex; 
    align-items: center;     
    justify-content: center; 
}

/* PICKABOO EXACT PIXEL-PERFECT LAYOUT FRAMEWORK */
.emi-modal-content {
    background: #f4f6f8;     /* Pickaboo light grey background across body */
    width: 770px;            
    max-width: 95%;
    height: 440px;           /* Standard clean height for vertical alignment */
    border-radius: 2px;      /* Sharp 2px corner radius as requested */
    display: flex;
    flex-direction: column; 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden; 
    position: relative;     
}

/* Header Canvas Panel Alignment (Pure White) */
.emi-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #eef1f5;
    background: #ffffff;    /* Header stays crisp pure white */
    flex-shrink: 0;        
}
.emi-modal-header h2 {
    margin: 0;
    font-size: 17px;
    color: #111111;
    font-weight: 600;
}

/* Right-aligned Close Button inside Header */
.emi-modal-close {
    font-size: 26px;
    cursor: pointer;
    color: #888888;
    line-height: 1;
    user-select: none;
    font-weight: 400;
    transition: color 0.1s;
}
.emi-modal-close:hover { color: #111111; }

/* Structural Content Window Frame Split */
.emi-modal-body { 
    display: flex; 
    flex: 1;                
    overflow: hidden;      
}

/* Sidebar Bank Column (Slightly greyed out to blend with background) */
.emi-modal-sidebar { 
    width: 250px;          
    min-width: 250px;
    border-right: 1px solid #e6ebf0; 
    overflow-y: auto;      
    background: #ffffff!important;   /* Blends naturally with body background */
}

/* Right Content Area Track Panel */
.emi-modal-details { 
    flex: 1;
    padding: 22px 26px; 
    overflow-y: auto;      
    background: #f4f6f8;   /* Stays light grey so white cards pop up */
}

/* Bank Selection Row Styles */
.bank-item { 
    display: flex; 
    align-items: center; 
    padding: 14px 20px; 
    cursor: pointer; 
    position: relative;
    border-bottom: 1px solid #ebedf0;
    transition: background 0.1s;
    background: transparent;
}
.bank-item:hover { background: #eef1f4; }
.bank-item img { 
    height: 20px; 
    width: 20px; 
    margin-right: 12px; 
    object-fit: contain; 
}
.bank-item span { 
    font-size: 13.5px; 
    color: #4a5568; 
}
.bank-item .element-arrow {
    position: absolute;
    right: 16px;
    font-size: 14px;
    color: #ff5722;
    display: none; 
}

/* PICKABOO PREMIUM ACTIVE STATE: PURE WHITE BG */
.active-bank::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3.5px;
    background: none!important; /* Pure orange bar indicator */
}

.active-bank { 
    background: #ffffff !important; /* Becomes pure white only when active */
}
.active-bank span { 
    color: #000000; 
    font-weight: 600; 
}
.active-bank .element-arrow {
    display: block; /* Arrow shows up inside active sidebar bank */
}

/* DYNAMIC HOVER & SELECTED TEXT FOR TITLE */
.selected-bank-title {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: #222222;
    font-weight: 600;
}

/* PICKABOO FLOATING WHITE CARD SYSTEM WITH LIGHT SHADOW */
.emi-plans-accordion { display: flex; flex-direction: column; gap: 10px; }
.plan-row { 
    background: #ffffff;       /* Pure White Floating Cards */
    border: 1px solid #e6ebf0; 
    border-radius: 2px;        
    overflow: hidden; 
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Soft premium shadow card feel */
}
.plan-header { 
    padding: 14px 18px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    font-size: 13.5px; 
    color: #333333; 
    transition: background 0.1s;
}
.plan-header:hover { background: #fdfdfd; }
.plan-header .plan-title { font-weight: 400; color: #333333; }
.plan-header .plan-meta { font-weight: 600; color: #111111; display: flex; align-items: center; gap: 6px; }
.plan-header .dashicons { font-size: 15px; color: #a0aec0; transition: transform 0.15s; }

.plan-header.header-open .dashicons { transform: rotate(180deg); }

/* Breakdown Interior Area Panel Configs - FIXED ALIGNMENT */
.plan-breakdown { 
    padding: 16px 20px; 
    background: #ffffff; 
    border-top: 1px dashed #eef1f5; 
    font-size: 13.5px; 
}
.breakdown-line { 
    margin-bottom: 12px; 
    display: flex !important; 
    justify-content: space-between !important; /* Pushes labels left and values right */
    align-items: center;
}
.breakdown-line .lbl { color: #718096; text-align: left !important; }
.breakdown-line .val { color: #1a202c; font-weight: 500; text-align: right !important; }

.breakdown-line.total-line { 
    margin-top: 4px;
    margin-bottom: 0; 
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}
.total-line .lbl { color: #2d3748; font-weight: 600; }
.total-line .val { color: #2d3748; font-weight: 700; }

/* Custom Sleek Scrollbar Tracks */
.emi-modal-sidebar::-webkit-scrollbar,
.emi-modal-details::-webkit-scrollbar {
    width: 5px;
}
.emi-modal-sidebar::-webkit-scrollbar-thumb,
.emi-modal-details::-webkit-scrollbar-thumb {
    background-color: #dcdfe4;
    border-radius: 10px;
}

 #open_emi_modal {
    padding-left: 6px;
}

.bank-item{
    border-left:4px solid transparent;
}

.emi-text {
}

.emi-text .fa-circle-check {
    color: #00ba00;
    padding-right: 4px;
}

.available{
    padding-right: 5px;
}

.emi-text#open_emi_modal {
    color:black!important;
}

.fa-angle-right{
    padding-left: 5px;
}

@media screen and (max-width: 680px) {
.pickaboo-emi-widget{
    justify-content: space-between!important;
}
}

/* ==========================================================================
   MOBILE LAYOUT RESPONSIVE ADAPTATIONS (UPDATED: HEIGHT 72VH)
   ========================================================================== */
@media screen and (max-width: 680px) {
    .emi-modal-overlay {
        align-items: flex-end; 
    }

    .emi-modal-content { 
        width: 100%; 
        max-width: 100%; 
        height: 72vh;       /* Ã Â¦â€ Ã Â¦ÂªÃ Â¦Â¨Ã Â¦Â¾Ã Â¦Â° Ã Â¦Â°Ã Â¦Â¿Ã Â¦â€¢Ã Â§â€¹Ã Â§Å¸Ã Â§â€¡Ã Â¦Â¸Ã Â§ÂÃ Â¦Å¸ Ã Â¦â€¦Ã Â¦Â¨Ã Â§ÂÃ Â¦Â¯Ã Â¦Â¾Ã Â§Å¸Ã Â§â‚¬ Ã Â¦Â¹Ã Â¦Â¾Ã Â¦â€¡Ã Â¦Å¸ Ã Â¦Â¹Ã Â¦Â¾Ã Â¦Â²Ã Â¦â€¢Ã Â¦Â¾ Ã Â¦Â¬Ã Â¦Â¾Ã Â§Å“Ã Â¦Â¿Ã Â§Å¸Ã Â§â€¡ Ã Â§Â­Ã Â§Â¨% Ã Â¦â€¢Ã Â¦Â°Ã Â¦Â¾ Ã Â¦Â¹Ã Â¦Â²Ã Â§â€¹ */
        max-height: 72vh; 
        border-radius: 14px 14px 0 0; 
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    }
    
    .emi-modal-body { 
        flex-direction: row !important; 
        overflow: hidden; 
    }
    
    .emi-modal-sidebar { 
        width: 138px !important; 
        min-width: 138px !important; 
        border-right: 1px solid #ebedf0;
        border-bottom: none;
        display: block; 
        overflow-y: auto; 
    }
    
    .bank-item { 
        padding: 14px 10px; 
        border-bottom: 1px solid #ebedf0; 
    }
    .bank-item img { 
        margin-right: 8px; 
        height: 18px; 
        width: 18px; 
        flex-shrink: 0;
    }
    .bank-item span { 
        font-size: 12.5px; 
        line-height: 1.3;
        white-space: normal;
    }
    .bank-item .element-arrow { 
        display: none !important; 
    }
    
    .active-bank { 
        background: #ffffff !important; 
    }
    
    .emi-modal-details { 
        flex: 1; 
        padding: 14px 12px; 
        overflow-y: auto; 
    }
    
    .selected-bank-title { 
        font-size: 14px; 
        margin-bottom: 12px; 
    }
    
    .plan-header { 
        padding: 12px; 
        font-size: 13px; 
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .plan-header .plan-meta { 
        width: 100%;
        justify-content: space-between; 
        font-size: 13.5px; 
    }
    
    .plan-breakdown { 
        padding: 14px; 
        font-size: 12.5px; 
    }
    .breakdown-line { 
        margin-bottom: 10px; 
    }
}

.wd-sticky-btn.wd-sticky-btn-shown .pickaboo-emi-widget{
 display:none!important;
}