 /* ================= Plugin CSS (pi- prefix, koi clash nahi) ================= */
    .pi-wrap {
        position: relative;
        display: flex;
        align-items: stretch;
        border: 1px solid #d5dbe3;
        border-radius: 8px;
        background: #fff;
        transition: border-color .15s, box-shadow .15s;
    }

    .pi-wrap:focus-within {
        border-color: var(--formcolor);
        /* box-shadow: 0 0 0 3px #e6f0f7; */
    }

    .pi-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px;
        border: 0;
        border-right: 1px solid #d5dbe3;
        border-radius: 8px 0 0 8px;
        background: transparent;
        color: #1b2430;
        font: 500 15px / 1.1 var(--fontnew);
        cursor: pointer;
    }

    .pi-btn:hover,
    .pi-btn.active { background: #e6f0f7; }

    .pi-btn:focus-visible { outline: 2px solid var(--formcolor); outline-offset: -2px; }

    .pi-flag {
        width: 22px;
        height: 16px;
        object-fit: cover;
        border-radius: 2px;
        flex-shrink: 0;
    }

    .pi-code { font-variant-numeric: tabular-nums; }

    .pi-arrow {
        width: 7px;
        height: 7px;
        border-right: 2px solid #6b7686;
        border-bottom: 2px solid #6b7686;
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s;
    }

    .pi-btn.active .pi-arrow { transform: rotate(225deg); }

    /* Plugin ka input: isi class se style hota hai, aapki class bhi chalti rahegi */
    .pi-input {
        flex: 1;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 12px 14px;
        border: 0;
        border-radius: 0 8px 8px 0;
        background: transparent;
        box-shadow: none;
        color: #1b2430;
        font: 500 15px / 1.1 var(--fontnew);
        outline: none;
    }

    .pi-input::placeholder { color: #9aa4b2; }

    .pi-dropdown {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        border: 1px solid #d5dbe3;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(27, 36, 48, .12);
        overflow: hidden;
    }

    .pi-dropdown.show { display: block; }

    .pi-search {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        height: 50px;
        border-bottom: 1px solid #d5dbe3;
        
    }
    .pi-search input{
        margin-bottom: 0px;
    }

    .pi-search svg { flex-shrink: 0; color: #6b7686; }

    .pi-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: none;
        background: transparent;
        font: inherit;
    }

    .pi-list { max-height: 260px; overflow-y: auto; }

    .pi-item {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 9px 12px;
        border: 0;
        background: transparent;
        color: #1b2430;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .pi-item:hover,
    .pi-item:focus-visible { background: #e6f0f7; outline: none; }
    .pi-item.selected { background: #e6f0f7; font-weight: normal; }

    .pi-item-name { flex: 1; }
    .pi-item-code { color: #6b7686; font-variant-numeric: tabular-nums; }

    .pi-none { padding: 22px 12px; text-align: center; color: #6b7686; }

    .pi-error,
    .pi-success { display: none; margin-top: 8px; font-size: 14px; }

    .pi-error { color: #c0392b; }
    .pi-success { color: #1a7f4b; }
    .pi-error.show,
    .pi-success.show { display: none !important; }
 
 
 
 /* ================= Plugin CSS (cs- prefix, koi clash nahi) ================= */
    .cs-wrap { position: relative; }

    .cs-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d5dbe3;
        border-radius: 8px;
        background: #fff;
        color: #1b2430;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

   .cs-btn:focus-visible, .cs-wrap.open .cs-btn {
    outline: none;
    border-color: var(--formcolor);
    /* box-shadow: 0 0 0 3px #e6f0f7; */
}

    .cs-label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cs-label.cs-placeholder { color: #9aa4b2; }

    .cs-arrow {
        width: 8px;
        height: 8px;
        border-right: 2px solid #6b7686;
        border-bottom: 2px solid #6b7686;
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s;
    }

    .cs-wrap.open .cs-arrow { transform: rotate(225deg); }

    .cs-flag {
        width: 22px;
        height: 16px;
        object-fit: cover;
        border-radius: 2px;
        flex-shrink: 0;
    }

    .cs-menu {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        border: 1px solid #d5dbe3;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(27, 36, 48, .12);
        overflow: hidden;
    }

    .cs-wrap.open .cs-menu { display: block; }

    .cs-search {
        box-sizing: border-box;
        width: 100%;
        padding: 11px 14px;
        border: 0;
        border-bottom: 1px solid #d5dbe3;
        font: inherit;
        outline: none;
    }

    .cs-list {
        position: relative;
        max-height: 260px;
        margin: 0;
        padding: 0;
        overflow-y: auto;
        list-style: none;
    }

    .cs-option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 14px;
        cursor: pointer;
    }

    .cs-option:hover { background: #e6f0f7; }
    .cs-option.selected { background: #e6f0f7; font-weight: 600; }

    .cs-empty {
        padding: 18px 14px;
        text-align: center;
        color: #6b7686;
    }