.share-price-title {
    color: var(--color-text-primary);
    font-size: 24px;
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    line-height: normal;
    margin: 0;
    font-family: var(--font-primary);
}

.share-price-container .symbol-date {
    display: flex;
    gap: 10px;
    align-items: center;
}

.default-content-wrapper h1 {
    display: none;
}

.stock-page .default-content-wrapper h2 {
    text-align: center;
}

.stock-page h2[id$="price-today-live-updates--key-insights"],
.stock-page h2[id$="index-live-today-price-chart--market-performance"] {
    text-align: left;
    margin-bottom: 24px;
}

.stock-page h2[id$="share-price-chart"],
.stock-page h2[id$="chart"] {
    text-align: left;
}

.stock-page h2[id*="index-live-today-the-index-is-trading-at"],
.stock-page h2[id*="share-price-today-is"] {
    text-align: left;
    font-size: 16px;
    font-family: var(--font-primary);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 15px;
}

.share-price-container .symbol-date .symbol {
    color: var(--color-text-primary);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
}

.share-price-container .symbol-date .date {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    line-height: normal;
}

.stock-share-price .subtitle {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--color-yellow-2);
    background: var(--color-yellow-light);
    margin-top: 12px;
    color: var(--color-yellow-label);
    font-size: 10px;
    font-style: normal;
    font-weight: var(--font-weight-regular);
    line-height: 12px;
    display: inline-block;
}

.stock-share-price .price-dropdown-content {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    border-bottom: 1px solid var(--color-gray-15);
    padding-bottom: 16px;
}

.stock-share-price .price-dropdown-content .ltp-change > span {
    color: var(--color-text-primary);
    font-size: 24px;
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    line-height: 25px;
}

.stock-share-price .price-dropdown-content .ltp-change .change-value,
.stock-share-price .price-dropdown-content .ltp-change .percentage-change {
    font-size: 12px;
    font-style: normal;
    font-weight: var(--font-weight-semibold);
    line-height: 25px;
}

.stock-share-price .price-dropdown-content .ltp-change .green {
    color: var(--color-success);
}

.stock-share-price .price-dropdown-content .ltp-change .red {
    color: var(--color-error);
}

.stock-share-price .price-details-wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    margin-top: 16px;
}

.stock-share-price .info-title-value {
    flex: 0 0 50%;
    max-width: 50%;
}

.stock-share-price .share-price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stock-share-price .share-price-info .title {
    color: var(--color-text-secondary);
    font-size: 12px;
    font-style: normal;
    font-weight: var(--font-weight-regular);
    line-height: 16px;
}

.share-price-info .value {
    color: var(--color-text-primary);
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 20px;
}

.stock-share-price .form-title > div > * {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    margin: 0;
    font-family: var(--font-primary);
}

.stock-share-price.title-form-var {
    background-color: var(--brand-blue-dark);
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    border-radius: 8px;
}

.stock-share-price.title-form-var .form-title > div > * {
    color: var(--color-white);
    text-align: center;
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    line-height: normal;
    opacity: 0.9;
    margin: 0;
}

.stock-share-price-container.demat-form-container .title-form-var .demat-form {
    display: flex;
    justify-content: center;
}

.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form-wrapper {
    padding: 0;
    display: block;
    position: unset;
}

.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form
    form {
    margin: 0;
    padding: 12px;
    border-radius: 4px;
    background: var(--color-white);
    box-shadow: 0 8px 13px 0 rgba(50 77 103 / 15%);
    width: 525px;
}

.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form
    .field-wrapper.number-wrapper,
.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form
    .field-wrapper.submit-wrapper {
    width: unset;
}

.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form
    .field-wrapper
    input[type="number"] {
    border-radius: 4px 0 0 4px;
    background: var(--color-light-gray-1);
}

.stock-share-price-container.demat-form-container
    .title-form-var
    .demat-form
    .field-wrapper
    button.button {
    border-radius: 0 4px 4px 0;
    background: var(--color-primary);
    box-shadow: 4px 4px 5px 0 rgba(0 0 0 / 25%);
    color: var(--color-light-gray-0);
    text-align: center;
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    line-height: 12px;
    height: 40px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 172px;
}

