/* AEM Labs Limited - Complex Category Specific Base CSS */
/* ===================================================== */

/* --- Nav Selection Start --- */
.category-selection {
    margin: 30px 0 0;
}

.category-selection-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.tabs-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 0;
    border-radius: 12px;
    overflow-x: auto;
    display: flex;
    gap: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    text-decoration: none !important;
    flex: 1;
    justify-content: center;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 28, 28, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    color: var(--accent-color);
    background-color: rgba(167, 28, 28, 0.05);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-color), #d64545);
    color: white;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.8);
    border-bottom-color: var(--accent-color);
}

.tab-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(167, 28, 28, 0.4);
}

.tab-btn i {
    font-size: 13px;
    color: inherit;
}

.tabs-nav::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
    display: none;
}

/* --- Nav Selection End --- */


/* --- Global Responsive Start --- */
@media (max-width: 1440px) {
    .tab-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .category-btn {
        gap: 12px;
    }

    .category-label {
        font-size: 12px;
    }

    .category-icon {
        width: 56px;
        height: 56px;
    }

    .category-icon img {
        width: auto;
    }

    .category-btn.active .category-icon img {
        transform: none;
    }
}

@media (max-width: 992px) {
    .tab-btn {
        padding: 8px 10px;
        font-size: 12px;
        gap: 10px;
    }

    .tab-btn i {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .category-selection-container {
        max-width: min(90%, var(--section-max-width));
    }

    .category-selection {
        margin: 20px 0 0;
    }

    .tabs-nav {
        border-radius: 12px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 11px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .category-selection-container {
        max-width: min(95%, var(--section-max-width));
    }

    .tabs-nav {
        border-radius: 10px;
    }

    .tab-btn {
        padding: 8px;
        font-size: 10px;
        gap: 6px;
    }

    .tab-btn i {
        font-size: 9px;
    }

    .category-btn.active {
        transform: none;
    }

    .category-icon {
        width: 42px;
        height: 42px;
    }

    .category-btn .category-icon img {
        border-radius: 8px;
    }

    .category-label {
        font-size: 8px;
    }
}

/* --- Global Responsive End --- */