/* frm-sitemap-seo/assets/sitemap.css */
.frm-sitemap-wrapper {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    color: #333;
}

.frm-sitemap-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.frm-sitemap-tabs::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}

.frm-sitemap-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.frm-sitemap-tab-btn:hover {
    background: #f5f5f5;
    color: #111;
}

.frm-sitemap-tab-btn.active {
    background: #0073aa;
    color: #fff;
}

.frm-sitemap-panel {
    display: none;
    animation: frmFadeIn 0.3s ease;
}

.frm-sitemap-panel.active {
    display: block;
}

.frm-sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.frm-sitemap-list.level-0 > li {
    margin-bottom: 10px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}

.frm-sitemap-list.level-1,
.frm-sitemap-list.level-2 {
    margin-left: 20px;
    border-left: 2px solid #eaeaea;
    padding-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.frm-sitemap-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.frm-sitemap-accordion-btn:hover {
    background: #fafafa;
}

.frm-sitemap-accordion-btn[aria-expanded="true"] {
    background: #f9f9f9;
    border-bottom: 1px solid #eaeaea;
}

.frm-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.frm-sitemap-accordion-btn[aria-expanded="true"] .frm-chevron {
    transform: rotate(180deg);
}

.frm-sitemap-accordion-content {
    padding: 20px;
    background: #fff;
}

.frm-sitemap-accordion-content[hidden] {
    display: none;
}

.frm-sitemap-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.frm-sitemap-image-wrap {
    flex: 0 0 180px;
    flex-shrink: 0;
}

.frm-sitemap-image-wrap img {
    width: auto;
    max-width: 100%;
    max-height: 150px;
    height: auto;
    border-radius: 6px;
    display: block;
}

.frm-sitemap-info {
    flex: 1;
}

.frm-sitemap-info p {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.frm-sitemap-btn {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
    border: none;
}

.frm-sitemap-btn:hover {
    background: #005177;
    color: #fff;
}

@keyframes frmFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .frm-sitemap-card {
        flex-direction: column;
    }
    .frm-sitemap-image-wrap {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}
