.ipc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ipc-wrap {
    color: #2f3640;
    max-width: 100%;
}

.ipc-row-top {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 11fr);
    gap: 12px;
    align-items: stretch;
    margin-bottom: 12px;
}

.ipc-card {
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    justify-content: space-between;
    border-radius: 24px;
    border-width: 1px;
    padding: 20px;
    min-height: 174px;
}
.ipc-card table tr,
.ipc-card table td {
    border: none;
}

/* ------------------------------------------------------------------ */
/* Quote card                                                          */
/* ------------------------------------------------------------------ */
.ipc-quote {
    display: flex;
    flex-direction: column;
}

.ipc-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    flex-shrink: 0;
}
.ipc-arrow.ipc-up {
    border-bottom: 6px solid #0f9a42;
}
.ipc-arrow.ipc-down {
    border-top: 6px solid #ef4444;
}

.ipc-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ipc-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f7630c;
    border: 1px solid #ffbd8b;
    flex-shrink: 0;
}
.ipc-brand-dot.ipc-market-open {
    background: #3FBF3F;
    border-color: #a6e0a6;
}
.ipc-brand-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.1px;
    color: #101010;
}

.ipc-quote-value {
    margin: 12px 0 4px 0;
    font-weight: 600;
    font-size: 34px;
    line-height: 41px;
    letter-spacing: -0.7px;
    vertical-align: middle;
    color: #101010;
}

.ipc-change-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    min-height: 22px;
}
.ipc-change-points {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.1px;
    text-align: center;
    vertical-align: middle;
    color: #107C10;
}
.ipc-change-row:has(.ipc-down) .ipc-change-points {
    color: #ef4444;
}

.ipc-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.ipc-chip-up {
    background: #E3F5E3;
    color: #107C10;
}
.ipc-chip-down {
    background: #fee2e2;
    color: #ef4444;
}

.ipc-as-on {
    margin-top: auto;
    font-size: 11px;
    color: #6b7280;
}
.ipc-as-on-text {
    color: #868A8D;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0px;
}

/* ------------------------------------------------------------------ */
/* Overview card                                                       */
/* ------------------------------------------------------------------ */
.ipc-overview {
    display: flex;
    flex-direction: column;
}

.ipc-overview-title {
    color: #5B6369;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
}

.ipc-dayrange {
    margin-bottom: 8px;
}
.ipc-dayrange-values {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}
.ipc-dayrange-low,
.ipc-dayrange-high {
    color: #101010;
    font-weight: 500;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 0px;
}

.ipc-rangebar-track {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: #e0e0e0;
}
.ipc-rangebar-marker {
    position: absolute;
    top: 50%;
    width: 6px;
    height: 14px;
    border-radius: 3px;
    background: #dfa106;
    border: 2px solid #fff;
    transform: translate(-50%, -50%);
}

.ipc-rangebar-hl {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
.ipc-rangebar-low {
    color: #DA3B01;
}
.ipc-rangebar-high {
    color: #00AC40;
}

.ipc-overview-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 12px;
}

.ipc-return {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ipc-return-label {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #5B6369;
}
.ipc-return-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.ipc-return-arrow.ipc-up {
    border-bottom-color: #0f9a42;
}
.ipc-return-arrow.ipc-down {
    border-top-color: #ef4444;
}
.ipc-return-amount {
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.1px;
    text-align: center;
    vertical-align: middle;
    color: #107C10;
}
.ipc-return-row:has(.ipc-down) .ipc-return-amount {
    color: #ef4444;
}
.ipc-return-dropdown {
    position: relative;
    display: inline-flex;
}
button.ipc-return-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #0086dd;
    color: #0086dd;
    background: #fff;
    border-radius: 999px;
    padding: 4px 13px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0.3px;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
button.ipc-return-chip:hover,
button.ipc-return-chip:focus,
button.ipc-return-chip:active {
    background: #fff;
    color: #0086dd;
    border-color: #0086dd;
    text-decoration: none;
}
button.ipc-return-chip:hover {
    background: #f2f9ff;
}
.ipc-return-chip::after {
    content: "";
    width: 8px;
    height: 5px;
    background-image: url(https://media.bajajamc.com/wp-content/uploads/2026/10/down-icon.svg);
    background-size: cover;
}
.ipc-return-dropdown.open .ipc-return-chip::after {
    transform: rotate(180deg);
}
.ipc-return-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    min-width: 92px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    display: none;
}
.ipc-return-dropdown.open .ipc-return-menu {
    display: block;
}
.ipc-return-option {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #5B6369;
    cursor: pointer;
    white-space: nowrap;
}
.ipc-return-option:hover {
    background: #F0F0F0;
}
.ipc-return-option.active {
    color: #0086dd;
    background: rgba(0, 134, 221, 0.1);
}

.ipc-ostat-2col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 2px;
}
.ipc-ostat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.ipc-ostat-label {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0px;
    color: #B3B3B3;
}
.ipc-ostat-value {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0px;
    color: #5B6369;
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Chart card                                                          */
/* ------------------------------------------------------------------ */
.ipc-chart-card {
    padding: 20px;
}

.ipc-chart-area {
    height: 232px;
    position: relative;
    touch-action: pan-y;
}

.ipc-chart-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a9fa8;
    font-size: 13px;
    text-align: center;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
}

.ipc-chart-area canvas,
.ipc-chart-area table,
.ipc-chart-area td,
.ipc-chart-area tr,
.ipc-chart-area div {
    touch-action: pan-y !important;
}

.ipc-tooltip {
    position: absolute;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e5ea;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: #2f3640;
    line-height: 1.45;
    transform: translate(-50%, -110%);
    z-index: 3;
    min-width: 140px;
    display: none;
}
.ipc-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.ipc-tooltip-swatch {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    flex-shrink: 0;
    background: #0f9a42;
}

.ipc-range-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

button.ipc-range-btn {
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    letter-spacing: -0.3px;
    text-align: center;
    vertical-align: middle;
    appearance: none;
    background: #F0F0F0;
    border: 1px solid #F0F0F0;
    border-radius: 18px;
    color: #616161;
    padding: 5px 12px;
    cursor: pointer;
    min-width: 50px;
    min-height: 32px;
    box-shadow: none;
    transition: background 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
button.ipc-range-btn:hover, button.ipc-range-btn:focus{
    background: #e5e5e5;
    border-color: #cfcfd1;
    color: #616161;
}
button.ipc-range-btn.active {
    background: #ffffff;
    border-color: #EAAA08;
    color: #9C7000;
    box-shadow: 0 3px 10px rgba(232, 176, 7, 0.22);
}

.ipc-disclaimer {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0px;
    color: #B3B3B3;
    margin-top: 16px;
}

.ipc-disclaimer .read-more-toggle{
    font-size: 12px;
    line-height: 15px;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .ipc-row-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ipc-overview-bottom {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .ipc-chart-area {
        height: 220px;
    }
    .ipc-quote-value {
        font-size: 20px;
    }
    .ipc-overview-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .ipc-ostat-2col {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .ipc-card {
        padding: 14px;
        margin: 0 20px;
    }
    .ipc-card.ipc-chart-card {
        margin: 0;
        padding: 0;
        padding-left: 20px;
        border: 0;
    }
    .ipc-disclaimer{
        padding-right: 20px;
    }
    .ipc-range-group {
        flex-wrap: unset;
        overflow-x: scroll;
    }
    .ipc-chart-area {
        height: 200px;
    }
}