.nav-tabs {
    display: flex;
    margin-bottom: 24px;
    background: var(--cream);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid var(--border-light);
}

.nav-tab {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-tab i {
    font-size: 16px;
}

.nav-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.nav-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
}

.tab-content {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.tab-content[style*="block"] {
    opacity: 1;
    transform: translateY(0);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.item-card {
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    position: relative;
}

.item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gray-light);
}

.item-card.found {
    border-left: 4px solid var(--danger);
    background: linear-gradient(135deg, #FDF2F2 0%, #FFFFFF 100%);
}

.item-card.lost {
    border-left: 4px solid var(--danger);
    background: linear-gradient(135deg, #FDF2F2 0%, #FFFFFF 100%);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.item-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.item-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.status-found {
    background: #FADBD8;
    color: var(--danger);
}

.status-lost {
    background: #FADBD8;
    color: var(--danger);
}

.item-status i {
    font-size: 12px;
}

.item-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.item-meta {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--cream);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    line-height: 1.6;
}

.item-meta strong {
    color: var(--text-dark);
    font-weight: 500;
}

.item-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.item-actions button {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .nav-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        margin-bottom: 20px;
    }

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

    .nav-tab {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
        min-width: 120px;
    }

    .items-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .item-card {
        padding: 16px;
    }

    .item-name {
        font-size: 16px;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .item-status {
        align-self: flex-start;
    }

    .item-actions {
        flex-direction: column;
        gap: 8px;
    }
}