/*
 * Copyright (C) 2026  Encelade SRL
 * Copyright (C) 2026  elephantchess.io
 * Copyright (C) 2026  Benoît Vleminckx (benckx)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */

#annotation-symbols-table th:nth-child(1) {
    width: 100px;
}

#annotation-symbols-table th:nth-child(2) {
    width: 140px;
}

#annotation-symbols-table th:nth-child(3) {
    width: 40px;
}

#annotation-symbols-table td {
    text-align: center;
}

#annotation-symbols-table th, td {
    padding: 2px 10px;
}

.move-import {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px;
    padding-left: 14px;
    padding-right: 14px;
    margin: 13px 0;
    overflow-x: auto;
}

.move-import pre {
    margin: 0;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
}

#page-toc {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 10px;
}

#page-toc ul {
    margin: 0;
    padding-left: 20px;
}

#page-toc li {
    margin: 2px 0;
    font-size: 15px;
    line-height: 1.5;
}

#page-toc a {
    font-size: inherit;
}

.anchor-copy-link {
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
}

.anchor-copy-link img {
    width: 18px;
    opacity: 70%;
    vertical-align: middle;
    position: relative;
    top: -4px;
}

.anchor-copy-link:hover img {
    opacity: 100%;
}

@media (max-width: 1000px) {
    #page-toc li {
        font-size: 30px;
    }

    #annotation-symbols-table th:nth-child(1) {
        width: 170px;
    }

    #annotation-symbols-table th:nth-child(2) {
        width: 230px;
    }

    #annotation-symbols-table th:nth-child(3) {
        width: 80px;
    }

    .anchor-copy-link img {
        width: 36px;
    }

}
