/**
 * POLSKI | POLISH:
 * Wszelkie prawa zastrzeżone © 2025 ShiroeBot.xyz.
 *
 * Niniejszy kod jest własnością ShiroeBot.xyz i stanowi chroniony materiał autorski.
 * Kopiowanie, rozpowszechnianie, modyfikowanie, dekompilacja lub wykorzystywanie jakiejkolwiek części
 * tego kodu w jakiejkolwiek formie, zarówno komercyjnej, jak i niekomercyjnej, bez uprzedniej pisemnej
 * zgody autora jest surowo zabronione.
 *
 * Wszelkie naruszenie powyższych warunków może skutkować odpowiedzialnością cywilną i karną.
 *
 * Jeśli masz pytania dotyczące warunków licencji, skontaktuj się z autorem na serwerze wsparcia.
*/

/**
 * ANGIELSKI | ENGLISH:
 * All rights reserved © 2025 ShiroeBot.xyz.
 *
 * This code is the property of ShiroeBot.xyz and constitutes a protected copyrighted material.
 * Copying, distribution, modification, decompilation, or usage of any part
 * of this code in any form, whether commercial or non-commercial, without prior written
 * consent from the author is strictly prohibited.
 *
 * Any violation of the above terms may result in civil and criminal liability.
 *
 * If you have any questions regarding the licensing terms, please contact the author on the support server.
*/

.commands-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 80px auto 40px auto;
    width: 90%;
    max-width: 1200px;
    justify-content: space-between;
}

.prefix-box,
.usage-box {
    background-color: #232323;
    border: 2px solid #000000;
    border-radius: 8px;
    flex: 1 1 300px;
    min-width: 280px;
    margin-bottom: 20px;
    padding: 20px;
    color: #f1f1f1;
}

.prefix-box h2,
.usage-box h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
}

.prefix-content p,
.usage-content p {
    margin-bottom: 8px;
    color: #b9bbbe;
    font-size: 0.95rem;
    line-height: 1.4;
}

.commands-container {
    width: 90%;
    margin: 80px auto 40px auto;
}

.commands-box {
    display: flex;
    background-color: #232323;
    border: 2px solid #000000;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-commands {
    width: 250px;
    background-color: transparent;
    border-right: 1px solid #333;
    padding: 20px;
    color: #fff;
}

.sidebar-commands h2 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
}

.sidebar-commands ul {
    list-style: none;
    padding: 0;
}

.sidebar-commands ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 5px;
    color: #b9bbbe;
    transition: background-color 0.3s ease;
}

.sidebar-commands ul li.active,
.sidebar-commands ul li:hover {
    background-color: #333;
    color: #fff;
}

.category-label {
    font-weight: 500;
}

.category-count {
    font-weight: 400;
    color: #bbb;
}

main {
    flex: 1;
    padding: 20px;
    background-color: transparent;
}

.commands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.commands-header h1 {
    font-size: 1.4rem;
    color: #fff;
}

.commands-actions button {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    margin-left: 5px;
}

.commands-actions button:hover {
    background-color: #444;
}

.commands-search {
    margin-bottom: 20px;
}

.commands-search input {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #2c2c2c;
    color: #fff;
}

#commands-list {
    list-style: none;
    padding: 0;
}

.command-item {
    background-color: #2c2c2c;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.command-item:hover {
    background-color: #333;
}

.command-header {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.command-name {
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

.command-shortdesc {
    font-size: 0.85rem;
    color: #b9bbbe;
    margin-top: 4px;
}

.command-details {
    margin-top: 10px;
    background-color: #1f1f1f;
    border-radius: 4px;
    padding: 10px;
    font-size: 0.9rem;
    color: #b9bbbe;
}

.detail-row {
    margin-bottom: 8px;
}

.detail-row strong {
    color: #fff;
}

@media (max-width: 768px) {
    .commands-box {
        flex-direction: column;
    }

    .sidebar-commands {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    main {
        width: 100%;
    }
}