.helper__copy-section {
    position: relative;
    z-index: 1;
    min-height: 170px;
    margin: 16px -20px 0;
    padding: 0 16px 12px;
    background: #FCFCFC;
}

.helper__copy-section_unauthorized {
    min-height: auto;
}

.helper__copy-section-unauthorized-message {
    background: white;
    color: #909090;
    font-size: 14px;
}

.helper__copy-section-unauthorized-message a {
    color: #909090;
    text-decoration: underline;
}

.helper__copy-options {
    display: flex;
    margin: 0 -16px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.helper__copy-options .helper__copy-option-button {
    flex-grow: 1;
    display: block;
    border: none; 
    background: transparent; 
    padding: 4px;
    padding-top: 6px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent; 
    color: #858585;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease;
}

.helper__copy-options .helper__copy-option-button.isActive {
    border-color: #3d3d3d;
    background: #fff;
    color: #333;
    font-weight: 600; 
}

.helper-copy__item {
    margin-bottom: 4px;
}

.helper-copy__title {
    display: block;
    margin: 8px 0 6px;
    color: #858585;
    font-size: 13px;
    line-height: 22px;
}

.helper-copy__title a {
    color: #222;
}

.helper-copy__code-wrapper {
    position: relative;
    width: 100%;
}

.helper-copy__pre {
    width: 100%;
    margin: 0;
    padding: 10px;
    padding: 6px;
    padding-right: 20px;
    border: 1px solid #E2E7EB;
    border-radius: 4px;
    background-color: #F6F8FA;
    color: #333;
    font-size: 11px;
    line-height: 14px;
}

.helper-copy__pre_no-spacer {
    position: relative;
    z-index: -1;
    margin-top: -11px;
    padding-top: 12px;
}

.helper-copy__button {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    display: flex;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: .15s ease;
}

.helper-copy__button:hover {
    background: rgba(0, 0, 0, .05);
}

.helper-copy__button:active {
    background: rgba(0, 0, 0, .08);
}

.helper-copy__pre_no-spacer + .helper-copy__button {
    margin-top: 6px;
}

.helper-copy__tooltip {
    position: fixed;
    top: 24px;
    left: 50%;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 8px;
    background: #464646;
    color: white;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    transform: translate(-50%, -100%);
}

.helper-copy__button.is-copied .helper-copy__tooltip {
    opacity: 1;
    transform: translate(-50%, 0%);
}

.helper-copy__pre .tag {
    color: #00009F;
}

.helper-copy__pre .prop {
    color: #00A4DB;
}

.helper-copy__pre .value {
    color: #E52878;
}

.helper-copy__pre .component {
    color: #008888;
}

.helper-copy__pre .keyword {
    color: #00009F;
}

@media screen and (max-width: 768px) {
    .helper {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }

    .helper__close {
        position: sticky;
        z-index: 1;
        float: right;
        top: 0;
        right: 0;
    }
}
