/* Tool link styles in accordion */
.accordion-content a.block {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(243, 244, 246, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-content a.block:hover {
    background-color: rgb(249, 250, 251);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tool-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.category-tab.active {
    border-bottom: 3px solid #22c55e;
    color: #22c55e;
}
/* Search styling */
.search-container {
    position: relative;
    z-index: 100;
}

.search-box {
    transition: all 0.2s ease;
}

.search-box:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

#toolsPageResults {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
}

#toolsPageResults:not(:empty) {
    display: block;
}

#toolsPageResults .bg-white {
    border: none;
    transform-origin: top;
    animation: dropdown 0.2s ease;
    box-shadow: none;
}

#toolsPageResults a:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

#toolsPageResults a:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

@keyframes dropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.category-accordion {
    transition: all 0.3s ease;
}
.category-accordion.active .accordion-content {
    display: block;
}
.category-accordion.active .accordion-icon {
    transform: rotate(180deg);
}

