#selected-option-display {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    margin-top: 1rem;
}

.postage-selector {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 1.5rem;
    background-color: #f9f9f9;
    width: 100%;
    box-sizing: border-box;
}

.postage-selector__label {
    margin-bottom: 0.75rem;
    display: block;
    font-weight: 700;
    font-size: 1.15rem;
}

.postage-selector__slider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 340px;
    max-width: 100%;
    padding: 0.5rem 0;
}

.postage-selector__track {
    position: relative;
    width: 220px;
    height: 56px;
    background: #e3e3e3;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px;
    padding: 0 12px;
    box-sizing: border-box;
}

.postage-selector__track-label {
    font-size: 1.05rem;
    font-weight: 500;
}

.postage-selector__track-label--48 {
    margin-right: 12px;
}

.postage-selector__track-label--24 {
    margin-left: 12px;
}

.postage-selector__thumb {
    position: absolute;
    top: 4px;
    left: 8px;
    width: 96px;
    height: 48px;
    background: #1976d2;
    border-radius: 24px;
    transition: left 0.2s;
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
}

.postage-selector__track[data-speed="tracked24"] .postage-selector__thumb {
    left: 116px;
}

.postage-selector__selected {
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.postage-selector__selected-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.postage-selector__warning {
    font-size: 0.95rem;
    color: #888;
    margin-top: 0.75rem;
}

.postage-selector__unavailable {
    margin-top: 0.75rem;
    color: #666;
}

@media (max-width: 220px) {
    .postage-selector {
        padding: 0.75rem 0.5rem;
        margin-top: 1rem;
        font-size: 0.95rem;
    }

    .postage-selector__label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .postage-selector__slider {
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.25rem 0;
    }

    .postage-selector__track {
        width: 100%;
        max-width: 140px;
        height: 40px;
        margin: 0 auto;
        padding: 0 8px;
        border-radius: 20px;
    }

    .postage-selector__track-label {
        display: none;
    }

    .postage-selector__thumb {
        top: 3px;
        left: 4px;
        width: calc(50% - 6px);
        height: 34px;
        border-radius: 17px;
        font-size: 0.75rem;
    }

    .postage-selector__track[data-speed="tracked24"] .postage-selector__thumb {
        left: calc(50% + 2px);
    }

    .postage-selector__selected,
    .postage-selector__warning,
    .postage-selector__unavailable {
        font-size: 0.85rem;
    }

    #selected-option-display {
        padding: 0.75rem 0.5rem;
    }
}
