/* ========================================================================== 
   Asset filter tabs - Deal History page
   Premium full-width filter section with segmented controls.
   ========================================================================== */

.asset-tabs-section {
    width: 100%;
  
    padding: 52px 0;
    border-top: 1px solid rgba(16, 24, 40, 0.07);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: linear-gradient(180deg, #fbfbfb 0%, #f5f5f5 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.asset-tabs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding: 8px;
    border: 1px solid rgba(16, 101, 107, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.asset-tab {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #4f5f64;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
    padding: 14px 30px;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .25s ease,
                background-color .25s ease,
                box-shadow .25s ease,
                transform .22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.asset-tab:hover:not(.is-active) {
    color: var(--lightgreen, #10656b);
    background: rgba(16, 101, 107, 0.08);
    transform: translateY(-2px);
}

.asset-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 101, 107, 0.18),
                0 0 0 6px rgba(165, 75, 35, 0.16);
}

.asset-tab.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--lightgreen, #10656b), #0b4f54);
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(16, 101, 107, 0.26),
                0 4px 10px rgba(16, 24, 40, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.property-card {
    transition: opacity .35s ease;
}

.property-card.is-fading {
    opacity: 0;
}

.property-card.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .asset-tabs-section {
        padding: 40px 0;
    }

    .asset-tabs {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .asset-tabs::-webkit-scrollbar {
        display: none;
    }

    .asset-tab {
        flex: 1 0 auto;
        padding: 12px 22px;
        text-align: center;
        font-size: 14px;
    }
}
