/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #001538; 
}
::-webkit-scrollbar-thumb {
    background: #0055ff; 
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4ade80; 
}

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

/* Collapsed State Styles */
@media (min-width: 1024px) {
    #sidebar.collapsed .nav-text,
    #sidebar.collapsed .nav-arrow, 
    #sidebar.collapsed .sidebar-footer-text,
    #sidebar.collapsed .special-promo-text {
        display: none;
    }
    #sidebar.collapsed .menu-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    #sidebar.collapsed .nav-item-content {
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }
    #sidebar.collapsed .logo-text {
        display: none;
    }
    #sidebar.collapsed .promo-btn {
        padding: 0.5rem;
        justify-content: center;
    }
    #sidebar.collapsed .promo-btn span {
        display: none;
    }
}

/* ==================== SEO Text Block ==================== */
.seo-text-block {
    background: linear-gradient(to right, #001a33, #000f26);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #004080;
    margin-top: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .seo-text-block {
        padding: 1rem;
    }
}

.seo-text-block h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    font-style: italic;
    text-transform: uppercase;
}

.seo-text-block p {
    margin-bottom: 1.5rem;
    line-height: 1.625;
    color: #a0c4ff;
}

.seo-text-block strong {
    font-weight: 700;
}

.seo-text-block > div:first-of-type {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .seo-text-block > div:first-of-type {
        grid-template-columns: 1fr 1fr;
    }
}

.seo-text-block h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-transform: uppercase;
    font-style: italic;
}

.seo-text-block h3 i:first-child {
    color: #00ccff;
}

.seo-text-block h3 i.fa-star {
    color: #facc15;
}

.seo-text-block ol,
.seo-text-block ul {
    padding-left: 1.25rem;
    color: #a0c4ff;
}

.seo-text-block ol {
    list-style-type: decimal;
}

.seo-text-block ol li,
.seo-text-block ul li {
    margin-bottom: 0.5rem;
}

.seo-text-block ol li::marker {
    color: #00ccff;
    font-weight: 900;
    font-size: 1rem;
}

.seo-text-block ul {
    list-style-type: disc;
}

.seo-text-block ul li::marker {
    color: #facc15;
}

.seo-text-block ol li span {
    color: #ffffff;
    font-weight: 700;
}

.seo-text-block > div:last-child {
    overflow-x: auto;
    border-radius: 0.5rem;
    border: 1px solid #004080;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.seo-text-block table {
    width: 100%;
    min-width: 0;
    text-align: left;
    border-collapse: collapse;
    table-layout: fixed;
}

@media (max-width: 767px) {
    .seo-text-block th,
    .seo-text-block td {
        padding: 0.5rem 0.375rem;
        font-size: 0.75rem;
        word-break: break-word;
    }
    .seo-text-block th:first-child {
        width: 38%;
    }
}

.seo-text-block thead tr {
    background: #003366;
    color: #ffffff;
}

.seo-text-block th {
    padding: 1rem;
    font-weight: 900;
    border-bottom: 1px solid #004080;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-style: italic;
    color: #00ccff;
}

.seo-text-block th:first-child {
    width: 33.333333%;
}

.seo-text-block tbody {
    background: #001a33;
    color: #a0c4ff;
    font-size: 0.875rem;
}

.seo-text-block tbody tr {
    border-bottom: 1px solid #004080;
    transition: background-color 0.2s;
}

.seo-text-block tbody tr:hover {
    background: #00224d;
}

.seo-text-block td {
    padding: 1rem;
}

.seo-text-block td:first-child {
    font-weight: 700;
    color: #ffffff;
    border-right: 1px solid #004080;
}
