body {
    margin: 0;
    padding: 0;
}

h2 {
    font-weight: 600 !important;
    font-size: 1.8em !important;
    line-height: 1.6em !important;
}

#redoc .menu-content {
    width: 320px;
    border-right: 1px solid #E6E6E6;
}

#redoc .menu-content label.active {
    border-left: 4px solid rgb(42, 98, 244);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

#redoc .menu-content [role=search] {
    padding: 12px 0;
}

#redoc .menu-content div > svg {
    display: none !important;
}

#redoc .menu-content [rel=noopener] {
    background: red;
}

#redoc .menu-content .search-input {
    width: 320px;
    padding: 10px 0px 15px 20px;
    margin: 0;
}

#redoc .menu-content .scrollbar-container > div:nth-child(2) {
    width: 310px;
}

#redoc .react-tabs__tab-panel {
    border-radius: 10px;
}

#redoc .api-content > div {
    padding: 15px;
}

#redoc .api-content .attention,
#redoc .api-content pre {
    border-radius: 12px !important;
}
#redoc .api-content pre {
    max-height: 300px;
}
#redoc .api-content button {
    border-radius: 12px !important;
}

#redoc .api-content .custom-table {
    display: inline-table;
}

#redoc .api-content .custom-table tbody tr:nth-child(1),
#redoc .api-content .custom-table tr:nth-child(1) {
    background: #4C75DC;
    color: #ffffff;
    height: 30px;
}

#redoc .api-content .custom-table tr td,
#redoc .api-content .custom-table tr th {
    padding: 0.5em;
}

#redoc .api-content .custom-table tr td.bold {
    font-weight: bold;
}

#redoc .api-content h2 span {
    color: #ffffff;
}

#redoc .api-content {
    .attention {
        position: relative;
        background-color: rgb(254, 237, 165);
        padding: 20px 20px 20px calc(65px);
        margin: 10px 0px;
    }
    .attention::before {
        content: "";
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 25px;
        height: 25px;
        margin-right: 20px;
        flex-shrink: 0;
        background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20x%3D%220%22%20y%3D%220%22%20viewBox%3D%220%200%20500.6%20500.6%22%20xml%3Aspace%3D%22preserve%22%20enable-background%3D%22new%200%200%20500.6%20500.6%22%3E%3Cpath%20fill%3D%22%23d4ad03%22%20d%3D%22M250.3%2015.1c-132.5%200-239.8%20107.2-239.8%20239.8%200%20132.5%20107.2%20239.8%20239.8%20239.8%20132.5%200%20239.8-107.2%20239.8-239.8C490.1%20122.3%20382.8%2015.1%20250.3%2015.1zM250.3%20457.1C138.5%20457.1%2048%20366.7%2048%20254.8%2048%20143%20138.5%2052.5%20250.3%2052.5c111.8%200%20202.3%2090.5%20202.3%20202.3C452.6%20366.7%20362.1%20457.1%20250.3%20457.1z%22%2F%3E%3Cpath%20fill%3D%22%23d4ad03%22%20d%3D%22M250.3%20135.8c-10.3%200-18.7%208.4-18.7%2018.7v120.6c0%2010.3%208.4%2018.7%2018.7%2018.7s18.7-8.4%2018.7-18.7V154.5C269%20144.2%20260.7%20135.8%20250.3%20135.8z%22%2F%3E%3Ccircle%20fill%3D%22%23d4ad03%22%20cx%3D%22250.3%22%20cy%3D%22342.1%22%20r%3D%2225.3%22%2F%3E%3C%2Fsvg%3E");
    }
}

.tabs {
    margin-top: 30px;
}

.tabs .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs input[type="radio"] {
    display: none;
}

.tabs .tab-label {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 5px 2px #e4e4e4;
}

.tabs input[type="radio"]:checked + .tab-label {
    background-color: #4c75dc;
    color: #fff;
}

.tabs .tab-content {
    display: none;
}

.tabs .buttons:has(#php:checked) ~ .content #content-php,
.tabs .buttons:has(#nodejs:checked) ~ .content #content-nodejs,
.tabs .buttons:has(#go:checked) ~ .content #content-go,
.tabs .buttons:has(#python:checked) ~ .content #content-python {
    display: block;
}

.tabs .tab-content pre {
    margin-bottom: 0;
}

.tabs .tab-content a {
    padding-left: 20px;
}
