﻿
.tabs {
    margin: 20px 0;
    font-family: Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

    .tabs input[type="radio"] {
        display: none;
    }

    .tabs label {
        box-sizing: border-box;
        margin-bottom: -30px;
        height: 30px;
        line-height: 30px;
        display: inline-block;
        padding: 0px 10px;
        margin-right: 0px;
        border: 1px solid #ddd;
        border-top: 1px solid #ddd;
        border-bottom: 0px;
        border-right: 0px;
        background-color: #F1F1F1;
        color: #888888;
        cursor: pointer;
        transition: background-color 0.3s;
        order: -1;
        font-size: 12px !important;
        z-index: 1;
    }

        .tabs label:last-of-type {
            border-right: 1px solid #ddd;
        }

        .tabs label:first-of-type {
            border-radius: 6px 0px 0px 0px;
        }

    .tabs input[type="radio"]:checked + label {
        background-color: #fff;
        color: #000000;
    }

    .tabs .tab-content {
        border: 1px solid #ddd;
        padding: 0;
        display: none;
        width: 100%;
        box-sizing: border-box;
        order: 0;
        border-radius: 6px 6px 6px 6px;
    }

    .tabs input[type="radio"]:checked + label + .tab-content {
        display: block;
    }

    .tabs pre {
        padding: 0px;
        margin-bottom: 0px !important;
        border-radius: 0px 0px 6px 6px !important;
        background-color: #FFFFFF !important;
    }

.tab-header {
    box-sizing: border-box;
    height: 30px;
    display: flex;
    justify-content: flex-end;
    padding: 0px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    border-radius: 6px 6px 0px 0px;
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 16px;
    border-radius: 0px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    color: #666;
    text-decoration: none !important;
}

    .copy-button:hover {
        background-color: rgba(0, 0, 0, 0.05);
        text-decoration: none !important;
    }

.tab-content-body {
    padding: 0;
}

    .tab-content-body pre {
        margin: 0 !important;
    }

        .tab-content-body pre code {
            padding: 15px;
            display: block;
        }

.tab-footer {
    padding: 0px;
    padding-top: 1px;
    width: 100%;
}

.tab-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: lighter;
    padding: 8px 0px;
    font-family: Arial, sans-serif;
    color: #4376AA !important;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1;
}

    .tab-link:hover {
        text-decoration: underline;
        color: #0087ff !important;
    }

.tab-link-icon {
    margin-right: 4px;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    top: -1px;
}
