.inflation-form-card {
    border: 1px solid #d7e7df;
    border-radius: .5rem;
    overflow: hidden;
}

.inflation-form-card .card-header {
    background: #0f7a4f;
    color: #fff;
}

.inflation-form-card .form-label {
    font-weight: 700;
}

.inflation-form-card .form-text {
    color: #6c757d;
}

.inflation-period-box {
    height: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    background: #fbfcfd;
}

.inflation-index-help {
    padding: .85rem 1rem;
    border-left: 4px solid #0d6efd;
    background: #f4f8ff;
    color: #495057;
    font-size: .92rem;
}

.inflation-series-picker {
    border: 1px solid #dbeafe;
    border-radius: .5rem;
    padding: 1rem;
    background: #f8fbff;
}

.series-picker-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.inflation-series-picker .series-title {
    margin-bottom: .2rem;
}

.inflation-series-picker .series-subtitle {
    color: #6c757d;
    font-size: .94rem;
}

.series-range-wrap {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    background: #fff;
}

.series-range-scale {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    color: #6c757d;
    font-size: .8rem;
}

.series-all-links {
    margin-top: .75rem;
    color: #6c757d;
    font-size: .92rem;
}

.series-all-links summary {
    cursor: pointer;
}

.series-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .65rem;
}

.series-link-list a {
    padding: .35rem .55rem;
    border: 1px solid #bfdbfe;
    border-radius: .35rem;
    background: #fff;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .inflation-period-box {
        padding: .85rem;
    }

    .series-picker-head {
        align-items: stretch;
        flex-direction: column;
    }
}
