/* src/krane/web/static/css/documentation.css */
.section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

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

.page--title {
    text-align: center;
}

.documentation--list {
    list-style-position: inside;
}

/* Code styles */
code {
    background-color: #e2e2e2;
    padding: 0.05rem 0.2rem;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
}

.command {
    margin-bottom: 16px;
    position: relative;
    padding: 1rem 0.1rem;
    margin: 1rem 0;
    border-radius: 5px;
    background-color: #f6f8fa;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
        rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.command:hover {
    opacity: 0.8;
    cursor: pointer;
}

.copy-button {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
}

.copy-button:hover {
    color: #000;
}

.clipboard--wrapper {
    animation: fade-out 0.2s both;
    display: block;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
}

.clipboard--button {
    background-color: #fafbfc;
    border-color: rgb(27 31 35 / 15%);
    box-shadow: 0 1px 0 rgba(27, 31, 35, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #24292e;
    transition: 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    transition-property: color, background-color, border-color;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 5px 16px;
    position: relative;
    -webkit-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    margin: 8px;
}

.clipboard--button:focus {
    border-color: rgb(27 31 35 / 15%);
    box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
    outline: none;
}

.clipboard--button:active {
    background-color: #ebecf0;
    border-color: rgb(35 80 125 / 10%);
    transition: none;
}

.clipboard--button:hover {
    background-color: #f3f4f6;
    border-color: rgb(27 31 35 / 15%);
    transition-duration: 0.1s;
    text-decoration: none;
}

.octicon {
    fill: currentColor;
    display: inline-block;
    overflow: visible !important;
    vertical-align: text-bottom;
    margin: 0 !important;
    color: #6a737d;
}

.octicon.octicon--check {
    color: #22863a !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive styles */
@media only screen and (min-width: 481px) {

    /* .container {
        padding: 1rem;
    } */
    .command {
        padding: 1rem;
        margin: 1rem;
    }
}

@media only screen and (min-width: 981px) {
    /* .container {
        padding: 1rem;
        width: 60%;
        margin: 0 auto;
    } */
}