
.protocol-content {
    margin-top: 0;
}

.vpn-section {
    margin-bottom: 1rem;
}

.protocol-desc {
    border: 0.0625rem solid rgba(255, 255, 255, 0.06);
    background: #16181C;
    border-radius: 1.5rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
}

.protocol-desc__text {
    font-size: 0.8125rem;
    color: #8A8D93;
    line-height: 1.45;
    white-space: pre-line;
}

.vpn-section__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #DCDDE0;
    margin-bottom: 0.75rem;
    padding-left: 0.25rem;
}

.vpn-section__icon {
    width: 1.125rem;
    height: 1.125rem;
    opacity: 0.7;
}

.clients-slider-container {
    background: #16181C;
    border-radius: 1.25rem;
    padding: 0.5rem 1rem 0.875rem 1rem;
}

.clients-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
}

.clients-slider-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #B1B4B9;
}

.clients-slider-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #DCDDE0;
    min-width: 3.125rem;
    text-align: right;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
}

.clients-slider-value.updating {
    transform: scale(1.15);
    color: #3A81EC;
}

.clients-slider-wrapper {
    position: relative;
    height: 2rem;
    display: flex;
    align-items: center;
}

.clients-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2rem;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.clients-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
}

.clients-slider-fill {
    height: 100%;
    background: linear-gradient(90deg, #1E5BB8 0%, #3A81EC 50%, #5A9BF0 100%);
    border-radius: 0.25rem;
    box-shadow: 0 0 0.5rem rgba(58, 129, 236, 0.4);
}

.clients-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #fff 0%, #e8e8e8 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.25), 0 0 0 0.125rem rgba(58, 129, 236, 0.2);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .clients-slider::-webkit-slider-thumb:hover {
        transform: scale(1.12);
        box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.3), 0 0 0 0.1875rem rgba(58, 129, 236, 0.3);
    }
}

.clients-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.2), 0 0 0 0.25rem rgba(58, 129, 236, 0.4);
}

.clients-slider::-moz-range-thumb {
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #fff 0%, #e8e8e8 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.25), 0 0 0 0.125rem rgba(58, 129, 236, 0.2);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .clients-slider::-moz-range-thumb:hover {
        transform: scale(1.12);
        box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.3), 0 0 0 0.1875rem rgba(58, 129, 236, 0.3);
    }
}

.clients-slider::-moz-range-track {
    background: transparent;
    border: none;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
    padding-bottom: 0.25rem;
}

@media (min-width: 400px) {
    .location-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 500px) {
    .location-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: #16181C;
    border: 0.125rem solid transparent;
    border-radius: 0.875rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .location-item:hover {
        border-color: rgba(255, 255, 255, 0.1);
        background: #1D2025;
    }
}

.location-item:active {
    background: #1D2025;
}

.location-item--selected {
    border-color: #3A81EC;
    background: linear-gradient(135deg, rgba(58, 129, 236, 0.15), transparent);
}

.location-flag {
    font-size: 1.5rem;
    line-height: 1;
}

.location-info {
    flex: 1;
    min-width: 0;
}

.location-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #DCDDE0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-city {
    font-size: 0.6875rem;
    color: #B1B4B9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addons-accordion {
    background: #16181C;
    border-radius: 1rem;
    overflow: hidden;
}

.addons-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .addons-accordion__header:hover {
        background: rgba(255, 255, 255, 0.03);
    }
}

.addons-accordion__header:active {
    background: rgba(255, 255, 255, 0.05);
}

.addons-accordion__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #B1B4B9;
}

.addons-accordion__info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.addons-accordion__count {
    background: rgba(58, 129, 236, 0.15);
    color: #3A81EC;
    font-size: 0.6875rem;
    font-weight: 600;
    min-width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.5625rem;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 0.3125rem;
}

.addons-accordion__arrow {
    color: #666;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: rotate(180deg);
}

.addons-accordion__arrow--closed {
    transform: rotate(0deg);
}

.addons-accordion__content {
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
}

.addons-accordion__content--closed {
    height: 0;
}

.addons-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.addon-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.03);
}

.addon-item:first-child {
    border-top: none;
}

.addon-item:last-child {
    padding-bottom: 0.75rem;
}

@media (hover: hover) and (pointer: fine) {
    .addon-item:hover {
        background: rgba(255, 255, 255, 0.04);
    }
}

.addon-item:active {
    background: rgba(255, 255, 255, 0.06);
}

.addon-item--selected {
    background: rgba(75, 181, 67, 0.08);
}

