.tttech-docs-wrapper {
    padding: 2rem;
    /* background: #f8f4f0; */
    min-height: 800px;
}
.tttech-docs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    width: 200px;
}

/* Label Styles */
.filter-group label {
    font-weight: 600;
    font-size: 14px;
}

/* Custom Dropdown Styles */
.custom-dropdown {
    position: relative;
    user-select: none;
    width: 100%;
    height: 55px;
    border-radius: 0px;
    border: 0px;
}

.dropdown-selected {
    position: relative;
    padding: 0 15px;
    height: 55px;
    width: 100%;
    background-color: #F4EFE9;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-selected:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background-image: url('./dropdown-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 12px;
    height: 8px;
    transition: all ease 0.3s;
}

.custom-dropdown.open .dropdown-selected:after {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #F4EFE9;
    border: 0;
    max-height: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.custom-dropdown.open .dropdown-options {
    max-height: 240px;
    opacity: 1;
    visibility: visible;
}

.dropdown-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-option:hover {
    background-color: #e9e4de;
}

.dropdown-option.selected {
    background-color: #e4dfd9;
}

/* Loading Spinner */
.tttech-docs-spinner {
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 20px auto;
}

.tttech-docs-spinner.active {
    display: block;
}

.tttech-docs-spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    border: 3px solid #F4EFE9;
    border-top-color: #FF996C;
    animation: spinner .8s linear infinite;
}

@keyframes spinner {
    to {transform: rotate(360deg);}
}

.tttech-docs-tab-nav {
    display: flex;
    gap: 1px;
    margin-bottom: 1rem;
}

.tttech-docs-tab-title {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #000;
    transition: background 0.3s;
}

.tttech-docs-tab-title:hover {
    background: #e4e4e4;
}

.tttech-docs-tab-title.active {
    border-bottom: 2px solid #000;
}

.tttech-docs-tab-content {
    display: none;
}

.tttech-docs-tab-content.active {
    display: block;
    padding: 1rem 0;
}

.tttech-docs-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tttech-docs-item {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.tttech-docs-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.tttech-docs-item span {
    display: block;
    margin-top: 0.3rem;
    color: #999;
    font-size: 0.85rem;
}


/* .tttech-docs-filters > .filter-group:nth-child(3) {
    display: none;
}

.tttech-docs-tab-nav .tttech-docs-tab-title:nth-child(2),
.tttech-docs-tab-nav .tttech-docs-tab-title:nth-child(3) {
    display: none;
} */