/* ===================== ACCORDEON ===================== */
.accordion {
    width: 100%;
    padding: 0 5%;
    margin: 4rem 0;
}

.accordion h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 600;
}

.net-device {
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    margin-bottom: 2rem;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
    overflow: hidden;
}

.net-device > summary {
    padding: 1.4rem 1.8rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.net-device > summary::-webkit-details-marker {
    display: none;
}

.net-device > summary::after {
    content: "▼";
    position: absolute;
    right: 1.5rem;
    transition: transform 0.3s ease;
}

.net-device[open] > summary::after {
    transform: rotate(180deg);
}

.net-action {
    margin: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 14px;
    background-color: #fafafa;
}

.net-action > summary {
    padding: 1rem 1.4rem;
    cursor: pointer;
    font-weight: 500;
    list-style: none;
    position: relative;
}

.net-action > summary::-webkit-details-marker {
    display: none;
}

.net-action > summary::after {
    content: "▼";
    position: absolute;
    right: 1rem;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.net-action[open] > summary::after {
    transform: rotate(180deg);
}

.net-desc {
    margin: 0.8rem 1.4rem 0.2rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.cmd-box {
    position: relative;
    margin: 1rem 1.4rem 1.4rem;
}

.cmd {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    color: #e6e6e6;
    padding: 2.6rem 1.2rem 1.2rem;
    border-radius: 14px;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre;
}

.copy-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    background-color: #2f2f2f;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 7px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.copy-btn:hover {
    background-color: #3b3b3b;
}

.copy-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {

    .accordion {
        padding: 0 1rem;
    }

    .accordion h1 {
        font-size: 1.6rem;
    }

    .net-device > summary {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .net-action {
        margin: 1rem;
    }

    .cmd {
        font-size: 0.85rem;
    }
}