.addon-toggle {
    position: relative;
    width: 2.5rem;
    height: 1.375rem;
    flex-shrink: 0;
}

.addon-toggle input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0;
}

.addon-toggle-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.5rem;
    height: 1.375rem;
    background: #2A2D32;
    border-radius: 0.6875rem;
    transition: background 0.2s ease;
}

.addon-toggle-thumb {
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    background: #666;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.addon-toggle input:checked ~ .addon-toggle-track {
    background: #4BB543;
}

.addon-toggle input:checked ~ .addon-toggle-thumb {
    left: 1.25rem;
    background: white;
}

.addon-info {
    flex: 1;
    min-width: 0;
}

.addon-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #DCDDE0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.addon-info-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.addon-info-btn svg {
    margin-top: 0;
}

@media (hover: hover) and (pointer: fine) {
    .addon-info-btn:hover {
        color: #3A81EC;
    }
}

.addon-info-btn:active {
    transform: scale(0.95);
}

.addon-info-btn {
    position: relative;
    z-index: 1;
}

.addon-tooltip {
    position: fixed;
    background: #1D2025;
    color: #DCDDE0;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.6875rem;
    line-height: 1.4;
    white-space: normal;
    max-width: min(17.5rem, calc(100vw - 1.25rem));
    box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.5);
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
}

.addon-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 0.3125rem solid transparent;
    border-top-color: #1D2025;
}

.addon-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.addon-desc {
    font-size: 0.6875rem;
    color: #666;
    line-height: 1.3;
    margin-top: 0.0625rem;
}

.addon-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4BB543;
    white-space: nowrap;
}

.addon-radio-group__title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 0.875rem 0.25rem;
}

.addon-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0;
    margin-bottom: 0.3125rem;
    border-radius: 0.9375rem;
}

.addon-radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    cursor: pointer;
    transition: background 0.15s ease;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.03);
    border-radius: 0.9375rem;
    margin-bottom: 0.3125rem;
}

.addon-radio-item:first-child {
    border-top: none;
}

@media (hover: hover) and (pointer: fine) {
    .addon-radio-item:hover {
        background: rgba(255, 255, 255, 0.04);
    }
}

.addon-radio-item--selected {
    background: rgba(58, 129, 236, 0.08);
}

.addon-radio-mark {
    flex-shrink: 0;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addon-radio-mark__outer {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 0.125rem solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.addon-radio-item--selected .addon-radio-mark__outer {
    border-color: #3A81EC;
}

.addon-radio-mark__inner {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
    transform: scale(0);
}

.addon-radio-mark__inner--active {
    background: #3A81EC;
    transform: scale(1);
}

.purchase-bar {
    background: transparent;
    padding: 0;
}

.purchase-bar__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.purchase-bar__price {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.purchase-bar__amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #DCDDE0;
    line-height: 1;
}

.purchase-bar__currency {
    font-size: 1rem;
    font-weight: 500;
    color: #B1B4B9;
}

.purchase-bar__details {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: #666;
}

.purchase-bar__dot {
    color: #444;
}

.purchase-bar__badge {
    background: rgba(75, 181, 67, 0.15);
    color: #4BB543;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.5rem;
    margin-left: 0.25rem;
}

.purchase-bar__button {
    width: 100%;
    background: transparent;
    color: #3A81EC;
    border: 0.09375rem solid #3A81EC;
    border-radius: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .purchase-bar__button:hover {
        background: rgba(58, 129, 236, 0.1);
    }
}

.purchase-bar__button:active {
    background: rgba(58, 129, 236, 0.15);
}

.purchase-bar__button:active {
    transform: scale(0.98);
}

.purchase-bar__button:active {
    transform: translateY(0);
}

.protocol-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3.75rem 1.25rem;
    color: #B1B4B9;
    font-size: 0.875rem;
}

.vpn-section--hideable {
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}

.vpn-section--hidden {
    opacity: 0;
    height: 0;
    margin-bottom: 0 !important;
    pointer-events: none;
    transform: scale(0.98);
    position: absolute;
    visibility: hidden;
}

.vpn-section--visible {
    opacity: 1;
    transform: scale(1);
    position: relative;
    visibility: visible;
}

@media (max-width: 360px) {
    .clients-slider-container {
        padding: 1rem;
    }

    .clients-slider-value {
        font-size: 1.75rem;
    }

    .location-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .addon-item {
        padding: 0.75rem 0.875rem;
    }

    .purchase-bar {
        padding: 0.875rem 1rem;
    }

    .purchase-bar__amount {
        font-size: 1.5rem;
    }

    .purchase-bar__button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }
}
