/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #17171a; 
}
::-webkit-scrollbar-thumb {
    background: #2d2d33; 
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #42ff00; 
}

/* Sidebar Animations */
.sidebar-transition {
    transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Neospin Sidebar Grid Item Hover */
.ns-grid-item:hover i, .ns-grid-item:hover span {
    color: #42ff00;
}

/* SEO Content Styling */
.seo-content {
    background-color: #17171a;
    padding: 2.5rem;
    border-radius: 1rem;
    color: #9ca3af;
    line-height: 1.8;
    font-size: 0.95rem;
    border: 1px solid #2d2d33;
}
.seo-content h1 {
    font-size: 2rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.seo-content h2 {
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #42ff00;
    display: inline-block;
    padding-bottom: 4px;
}

/* Styled Unordered List */
.seo-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.seo-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: #9ca3af;
}
.seo-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #42ff00;
    font-weight: 900;
    font-size: 1.1em;
}
.seo-content ul li strong {
    color: #ffffff;
}

/* Styled Ordered List */
.seo-content ol {
    list-style: none;
    counter-reset: seo-counter;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.seo-content ol li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    color: #9ca3af;
}
.seo-content ol li::before {
    counter-increment: seo-counter;
    content: counter(seo-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: rgba(66, 255, 0, 0.1);
    border: 1px solid #42ff00;
    border-radius: 50%;
    color: #42ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 0 10px rgba(66, 255, 0, 0.1);
}
.seo-content ol li strong {
    color: #ffffff;
}

.seo-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    background: #202024;
    border-radius: 8px;
    overflow: hidden;
}
.seo-content th {
    background: #0d0d10;
    color: #42ff00;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #2d2d33;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.seo-content td {
    padding: 15px;
    border-bottom: 1px solid #2d2d33;
    color: white;
}
.seo-content tr:last-child td {
    border-bottom: none;
}

/* Table wrapper: horizontal scroll on small screens */
.seo-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    max-width: 100%;
}
.seo-table-wrap table {
    margin-top: 0;
    margin-bottom: 0;
    min-width: 320px;
}

/* Mobile Specific */
@media (max-width: 1024px) {
    #sidebar {
        width: 280px;
    }
    .seo-content {
        padding: 1.5rem;
    }
    .seo-table-wrap th,
    .seo-table-wrap td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }
}