.indices-container .ltp-change {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stock-share-price-container.demat-form-container .title-form-var .demat-form form .form-fields-wrapper {
    flex-direction: row;
    gap: 0;
    width: 100%;
}

.stock-page .stock-share-price-container.demat-form-container .demat-form .error-message {
    position: unset;
}

@media (width>=1024px) {
    .share-price-container {
        border-radius: 8px 8px 0 0;
        border: 1px solid rgb(0 0 0 / 5%);
        padding: 15px 20px;
        box-shadow: var(--primary-boxshadow);
        background: var(--color-white);
    }
}

@media (width<=1024px) {
    main .section.stock-share-price-container {
        margin-bottom: 0;
        margin-top: 24px;
    }

    .share-price-title {
        text-shadow: 0 4px 22px rgb(251 177 47 / 16%);
        font-size: 20px;
        font-family: var(--font-primary);
    }

    .share-price-container .symbol-date .symbol {
        font-size: 14px;
    }

    .share-price-details {
        display: none;
    }

    .stock-share-price .ltp-change {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-wrap: wrap;
    }

    .stock-share-price .ltp-change > div {
        display: flex;
        flex-wrap: wrap;
    }

    .stock-share-price .price-dropdown-content {
        align-items: center;
        margin-top: 16px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .stock-share-price .price-dropdown-content .ltp-change > span {
        text-shadow: 0 4px 22px rgb(251 177 47 / 16%);
        font-size: 18px;
        line-height: normal;
    }

    .stock-share-price-container.demat-form-container .demat-form-wrapper {
        display: none;
    }

    .stock-share-price-container .form-title {
        display: none;
    }

    .stock-share-price-container.demat-form-container
        .indices-container
        + .demat-form-wrapper {
        display: block;
    }

    .indices-container .price-dropdown-content {
        margin-top: 0;
    }

    .indices-container .ltp-change {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .stock-share-price-container .title-form-var .form-title {
        display: block;
    }
}

/* open-demat-form */
@media (width >= 1024px) {
    .stock-share-price-container.demat-form-container .demat-form-wrapper {
        border-radius: 0 0 8px 8px;
        background: var(--brand-blue-dark);
        padding: 24px;
        position: relative;
    }

    .stock-share-price-container.demat-form-container
        .demat-form-wrapper:has(.error-active) {
        padding-bottom: 40px;
    }

    .stock-share-price-container.demat-form-container .demat-form {
        max-width: 100%;
    }

    .stock-share-price-container.demat-form-container
        .demat-form
        .error-message {
        position: absolute;
        bottom: 16px;
    }

    .stock-share-price-container.demat-form-container .demat-form form {
        flex-direction: column;
        background: none;
        padding: 0;
        margin-top: 10px;
        box-shadow: unset;
    }

    .stock-share-price-container.demat-form-container
        .demat-form
        .field-wrapper {
        width: 100%;
    }

    .stock-share-price-container.demat-form-container
        .demat-form
        .field-wrapper
        button.button {
        width: 100%;
        border-radius: 4px;
    }

    .stock-share-price-container.demat-form-container
        .demat-form
        .field-wrapper
        input[type="number"] {
        border-radius: 4px;
    }

    /* dropdown */
    .stock-share-price .textbox-dropdown-container {
        border-radius: 8px;
    }

    .stock-share-price .dropdown-menu.show {
        margin-top: 4px;
    }


    .stock-share-price .form-fields-wrapper{
        flex-direction: column;
        gap: 10px;
    }
}

@media (width<=768px) {
    .stock-share-price.title-form-var {
        padding: 16px;
        gap: 20px;
    }

    .stock-share-price.title-form-var .form-title > div > * {
        font-size: 14px;
    }

    .stock-share-price-container.demat-form-container .title-form-var .demat-form form .form-fields-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .stock-share-price-container.demat-form-container
        .title-form-var
        .demat-form
        .field-wrapper.number-wrapper,
    .stock-share-price-container.demat-form-container
        .title-form-var
        .demat-form
        .field-wrapper.submit-wrapper {
        width: 100%;
    }

    .stock-share-price-container.demat-form-container
        .title-form-var
        .demat-form
        .field-wrapper
        button.button {
        width: 100%;
        min-width: 100%;
        border-radius: 4px;
        margin-top: 10px;
    }

    .stock-share-price-container.demat-form-container
        .title-form-var
        .demat-form
        .field-wrapper
        input[type="number"] {
        border-radius: 4px;
    }

    .stock-share-price-container.demat-form-container .title-form-var .demat-form form{
        flex-direction: column;
    }

    .stock-page h2[id$="share-price-chart"] {
        margin-top: 12px;
    }
}


.height{
    height: 175px;
}