.eblc {
    --eblc-dark: #1f2937;
    --eblc-text: #6b7280;
    --eblc-text-light: #9ca3af;
    --eblc-border: #e5e7eb;
    --eblc-bg: #ffffff;
    --eblc-bg-alt: #f9fafb;
    --eblc-bg-page: #f3f4f6;
    --eblc-accent: #e8740c;
    --eblc-red: #dc2626;
    --eblc-radius: 6px;

    font-family: inherit;
    color: var(--eblc-dark);
    line-height: 1.5;
    font-size: 15px;
    max-width: 780px;
    margin: 2rem auto;
    background: var(--eblc-bg);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
}

.eblc *, .eblc *::before, .eblc *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Banner ── */
.eblc-banner {
    background: var(--eblc-dark);
    color: #fff;
    padding: 1.1rem 2rem !important;
}

.eblc-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
    color: #fff !important;
}

/* ── Body ── */
.eblc-body {
    padding: 0.5rem 2rem 2rem !important;
}

.eblc-section-label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    color: var(--eblc-text-light) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    padding: 0.7rem 0 0.4rem !important;
    border: none !important;
    border-bottom: 1px solid var(--eblc-border) !important;
    background: none !important;
}

/* ── Rows ── */
.eblc-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.6rem 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--eblc-bg-page) !important;
    min-height: 44px;
    gap: 1.5rem;
}

.eblc-label {
    font-size: 0.9rem !important;
    color: var(--eblc-text) !important;
    flex-shrink: 0;
    font-weight: 400 !important;
}

.eblc-val {
    text-align: right;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--eblc-dark) !important;
    white-space: nowrap;
}

/* ── Visible Input Boxes ── */
.eblc-input-box {
    display: flex !important;
    align-items: center !important;
    background: var(--eblc-bg-alt) !important;
    border: 1.5px solid var(--eblc-border) !important;
    border-radius: var(--eblc-radius) !important;
    padding: 0 0.75rem !important;
    height: 40px !important;
    min-width: 180px !important;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.eblc-input-box:focus-within {
    border-color: var(--eblc-accent) !important;
    background: var(--eblc-bg) !important;
    box-shadow: 0 0 0 3px rgba(232, 116, 12, 0.1) !important;
}

.eblc-input-box input,
.eblc-input-box select {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--eblc-dark) !important;
    width: 100% !important;
    text-align: right !important;
    padding: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
    appearance: none !important;
}

.eblc-input-box select {
    cursor: pointer;
    direction: rtl;
}

.eblc-input-box input::placeholder {
    color: #d1d5db !important;
    font-weight: 400 !important;
}

.eblc-input-suffix { gap: 2px !important; }

.eblc-suffix {
    font-weight: 600 !important;
    color: var(--eblc-text-light) !important;
    font-size: 0.9rem !important;
    flex-shrink: 0;
}

.eblc-computed .eblc-val {
    min-width: 180px;
    text-align: right;
    padding-right: 0.75rem !important;
}

/* ── Installment ── */
.eblc-installment-row { border-bottom: none !important; }

.eblc-installment {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--eblc-red) !important;
    min-width: 180px;
    text-align: right;
    padding-right: 0.75rem !important;
}

/* ── Status Bar ── */
.eblc-status {
    text-align: center !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 0.15rem 0 !important;
    border-radius: 5px !important;
    border: none !important;
    background: var(--eblc-bg-page) !important;
    color: #d1d5db !important;
    transition: all 0.2s ease;
}

.eblc-status.eblc-eligible {
    background: var(--eblc-accent) !important;
    color: #fff !important;
}

.eblc-status.eblc-not-eligible {
    background: var(--eblc-red) !important;
    color: #fff !important;
}

/* ── Withdraw ── */
.eblc-withdraw-row {
    border-top: 2px solid var(--eblc-dark) !important;
    border-bottom: 2px solid var(--eblc-dark) !important;
    padding: 0.55rem 0 !important;
    margin: 0.4rem 0 !important;
}

.eblc-withdraw {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--eblc-dark) !important;
    min-width: 180px;
    text-align: right;
    padding-right: 0.75rem !important;
}

/* ── NB Note ── */
.eblc-nb {
    margin-top: 1.25rem !important;
    padding: 0.85rem 1rem !important;
    background: #fef9f3 !important;
    border: none !important;
    border-left: 3px solid var(--eblc-accent) !important;
    border-radius: 0 5px 5px 0 !important;
    font-size: 0.82rem !important;
    color: var(--eblc-text) !important;
    line-height: 1.55 !important;
}

.eblc-nb strong {
    color: var(--eblc-dark) !important;
}

/* ── Hide spinners ── */
.eblc input[type="number"]::-webkit-inner-spin-button,
.eblc input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .eblc { margin: 1rem !important; }
    .eblc-body, .eblc-banner { padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
    .eblc-input-box { min-width: 140px !important; }
}
